/* Silver navigation and video library, shared with the static preview. */
:root { --ql-header-height: 98px; --ql-header-top: 0px; --ql-video-teal: #087486; }
html { scroll-padding-top: calc(var(--ql-header-height) + 20px); }
body .ql-header,
body:has(.ql-home) .ql-header {
  position: sticky; top: var(--ql-header-top); z-index: 50; left: auto; right: auto;
  padding-block: 17px; background: #fff; color: #303a3e;
  border-bottom: 1px solid #d5dcde; transition: background .22s, box-shadow .22s;
}
body:has(.ql-home) .ql-header {
  margin-bottom: calc(-1 * var(--ql-header-height));
  background: linear-gradient(110deg, rgba(242,245,246,.95), rgba(212,222,226,.88));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
body .ql-header:hover, body .ql-header:focus-within,
body .ql-header.is-scrolled, body .ql-header.is-menu-open,
body:has(.ql-home) .ql-header:hover, body:has(.ql-home) .ql-header:focus-within,
body:has(.ql-home) .ql-header.is-scrolled, body:has(.ql-home) .ql-header.is-menu-open {
  background: #fff; box-shadow: 0 3px 18px rgb(25 43 50 / .07);
}
body .ql-header .ql-brand-name, body:has(.ql-home) .ql-header .ql-brand-name,
.ql-header .wp-block-site-title a { color: #2f393e; }
.ql-header .ql-brand-sub { color: #53646c; font-size: 12px; }
.ql-header .ql-brand-mark { background: #a8c3c7; color: #23363f; }
.ql-header .ql-wrap { max-width: 1440px; padding-inline: 40px; }
.ql-header-inner { gap: 28px; }
.ql-header .ql-nav { gap: 24px; color: #354249; }
.ql-header .ql-nav a:hover, .ql-header .ql-wp-nav a:hover { color: #087486; }
.ql-header .ql-nav a[aria-current="page"] { color: #086c7a; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.ql-header .ql-nav .ql-nav-cta { background: transparent; color: #303d43; border: 1px solid #a7b5bb; padding: 11px 17px; }
.ql-header .ql-nav .ql-nav-cta:hover { background: #eef4f5; color: #075d69; border-color: #527b84; }
.ql-header .ql-mobile-toggle { background: #fff; color: #303d43; border: 1px solid #b9c5c9; min-height: 44px; }
.ql-social-links { display: flex; align-items: center; gap: 8px; margin: 0; }
.ql-nav .ql-social-links { border-left: 1px solid #cbd4d7; padding-left: 20px; }
.ql-social-link { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 36px; height: 36px; min-width: 36px; border-radius: 50%; text-decoration: none; background: #e7edee; color: #51666e; }
.ql-social-link svg { display: block; width: 20px; height: 20px; fill: currentColor; }
a.ql-social-link[data-social="line"] { color: #fff; background: #06a941; }
a.ql-social-link[data-social="facebook"] { color: #fff; background: #1877f2; }
a.ql-social-link[data-social="youtube"] { color: #fff; background: #e62117; }
.ql-header .ql-nav a.ql-social-link:hover { color: #fff; filter: brightness(.9); }
.ql-social-link[aria-disabled="true"] { cursor: default; }
.ql-social-link::after { content: attr(data-tooltip); position: absolute; z-index: 60; right: 0; top: calc(100% + 10px); width: max-content; max-width: 230px; padding: 6px 10px; font-size: 12px; font-weight: 400; color: #fff; background: #303d43; border-radius: 3px; opacity: 0; pointer-events: none; transform: translateY(-3px); transition: opacity .15s, transform .15s; }
.ql-social-link:hover::after, .ql-social-link:focus-visible::after { opacity: 1; transform: none; }
.ql-social-link:focus-visible { outline: 2px solid #087486; outline-offset: 3px; }
.wp-site-blocks>header { position: sticky; top: var(--ql-header-top); z-index: 50; }
body:has(.ql-home) .wp-site-blocks>header { margin-bottom: calc(-1 * var(--ql-header-height)); }
body .wp-site-blocks>header .ql-header, body:has(.ql-home) .wp-site-blocks>header .ql-header { position: relative; top: 0; margin-bottom: 0; }
.ql-header .ql-wp-nav { color: #354249; margin-left: auto; }
.ql-header .ql-header-actions { display: flex; align-items: center; gap: 22px; }
.ql-header .ql-header-actions .ql-social-links { border-left: 1px solid #cbd4d7; padding-left: 18px; }
.ql-header .wp-block-navigation__responsive-container.is-menu-open { color: #303d43; background: #fff; padding: 28px; }
.ql-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; padding-top: 60px; }
body.admin-bar { --ql-header-top: 32px; }
.ql-video-page { background: #fff; }
.ql-video-intro { padding-top: 56px; padding-bottom: 36px; }
.ql-video-intro .ql-kicker { color: #607980; font: 600 14px/1.5 Arial,sans-serif; letter-spacing: .16em; margin-bottom: 12px; }
.ql-video-intro h1 { font-size: clamp(38px,4.2vw,58px); line-height: 1.35; letter-spacing: -.025em; }
.ql-video-intro p:last-child { font-size: 17px; color: #5d6d73; margin-top: 13px; }
.ql-featured-videos { padding: 34px 0 44px; color: #fff; background: linear-gradient(118deg,#0e6271,#087b8a); }
.ql-video-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.ql-video-section-heading h2 { font-size: 24px; font-weight: 600; line-height: 1.5; }
.ql-video-section-heading p { font: 12px/1.5 Arial,sans-serif; letter-spacing: .14em; opacity: .8; }
.ql-featured-grid, .ql-machining-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.ql-featured-card { position: relative; display: block; width: 100%; padding: 0; border: 0; color: #fff; background: #283439; border-radius: 7px; overflow: hidden; text-align: left; aspect-ratio: 1.42; box-shadow: 0 8px 20px rgb(4 33 43 / .12); }
.ql-featured-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ql-featured-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgb(10 22 30 / .08) 0%,rgb(10 22 30 / .18) 34%,rgb(10 22 30 / .86) 100%); transition: opacity .2s; }
.ql-featured-card:hover img { transform: scale(1.035); }
.ql-play-circle { display: grid; place-items: center; position: absolute; z-index: 2; left: 50%; top: 40%; transform: translate(-50%,-50%); width: 58px; height: 58px; border: 1px solid rgb(255 255 255 / .65); background: rgb(17 34 42 / .4); border-radius: 50%; backdrop-filter: blur(3px); }
.ql-play-circle svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.ql-featured-card:hover .ql-play-circle { background: #fff; color: #087486; }
.ql-featured-caption { position: absolute; z-index: 2; bottom: 18px; left: 18px; right: 15px; display: grid; gap: 4px; }
.ql-featured-caption strong { font: 700 17px/1.4 Arial,sans-serif; letter-spacing: .01em; }
.ql-featured-caption span { font-size: 14px; line-height: 1.5; color: #e6eff1; }
.ql-machining-videos { padding-top: 48px; padding-bottom: 80px; }
.ql-machining-videos .ql-video-section-heading { margin-bottom: 28px; }
.ql-machining-videos .ql-video-section-heading p { color: #4c686f; opacity: 1; }
.ql-machining-grid { gap: 26px 22px; }
.ql-machining-card { background: #fff; border: 1px solid #d8dfe1; min-width: 0; display: flex; flex-direction: column; }
.ql-machining-card-top { padding: 19px 19px 20px; }
.ql-video-series { display: inline-block; padding: 3px 9px; border: 1px solid #a7d2d8; color: #086e7c; font: 12px/1.8 Arial,sans-serif; margin-bottom: 10px; }
.ql-machining-card h3 { font: 700 19px/1.4 Arial,sans-serif; color: #25343c; margin-bottom: 3px; }
.ql-video-model { font-size: 14px; color: #586a72; line-height: 1.5; margin-bottom: 14px; min-height: 21px; }
.ql-video-thumbnail { display: block; position: relative; width: 100%; padding: 0; background: #eaf0f1; border: 0; aspect-ratio: 16/9; overflow: hidden; }
.ql-video-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.ql-video-thumbnail:hover img { transform: scale(1.04); }
.ql-video-thumbnail .ql-play-circle { top: 50%; width: 39px; height: 39px; color: #fff; background: rgb(15 33 41 / .6); }
.ql-video-thumbnail .ql-play-circle svg { width: 15px; height: 15px; }
.ql-machining-card-links { display: grid; align-content: start; gap: 2px; background: #f5f7f7; border-top: 1px solid #e3e8ea; padding: 13px 15px; flex: 1; min-height: 81px; }
.ql-video-link { display: flex; align-items: center; gap: 8px; padding: 7px 3px; border: 0; background: transparent; color: #485d66; text-align: left; font-size: 14px; line-height: 1.55; }
.ql-video-link svg { width: 16px; height: 16px; flex-shrink: 0; fill: #83979d; }
.ql-video-link:hover, .ql-video-link:hover svg { color: #086e7c; fill: #086e7c; }
.ql-video-credit { color: #647780; margin-top: 30px; font-size: 14px; line-height: 1.8; }
.ql-video-credit a:hover { color: #087486; }
.ql-video-dialog { width: min(1000px,calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; color: #293c45; background: #fff; border: 0; border-radius: 6px; overflow: auto; box-shadow: 0 24px 100px rgb(0 0 0 / .4); }
.ql-video-dialog::backdrop { background: rgb(7 19 25 / .82); backdrop-filter: blur(5px); }
.ql-video-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 24px; }
.ql-video-eyebrow { font-size: 12px; letter-spacing: .08em; color: #677f88; margin: 0 0 5px; }
.ql-video-dialog h2 { font-size: 22px; line-height: 1.4; margin: 0; }
.ql-video-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; font: 32px/1 Arial,sans-serif; border: 1px solid #d7dfe3; background: #fff; color: #344a54; border-radius: 50%; }
.ql-video-close:hover { background: #edf3f4; }
.ql-player { width: 100%; aspect-ratio: 16/9; background: #091317; }
.ql-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.ql-video-dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 24px; font-size: 14px; line-height: 1.7; color: #587079; }
.ql-video-dialog-bottom p { margin: 0; }
.ql-video-external { flex-shrink: 0; color: #086e7c; text-decoration: none; padding-block: 4px; }
.ql-video-external:hover { text-decoration: underline; }
.ql-video-page .ql-wrap { max-width: 1440px; padding-inline: 40px; }
.wp-site-blocks .ql-video-page { margin-top: 0; max-width: none; }
@media(max-width:1200px) {
  .ql-header .ql-wrap { padding-inline: 28px; }
  .ql-header .ql-nav { gap: 17px; }
  .ql-nav .ql-social-links { padding-left: 14px; gap: 5px; }
  .ql-brand-name { font-size: 18px; }
  .ql-featured-grid,.ql-machining-grid { gap: 18px; }
  .ql-featured-caption { left: 15px; right: 12px; bottom: 14px; }
  .ql-featured-caption strong { font-size: 15px; }
  .ql-featured-caption span { font-size: 14px; }
}
@media(max-width:1100px) {
  .ql-header-inner { flex-wrap: wrap; gap: 16px; }
  .ql-header .ql-mobile-toggle { display: block; }
  .ql-header .ql-nav { display: none; width: 100%; padding-top: 16px; gap: 10px; border-top: 1px solid #d4dfe1; max-height: calc(100dvh - 140px); overflow-y: auto; }
  .ql-header .ql-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .ql-header .ql-nav>a { display: block; padding: 10px 12px; min-height: 44px; }
  .ql-header .ql-nav .ql-nav-cta { text-align: center; margin-top: 2px; }
  .ql-nav .ql-social-links { border: 0; padding: 13px 0 3px; gap: 15px; }
  .ql-social-link { width: 44px; height: 44px; min-width: 44px; }
  .ql-social-link::after { left: 0; right: auto; }
  .ql-header .ql-wp-nav .wp-block-navigation__responsive-container-open { display: flex; }
  .ql-header .ql-wp-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .ql-header .ql-header-actions { gap: 15px; }
}
@media(max-width:1000px) {
  .ql-featured-grid,.ql-machining-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .ql-featured-card { aspect-ratio: 1.8; }
  .ql-featured-caption strong { font-size: 19px; }
  .ql-featured-caption { left: 22px; bottom: 20px; }
}
@media(max-width:782px) {
  body.admin-bar { --ql-header-top: 46px; }
  body .ql-header,body:has(.ql-home) .ql-header { padding-block: 14px; }
  .ql-header .ql-wrap { padding-inline: 22px; }
  .ql-header .ql-brand-name { font-size: 17px; letter-spacing: .015em; }
  .ql-video-page .ql-wrap { padding-inline: 22px; }
  .ql-video-intro { padding-top: 34px; padding-bottom: 27px; }
  .ql-video-intro h1 { font-size: 38px; }
  .ql-video-intro p:last-child { font-size: 16px; }
  .ql-video-section-heading { gap: 12px; }
  .ql-video-section-heading h2 { font-size: 22px; }
  .ql-video-section-heading p { display: none; }
  .ql-featured-videos { padding-top: 27px; padding-bottom: 30px; }
  .ql-machining-videos { padding-top: 33px; padding-bottom: 50px; }
  .ql-featured-grid,.ql-machining-grid { gap: 18px; }
  .ql-featured-card { aspect-ratio: 1.5; }
  .ql-featured-caption { left: 14px; bottom: 14px; }
  .ql-featured-caption strong { font-size: 16px; }
  .ql-featured-caption span { font-size: 14px; }
  .ql-play-circle { width: 49px; height: 49px; }
  .ql-video-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .ql-video-dialog-top { padding: 15px; }
  .ql-video-dialog h2 { font-size: 18px; }
  .ql-video-dialog-bottom { padding: 15px; flex-wrap: wrap; gap: 6px; }
  .ql-video-eyebrow { font-size: 12px; letter-spacing: .025em; }
}
@media(max-width:600px) {
  .ql-featured-grid,.ql-machining-grid { grid-template-columns: 1fr; }
  .ql-featured-card { aspect-ratio: 1.75; }
  .ql-featured-caption { left: 22px; bottom: 21px; }
  .ql-featured-caption strong { font-size: 20px; }
  .ql-featured-caption span { font-size: 15px; }
  .ql-play-circle { width: 58px; height: 58px; }
  .ql-machining-card-top { padding: 20px; }
  .ql-machining-card-links { min-height: 64px; padding: 12px 18px; }
  .ql-video-link { min-height: 44px; }
  .ql-header .ql-header-actions { gap: 10px; }
  .ql-header .ql-header-actions .ql-social-links { padding-left: 0; border: 0; gap: 7px; }
  .ql-header .ql-header-actions .ql-social-link { width: 32px; height: 36px; min-width: 32px; }
  body.admin-bar { --ql-header-top: 0px; }
}
@media(max-width:370px) {
  .ql-header .ql-wrap { padding-inline: 14px; }
  .ql-header .ql-brand-name { font-size: 16px; }
  .ql-header .ql-brand-sub { font-size: 12px; letter-spacing: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .ql-header,.ql-social-link::after,.ql-featured-card img,.ql-video-thumbnail img { transition: none; }
}

/* Traditional Chinese product, video and catalog resource pages. */
.ql-resource-page { background: #fff; padding: 0 0 76px; }
.ql-resource-page .ql-wrap { max-width: 1440px; padding-inline: 40px; }
.ql-resource-intro { padding: 54px 0 36px; border-bottom: 1px solid #dfe5e7; margin-bottom: 34px; }
.ql-resource-intro .ql-kicker { color: #607980; margin-bottom: 12px; }
.ql-resource-intro h1 { font-size: clamp(38px,4.2vw,58px); line-height: 1.35; letter-spacing: -.025em; }
.ql-resource-intro p:last-child { color: #5d6d73; margin-top: 13px; font-size: 17px; }
.ql-resource-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ql-resource-heading h2 { font-size: 25px; font-weight: 600; line-height: 1.4; }
.ql-resource-heading p { color: #63777e; font-size: 14px; }
.ql-resource-label { color: #536f78; font-size: 12px; letter-spacing: .045em; margin: 0 0 10px; }
.ql-resource-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; color: #fff; background: #34494f; border: 1px solid #34494f; font-size: 14px; line-height: 1.55; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.ql-resource-button:hover { color: #fff; background: #126674; border-color: #126674; }
.ql-resource-button-light { background: #fff; color: #354e57; border-color: #bac9ce; }
.ql-resource-button-light:hover { background: #eaf2f3; color: #075d69; border-color: #77949c; }
.ql-catalog-section { margin-bottom: 48px; }
.ql-catalog-meta { color: #5a6b73; font-size: 13px; margin: 13px 0 0; }
.ql-catalog-source { color: #5e7078; font-size: 14px; line-height: 1.8; margin: 22px 0 0; }
.ql-catalog-source a { text-underline-offset: 3px; }
.ql-dl-catalog-section { margin-top: 50px; padding-top: 36px; border-top: 1px solid #dce4e7; }
.ql-dl-catalog-card { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 32px; align-items: center; padding: 30px; background: #f3f5f5; border: 1px solid #dce3e5; }
.ql-dl-catalog-cover { display: block; width: 100%; }
.ql-dl-catalog-cover img { display: block; width: 100%; height: auto; box-shadow: 4px 5px 12px rgb(24 36 42 / .15); }
.ql-dl-catalog-copy h2, .ql-dl-catalog-copy h3 { font-size: 25px; line-height: 1.5; margin: 0 0 12px; }
.ql-dl-catalog-copy>p:not(.ql-resource-label) { font-size: 15px; color: #61747c; line-height: 1.8; }
.ql-dl-catalog-copy .ql-catalog-meta { font-size: 14px; margin-top: 8px; }
.ql-resource-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ql-dl-page-wrap .ql-dl-catalog-card { background: #fff; }
.ql-library-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: start; }
.ql-library-card { display: grid; grid-template-columns: minmax(0,34%) minmax(0,1fr); gap: 19px; padding: 22px 18px; border: 1px solid #dce3e6; background: #fff; min-width: 0; }
.ql-library-cover { display: block; background: #f4f6f6; align-self: start; }
.ql-library-cover img { display: block; width: 100%; height: auto; aspect-ratio: 5/7; object-fit: contain; box-shadow: 2px 4px 8px rgb(21 39 45 / .12); transition: transform .2s; }
.ql-library-cover:hover img { transform: translateY(-3px); }
.ql-library-copy { min-width: 0; }
.ql-library-copy .ql-resource-label { margin-bottom: 7px; font-size: 12px; }
.ql-library-copy h3 { font-size: 19px; line-height: 1.5; font-weight: 600; margin: 0 0 9px; overflow-wrap: anywhere; }
.ql-library-description { color: #67777e; font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.ql-library-copy .ql-resource-button { padding: 8px 10px; font-size: 13px; width: 100%; }
.ql-catalog-chapters { font-size: 13px; margin-top: 8px; color: #4f666f; }
.ql-catalog-chapters summary { cursor: pointer; padding: 11px 0; min-height: 40px; }
.ql-catalog-chapters summary:hover { color: #087486; }
.ql-catalog-chapters>div { display: grid; border-top: 1px solid #e1e8ea; }
.ql-catalog-chapters a { display: block; padding: 9px 0; text-decoration: none; border-bottom: 1px solid #edf1f2; line-height: 1.55; }
.ql-catalog-chapters a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ql-guide-source-note { color: #61737b; font-size: 14px; margin: -8px 0 32px; }
.ql-guide-section { margin-bottom: 44px; }
.ql-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.ql-guide-card { display: flex; flex-direction: column; border: 1px solid #dae2e5; background: #fff; min-width: 0; }
.ql-guide-image { position: relative; aspect-ratio: 3.1; overflow: hidden; background: #49616b; }
.ql-guide-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgb(6 28 38 / .62),rgb(6 28 38 / .12)); }
.ql-guide-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ql-guide-image h3 { position: absolute; left: 22px; right: 18px; bottom: 20px; z-index: 1; font-size: 24px; line-height: 1.4; font-weight: 600; color: #fff; margin: 0; text-shadow: 0 1px 8px rgb(0 0 0 / .3); }
.ql-guide-links { list-style: none; padding: 14px 22px; margin: 0; flex: 1; }
.ql-guide-links li { margin: 0; }
.ql-guide-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 15px; color: #415860; text-decoration: none; }
.ql-guide-links a:hover { color: #087486; text-decoration: underline; text-underline-offset: 4px; }
.ql-guide-links a span { color: #8ca0a8; }
.ql-guide-video { color: #205d6a; background: #f2f6f7; border-top: 1px solid #dfe8ea; text-decoration: none; padding: 15px 22px; font-size: 14px; }
.ql-guide-video:hover { color: #07505b; background: #e7f0f2; }
.ql-guide-dl { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px; background: #f0f3f4; border: 1px solid #dce4e7; }
.ql-guide-dl h2 { font-size: 26px; margin: 0 0 9px; }
.ql-guide-dl p:last-child { color: #61757d; font-size: 15px; }
.ql-guide-dl .ql-resource-button { flex-shrink: 0; }
.ql-video-filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 21px 0; border-top: 1px solid #dde5e8; border-bottom: 1px solid #dde5e8; }
.ql-process-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ql-process-filters button { font: inherit; font-size: 14px; min-height: 44px; padding: 10px 16px; border: 1px solid #c9d6db; background: #fff; color: #40565f; border-radius: 2px; cursor: pointer; }
.ql-process-filters button:hover { background: #edf3f5; }
.ql-process-filters button.is-active { background: #344e58; border-color: #344e58; color: #fff; }
.ql-series-filter { display: flex; align-items: center; gap: 12px; color: #516972; font-size: 14px; }
.ql-series-filter select { width: 165px; min-height: 44px; padding: 9px 28px 9px 12px; font: inherit; background: #fff; color: #334e58; border: 1px solid #c5d4d9; border-radius: 2px; }
.ql-result-count { font-size: 14px; color: #71858d; margin: 18px 0; }
.ql-video-empty { padding: 30px; color: #4f6872; background: #f0f5f6; }
[data-video-card][hidden], #video-empty[hidden] { display: none !important; }
.ql-machining-card-top { display: flex; flex-direction: column; flex: 1; }
.ql-machining-card h3 { overflow-wrap: anywhere; }
.ql-machining-card .ql-video-thumbnail { margin-top: auto; }
.ql-video-thumbnail { aspect-ratio: 2.8; }
.ql-machining-card .ql-video-series { align-self: flex-start; }
.ql-machining-card-links { flex: 0; min-height: 67px; }
.ql-video-link, .ql-featured-card { text-decoration: none; }
.ql-featured-card:hover { color: #fff; }
.ql-resource-page a:focus-visible, .ql-video-page a:focus-visible,
.ql-video-page button:focus-visible, .ql-video-page select:focus-visible {
  outline: 2px solid #087486; outline-offset: 3px;
}
.ql-resource-page, .ql-video-page { overflow-wrap: break-word; }
.ql-header .ql-brand-sub { letter-spacing: .06em; }
@media(max-width:1200px) {
  .ql-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ql-guide-image h3 { font-size: 22px; bottom: 16px; left: 18px; }
}
@media(max-width:900px) {
  .ql-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:782px) {
  .ql-resource-page .ql-wrap { padding-inline: 22px; }
  .ql-resource-intro { padding-top: 34px; padding-bottom: 28px; margin-bottom: 28px; }
  .ql-resource-intro p:last-child { font-size: 16px; }
  .ql-resource-heading { align-items: flex-start; flex-wrap: wrap; gap: 5px; }
  .ql-resource-heading h2 { font-size: 23px; }
  .ql-library-grid { grid-template-columns: 1fr; gap: 16px; }
  .ql-library-card { grid-template-columns: 120px minmax(0,1fr); padding: 22px; gap: 24px; }
  .ql-library-copy .ql-resource-button { width: auto; padding-inline: 16px; }
  .ql-catalog-chapters { max-width: 250px; }
  .ql-guide-dl { padding: 24px; }
  .ql-resource-page { padding-bottom: 48px; }
  .ql-catalog-section { margin-bottom: 36px; }
}
@media(max-width:600px) {
  .ql-dl-catalog-card { grid-template-columns: 90px minmax(0,1fr); gap: 20px; padding: 20px; align-items: start; }
  .ql-dl-catalog-copy h2, .ql-dl-catalog-copy h3 { font-size: 20px; }
  .ql-resource-actions { gap: 8px; margin-top: 16px; }
  .ql-resource-actions .ql-resource-button { padding-inline: 12px; }
  .ql-guide-grid { grid-template-columns: 1fr; gap: 20px; }
  .ql-guide-image h3 { font-size: 24px; bottom: 20px; left: 22px; }
  .ql-library-card { grid-template-columns: 98px minmax(0,1fr); padding: 18px 15px; gap: 17px; }
  .ql-library-copy h3 { font-size: 18px; }
  .ql-guide-dl { align-items: flex-start; flex-direction: column; }
  .ql-video-filters { align-items: stretch; flex-direction: column; }
  .ql-process-filters { gap: 7px; }
  .ql-process-filters button { padding: 9px 13px; }
  .ql-series-filter { justify-content: space-between; }
  .ql-series-filter select { width: min(65%,240px); }
  .ql-result-count { margin: 16px 0; }
}
@media(prefers-reduced-motion:reduce) {
  .ql-library-cover img, .ql-resource-button { transition: none; }
}

/* 0.8 shared resource palette: lighter silver navigation, TT blue and DL red. */
:root { --ql-video-teal: #245f86; }
body .ql-header,
body:has(.ql-home) .ql-header {
  background: linear-gradient(110deg, rgba(241,245,247,.97), rgba(218,226,231,.94));
  color: #20272c;
  border-bottom-color: #cbd4d9;
}
body .ql-header:hover, body .ql-header:focus-within,
body .ql-header.is-scrolled, body .ql-header.is-menu-open,
body:has(.ql-home) .ql-header:hover, body:has(.ql-home) .ql-header:focus-within,
body:has(.ql-home) .ql-header.is-scrolled, body:has(.ql-home) .ql-header.is-menu-open {
  background: #fff;
  box-shadow: 0 3px 18px rgb(25 43 50 / .10);
}
.ql-header .ql-brand-name, body:has(.ql-home) .ql-header .ql-brand-name,
.ql-header .wp-block-site-title a { color: #20272c; }
.ql-header .ql-brand-sub { color: #5d6e79; }
.ql-header .ql-brand-mark { background: #b8c9d2; color: #20272c; }
.ql-header .ql-nav, .ql-header .ql-wp-nav { color: #26343c; }
.ql-header .ql-nav a:hover, .ql-header .ql-wp-nav a:hover,
.ql-header .ql-nav a[aria-current="page"] { color: #245f86; }
.ql-header .ql-nav .ql-nav-cta { color: #20272c; border-color: #aebdc6; background: rgba(255,255,255,.54); }
.ql-header .ql-nav .ql-nav-cta:hover { color: #fff; background: #245f86; border-color: #245f86; }
.ql-header .ql-mobile-toggle { color: #20272c; background: #fff; border-color: #aebdc6; }
.ql-social-link { background: #e4ebef; color: #52636d; }
.ql-social-link[aria-disabled="true"] { background: #e0e5e8; color: #7d8b93; }
.ql-social-link:focus-visible { outline-color: #245f86; }
.ql-video-page { background: #fff; }
.ql-video-intro .ql-kicker, .ql-resource-intro .ql-kicker { color: #245f86; }
.ql-video-intro h1, .ql-resource-intro h1 { color: #245f86; }
.ql-video-intro p:last-child, .ql-resource-intro p:last-child { color: #64727a; }
.ql-featured-videos { background: linear-gradient(118deg,#20272c,#3d4d58); }
.ql-featured-card:hover .ql-play-circle { color: #245f86; }
.ql-video-series { border-color: #a9c3d2; color: #245f86; }
.ql-video-link:hover, .ql-video-link:hover svg, .ql-video-credit a:hover { color: #245f86; fill: #245f86; }
.ql-video-external, .ql-guide-links a:hover, .ql-guide-video { color: #245f86; }
.ql-guide-video { background: #f3f7fa; border-top-color: #d7e2e8; }
.ql-guide-video:hover { color: #173f5b; background: #e8f1f6; }
.ql-resource-button { background: #173f5b; border-color: #173f5b; }
.ql-resource-button:hover { background: #245f86; border-color: #245f86; }
.ql-resource-button-light { color: #245f86; border-color: #b7c8d2; }
.ql-resource-button-light:hover { background: #edf3f7; color: #173f5b; border-color: #7d9bb0; }
.ql-resource-page .ql-resource-heading h2 { color: #245f86; }
.ql-process-filters button.is-active { background: #173f5b; border-color: #173f5b; }
.ql-dl-catalog-section { border-top-color: #e0b3b7; }
.ql-dl-catalog-section .ql-resource-heading h2 { color: #b32631; }
.ql-dl-catalog-card, .ql-dl-page-wrap .ql-dl-catalog-card { background: #fff4f4; border-color: #e2a7ab; }
.ql-dl-catalog-copy .ql-resource-label { color: #b32631; }
.ql-dl-catalog-copy .ql-resource-button { background: #b32631; border-color: #b32631; }
.ql-dl-catalog-copy .ql-resource-button:hover { background: #8d1b25; border-color: #8d1b25; }
.ql-guide-dl { background: #fff4f4; border-color: #e2a7ab; }
.ql-guide-dl .ql-kicker, .ql-guide-dl h2 { color: #b32631; }
.ql-guide-dl .ql-resource-button { background: #b32631; border-color: #b32631; }
.ql-guide-dl .ql-resource-button:hover { background: #8d1b25; border-color: #8d1b25; }
.ql-catalog-chapters summary:hover { color: #245f86; }
.ql-resource-page a:focus-visible, .ql-video-page a:focus-visible,
.ql-video-page button:focus-visible, .ql-video-page select:focus-visible { outline-color: #245f86; }
/* latest requested contrast */
.ql-library-copy .ql-resource-button, .ql-library-copy .ql-resource-button-light { color:#fff; background:#245f86; border-color:#245f86; }
.ql-library-copy .ql-resource-button:hover, .ql-library-copy .ql-resource-button-light:hover { color:#fff; background:#173f5b; border-color:#173f5b; }
.ql-dl-catalog-card, .ql-dl-page-wrap .ql-dl-catalog-card { background:#fff7f7; border-color:#e6b4b8; }
.ql-dl-catalog-copy h2, .ql-dl-catalog-copy h3, .ql-dl-catalog-copy>p:not(.ql-resource-label), .ql-dl-catalog-copy .ql-catalog-meta { color:#20272c; }
.ql-dl-catalog-copy .ql-resource-label { color:#c94a55; }
.ql-dl-catalog-copy .ql-resource-button, .ql-dl-catalog-copy .ql-resource-button-light { background:#c94a55; border-color:#c94a55; color:#fff; }
.ql-dl-catalog-copy .ql-resource-button:hover, .ql-dl-catalog-copy .ql-resource-button-light:hover { background:#a92f3b; border-color:#a92f3b; color:#fff; }

/* 0.9 current refinement: clean white information pages and a stronger company wordmark. */
body,
.ql-info-page,
.ql-product-page,
body:has(.ql-info-page),
body:has(.ql-product-page) {
  background: #fff;
}
.ql-header .ql-brand-name,
.ql-header .wp-block-site-title a {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.35;
  color: #1d252b;
}
.ql-header .ql-brand-sub {
  font-family: Arial, "Noto Sans TC", sans-serif;
  color: #5b6b75;
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.5;
}
.ql-header .ql-brand-mark {
  background: #d6e0e5;
  color: #1d252b;
  border: 1px solid #aebdc6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 2px 8px rgba(29,37,43,.08);
}
.ql-contact-page-wrap {
  background: #fff;
}
.ql-contact-page-wrap .ql-contact-detail-card {
  background: #fff;
}

/* 1.0 header lockup: TaeguTec wordmark without the round emblem or Member line. */
.ql-header .ql-brand {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.ql-header .ql-brand-wordmark {
  display: block;
  width: clamp(180px, 18vw, 240px);
  height: auto;
  max-height: none;
  flex: 0 0 auto;
  object-fit: contain;
}
.ql-header .ql-company-lockup {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}
.ql-header .ql-company-name {
  display: block;
  color: #101417;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.35;
  white-space: nowrap;
}
.ql-header .ql-company-sub {
  display: block;
  color: #101417;
  font-family: Arial, "Noto Sans TC", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.45;
  margin-top: 2px;
}
.ql-header .ql-brand-mark,
.ql-header .ql-brand-sub,
.ql-header .wp-block-site-title {
  display: none;
}
/* A black wordmark needs a light header even over the homepage hero. */
body:has(.ql-home) .ql-header {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: #d7dfe3;
}
body:has(.ql-home) .ql-header .ql-nav,
body:has(.ql-home) .ql-header .ql-wp-nav {
  color: #20272c;
}
body:has(.ql-home) .ql-header .ql-nav .ql-nav-cta {
  color: #20272c;
  border-color: #aebdc6;
  background: transparent;
}
body:has(.ql-home) .ql-header .ql-nav .ql-nav-cta:hover {
  color: #fff;
  background: #245f86;
  border-color: #245f86;
}
@media (max-width: 920px) {
  .ql-header .ql-brand-wordmark { width: 158px; }
  .ql-header .ql-company-name { font-size: 17px; }
}
@media (max-width: 600px) {
  .ql-header .ql-brand { gap: 10px; }
  .ql-header .ql-brand-wordmark { width: 132px; }
  .ql-header .ql-company-name { font-size: 15px; letter-spacing: .02em; }
  .ql-header .ql-company-sub { font-size: 10px; letter-spacing: .12em; }
}
