/* Shared design system for Littlebear interior pages and articles. Homepage has its own design. */
body:not(.home){--lb-ink:#172b4d;--lb-muted:#65758b;--lb-navy:#092d59;--lb-blue:#1766a6;--lb-sky:#eaf4fb;--lb-accent:#f2a93b;--lb-line:#e3e9ef;--lb-canvas:#f6f8fb;color:var(--lb-ink);background:var(--lb-canvas);font-family:system-ui,-apple-system,"Noto Sans TC","Microsoft JhengHei",sans-serif;line-height:1.72;-webkit-font-smoothing:antialiased}
body:not(.home) #site-header{position:relative;z-index:20;background:#fff;border:0;border-bottom:1px solid var(--lb-line);box-shadow:0 4px 18px rgba(9,45,89,.05)}
body:not(.home) #site-header-container.container{width:calc(100% - 40px)!important;max-width:1180px!important;min-height:78px;padding:0!important;margin:0 auto;display:flex;align-items:center}
body:not(.home) .site-header-logo{margin:0!important;padding:0!important;line-height:0}
body:not(.home) .site-header-logo img{display:block;width:174px!important;height:auto!important;max-width:100%}
body:not(.home) #global-nav{float:none!important;margin-left:auto}
body:not(.home) .global-nav-list{display:flex!important;align-items:center;gap:8px;margin:0;padding:0;border:0;list-style:none}
body:not(.home) .global-nav-list>li{display:block;float:none;margin:0;padding:0;border:0}
body:not(.home) .global-nav-list>li>a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 15px;color:var(--lb-ink);border:0;border-radius:999px;text-decoration:none!important;transition:background .18s,color .18s}
body:not(.home) .global-nav-list>li>a:hover{background:var(--lb-sky);color:var(--lb-blue)}
body:not(.home) .global-nav-name{font-size:14px;font-weight:750;line-height:1.25}
body:not(.home) .global-nav-description{font-size:10px;color:var(--lb-muted);line-height:1.2}
body:not(.home) .global-nav-list>li:first-child>a{background:var(--lb-navy);color:#fff;padding:11px 18px}
body:not(.home) .global-nav-list>li:first-child .global-nav-description{color:#d7e4f2}
body:not(.home) .global-nav-list>li:first-child>a:hover{background:var(--lb-blue);color:#fff}
body:not(.home) .page-header{margin:0;padding:34px 0;background:linear-gradient(112deg,#092d59 0%,#124a7d 62%,#1766a6 100%);border:0;color:#fff}
body:not(.home) .page-header-inner.container{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto;padding:0!important}
body:not(.home) .page-header-title{margin:0;color:#fff;font-size:clamp(26px,3vw,38px);font-weight:800;line-height:1.3;text-align:left;letter-spacing:-.02em;border:0;text-shadow:none}
body:not(.home) #breadcrumb{margin:0;padding:10px 0;background:#f6f8fb;border:0}
body:not(.home) #breadcrumb .container{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto;padding:0!important}
body:not(.home) .breadcrumb-list{margin:0;padding:0;color:var(--lb-muted);font-size:13px}
body:not(.home) .breadcrumb-list a{color:var(--lb-blue);text-decoration:none}
body:not(.home) .site-body{padding:22px 0 54px;background:var(--lb-canvas)}
body:not(.home) .site-body-container.container{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto;padding-left:0;padding-right:0}
body:not(.home) .entry:not(.vk_post){margin:0 0 28px;padding:clamp(20px,3vw,36px);background:#fff;border:1px solid var(--lb-line);border-radius:18px;box-shadow:0 8px 26px rgba(13,39,71,.055)}
body:not(.home) .entry-body{color:var(--lb-ink);font-size:16px;line-height:1.8;overflow-wrap:anywhere}
body:not(.home) .entry-body p{margin:0 0 1.1em}
body:not(.home) .entry-body h2,body:not(.home) .entry-body h3,body:not(.home) .entry-body h4{color:var(--lb-navy);font-weight:800;line-height:1.4;border:0;padding-bottom:.55em;background-image:linear-gradient(90deg,var(--lb-blue) 0 28%,var(--lb-line) 28% 100%);background-repeat:no-repeat;background-position:bottom;background-size:100% 2px}
body:not(.home) .entry-body h2{margin:1.7em 0 .8em;font-size:clamp(22px,2.5vw,28px)}
body:not(.home) .entry-body h3{margin:1.5em 0 .7em;font-size:clamp(19px,2vw,23px)}
body:not(.home) .entry-body h4{margin:1.3em 0 .6em;font-size:18px;background-image:none;padding-bottom:0}
body:not(.home) .entry-body a:not(.vk_button_link):not(.wp-block-button__link):not(.vk_post_btn){color:var(--lb-blue);text-underline-offset:3px}
body:not(.home) .entry-body img{max-width:100%;height:auto;border-radius:12px}
body:not(.home) .entry-body figure{margin:1.25em 0}
body:not(.home) .entry-body blockquote{margin:1.4em 0;padding:16px 20px;border-left:4px solid var(--lb-accent);border-radius:0 12px 12px 0;background:#f4f8fc;color:#344b65}
body:not(.home) .entry-body table{width:100%;border-collapse:collapse}
body:not(.home) .entry-body th,body:not(.home) .entry-body td{padding:10px 12px;border:1px solid var(--lb-line)}
body:not(.home) .entry-body th{background:#f1f6fb;color:var(--lb-navy);font-weight:750}
body:not(.home) .entry-body .vk_button_link,body:not(.home) .entry-body .wp-block-button__link,body:not(.home) .entry-body a.btn{border:0!important;border-radius:12px!important;background:var(--lb-blue)!important;color:#fff!important;box-shadow:0 6px 16px rgba(23,102,166,.18);text-decoration:none!important;transition:transform .18s,background .18s}
body:not(.home) .entry-body .vk_button_link:hover,body:not(.home) .entry-body .wp-block-button__link:hover,body:not(.home) .entry-body a.btn:hover{background:var(--lb-navy)!important;color:#fff!important;transform:translateY(-1px)}
body:not(.home) .entry-body .wp-block-columns{gap:24px}
body:not(.home) .entry-body .wp-block-image img,body:not(.home) .entry-body .wp-block-gallery img{object-fit:cover}
body:not(.home) .vk_post{display:grid!important;grid-template-columns:minmax(210px,38%) minmax(0,1fr);gap:22px;align-items:start;margin:0 0 20px;padding:16px;background:#fff;border:1px solid var(--lb-line);border-radius:18px;box-shadow:0 6px 20px rgba(13,39,71,.05);overflow:hidden}
body:not(.home) .vk_post_imgOuter{float:none!important;width:100%!important;height:auto!important;min-height:0;aspect-ratio:16/9;border:0;border-radius:12px;background-size:cover!important;background-position:center!important;overflow:hidden}
body:not(.home) .vk_post_imgOuter img{width:100%;height:100%;object-fit:cover;border-radius:12px}
body:not(.home) .vk_post_body{min-width:0;padding:2px 4px 0;display:flex;flex-direction:column}
body:not(.home) .vk_post_title{margin:0 0 10px;color:var(--lb-navy);font-size:20px;font-weight:800;line-height:1.45}
body:not(.home) .vk_post_title a{color:inherit;text-decoration:none}
body:not(.home) .vk_post_title a:hover{color:var(--lb-blue)}
body:not(.home) .vk_post_dates,body:not(.home) .vk_post_date{color:var(--lb-muted);font-size:13px}
body:not(.home) .vk_post_excerpt{color:#465a70;line-height:1.7}
body:not(.home) .vk_post_imgOuter_singleTermLabel{padding:5px 10px!important;border:0!important;border-radius:999px!important;background:var(--lb-navy)!important;color:#fff!important;font-size:11px!important;font-weight:700}
body:not(.home) .vk_post_btn{padding:9px 16px!important;border:0!important;border-radius:999px!important;background:var(--lb-blue)!important;color:#fff!important;text-decoration:none!important}
body:not(.home) ul.postList{margin:0;padding:0;list-style:none}
body:not(.home) .site-body .widget{margin-bottom:20px;padding:18px;background:#fff;border:1px solid var(--lb-line);border-radius:16px}
body:not(.home) .site-body .widget-title,body:not(.home) .site-body .widgettitle{color:var(--lb-navy);font-weight:800}
body:not(.home) .site-footer{margin-top:0;padding:0;background:#09284c!important;color:#d2e0ed;border:0}
body:not(.home) .site-footer a{color:#eaf3fa;text-decoration:none}
body:not(.home) .site-footer a:hover{color:var(--lb-accent)}
body:not(.home) .site-footer .footer-nav{margin:0;padding:26px 0 14px;background:transparent;border:0}
body:not(.home) .site-footer .footer-nav-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 24px;margin:0;padding:0;list-style:none;border:0}
body:not(.home) .site-footer .footer-nav-list>li{float:none;display:block;margin:0;padding:0;border:0}
body:not(.home) .site-footer .footer-nav-list>li+li{border:0}
body:not(.home) .site-footer .footer-nav-list>li>a{display:block;padding:12px 0;border:0;border-bottom:1px solid rgba(223,237,249,.12);color:#eaf3fa;font-size:14px;font-weight:650;line-height:1.5}
body:not(.home) .site-footer-content{padding:20px 0 24px;border-top:1px solid rgba(223,237,249,.18)}
body:not(.home) .site-footer-content .row{display:block;margin:0}
body:not(.home) .site-footer-content .row>[class*=col-]{width:100%;max-width:100%;padding:0}
body:not(.home) .site-footer .profile{display:flex;align-items:center;gap:18px}
body:not(.home) .site-footer .media_outer{float:none!important;width:160px!important;margin:0!important;flex:0 0 160px}
body:not(.home) .site-footer .profile_media{display:block;width:100%!important;height:auto!important;padding:8px;background:#fff;border-radius:12px;box-sizing:border-box}
body:not(.home) .site-footer .profile_text{margin:0;color:#fff;font-size:15px;line-height:1.7}
body:not(.home) .site-footer .site-footer-copyright{padding:16px 0 24px;border-top:1px solid rgba(223,237,249,.18);color:#aebfd1;font-size:12px;line-height:1.7}
body:not(.home) .site-footer .site-footer-copyright p{margin:0 0 4px}
body:not(.home) .site-footer .site-footer-copyright a{color:#d2e0ed}
body:not(.home) #vk-mobile-nav{background:var(--lb-navy);color:#fff}
body:not(.home) #vk-mobile-nav a{color:#fff;border-color:rgba(255,255,255,.14)}
@media(max-width:767px){
 body:not(.home) #site-header-container.container{width:calc(100% - 24px)!important;min-height:66px;padding:4px 0!important}
 body:not(.home) .site-header-logo img{width:132px!important}
 body:not(.home) #site-header-container>div[style*="justify-content: space-between"]{gap:8px!important}
 body:not(.home) #site-header-container>div[style*="justify-content: space-between"]>div:last-child{display:flex!important;flex:1;justify-content:flex-end;align-items:center;gap:5px!important;min-width:0}
 body:not(.home) #site-header-container>div[style*="justify-content: space-between"]>div:last-child>a{display:flex!important;align-items:center;justify-content:center;min-height:38px;padding:5px 6px!important;border:1px solid #dbe5ef!important;border-radius:10px!important;background:#f6f8fb!important;color:var(--lb-navy)!important;font-size:10px!important;line-height:1.2!important;text-align:center;text-decoration:none!important;white-space:pre-line;box-shadow:none!important}
 body:not(.home) #site-header-container>div[style*="justify-content: space-between"]>div:last-child>a[href*="lin.ee"]{background:var(--lb-navy)!important;border-color:var(--lb-navy)!important;color:#fff!important}
 body:not(.home) .page-header{padding:24px 0}
 body:not(.home) .page-header-inner.container,body:not(.home) #breadcrumb .container,body:not(.home) .site-body-container.container{width:calc(100% - 28px)!important}
 body:not(.home) .page-header-title{font-size:clamp(23px,6vw,30px);line-height:1.35}
 body:not(.home) .site-body{padding:16px 0 34px}
 body:not(.home) .entry:not(.vk_post){padding:18px 16px;border-radius:15px}
 body:not(.home) .entry-body{font-size:15px;line-height:1.75}
 body:not(.home) .vk_post{grid-template-columns:minmax(0,1fr);gap:13px;padding:12px;border-radius:15px}
 body:not(.home) .vk_post_imgOuter{aspect-ratio:16/9}
 body:not(.home) .vk_post_title{font-size:18px}
 body:not(.home) .site-footer .footer-nav{padding:20px 0 10px}
 body:not(.home) .site-footer .footer-nav-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px}
 body:not(.home) .site-footer .footer-nav-list>li>a{padding:10px 0;font-size:13px}
 body:not(.home) .site-footer-content{padding:18px 0}
 body:not(.home) .site-footer .profile{align-items:flex-start;gap:14px}
 body:not(.home) .site-footer .media_outer{width:136px!important;flex-basis:136px}
 body:not(.home) .site-footer .profile_text{font-size:13px}
}
@media(max-width:360px){
 body:not(.home) .site-header-logo img{width:112px!important}
 body:not(.home) #site-header-container>div[style*="justify-content: space-between"]>div:last-child{gap:3px!important}
 body:not(.home) #site-header-container>div[style*="justify-content: space-between"]>div:last-child>a{padding:4px 5px!important;font-size:9px!important}
 body:not(.home) .site-footer .profile{flex-direction:column}
}

/* Keep the company profile transparent on the dark footer. */
body:not(.home) .site-footer .widget{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important}

@media(max-width:760px){body:not(.home) .site-footer .profile{flex-direction:column!important;align-items:flex-start!important}body:not(.home) .site-footer .profile_text{width:100%!important;max-width:100%;box-sizing:border-box}}
