/*
Theme Name: WubenSoft Blocksy Child
Theme URI: https://wubensoft.com/
Description: 无本软件站的 Blocksy 子主题，负责站点视觉与页面布局。
Author: WubenSoft
Template: blocksy
Version: 0.4.25
Text Domain: wubensoft
*/

:root {
	--ws-navy: #061d47;
	--ws-navy-2: #0d2c64;
	--ws-blue: #1264ee;
	--ws-blue-soft: #edf4ff;
	--ws-ink: #14233a;
	--ws-muted: #65748a;
	--ws-line: #e3eaf4;
	--ws-bg: #f6f9fd;
	--ws-white: #fff;
}

body.wubensoft-site { overflow-x: hidden; background: var(--ws-bg); color: var(--ws-ink); }
body.wubensoft-site .ct-header { --header-height: 62px !important; background: rgba(246, 249, 253, .94); border-bottom: 1px solid rgba(20, 35, 58, .08); }
body.wubensoft-site .ct-header [data-row="middle"] { --height: 62px !important; height: 62px !important; min-height: 62px; padding: 0; background: transparent; }
body.wubensoft-site .ct-header .ct-container { width: min(1160px, calc(100% - 48px)); }
body.wubensoft-site .ct-header .site-title { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
body.wubensoft-site .ct-header .ct-menu-link { padding: 0 10px; font-size: 14px; font-weight: 700; }
body.wubensoft-site .ct-header .ct-header-search { color: var(--ws-ink); }
body.wubensoft-site .ct-header-menu .page_item-2, body.wubensoft-site #header-menu-1 .page_item-2 { display: none; }
body.wubensoft-site.ws-hide-header-example .ct-header .page_item-2,
body.wubensoft-site.ws-hide-header-example .ct-header .menu-item-2,
body.wubensoft-site.ws-hide-header-example .ct-header .ct-header-text { display: none !important; }
body.wubensoft-site.ws-hide-header-search .ct-header .ct-header-search,
body.wubensoft-site.ws-hide-header-search .ct-header .ct-header-search-toggle,
body.wubensoft-site.ws-hide-header-search .ct-header [data-id="search"],
body.wubensoft-site.ws-hide-header-search .ct-header [data-id*="search"] { display: none !important; }
body.wubensoft-site .ct-header a,
body.wubensoft-site .ct-header .ct-header-text { color: var(--ws-ink); }

/* Every inner page keeps the same visual top area as the home page: one full-width backdrop and the same logo row. */
.ws-theme-inner-backdrop { position: relative; display: block; height: 365px; overflow: hidden; background-image: linear-gradient(rgba(239, 246, 255, .62), rgba(239, 246, 255, .62)), var(--ws-theme-global-image, url('assets/home-hero-workspace.png')); background-position: center; background-size: cover; border-radius: 0 0 24px 24px; }
.ws-theme-inner-header { position: absolute; z-index: 21; top: 0; right: 0; left: 0; height: 62px; }
.ws-theme-inner-header-container { display: flex; width: min(1160px, calc(100% - 48px)); height: 62px; margin: 0 auto; align-items: center; justify-content: space-between; }
.ws-theme-inner-brand, .ws-theme-inner-actions a { color: var(--ws-ink); text-decoration: none; }
.ws-theme-inner-brand { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.ws-theme-inner-actions { display: flex; gap: 24px; align-items: center; }
.ws-theme-inner-actions > a:not(.ws-theme-inner-search) { font-size: 14px; font-weight: 700; }
.ws-theme-inner-search { display: grid; width: 22px; height: 28px; place-items: center; }
.ws-theme-inner-search span { position: relative; display: block; width: 13px; height: 13px; border: 1.8px solid var(--ws-ink); border-radius: 50%; }
.ws-theme-inner-search span::after { position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.8px; background: var(--ws-ink); content: ''; transform: rotate(45deg); transform-origin: left center; }
.ws-theme-inner-slot { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding-top: 116px; }
.ws-theme-inner-kicker { margin: 0 0 12px; color: var(--ws-blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.ws-theme-inner-slot h1 { max-width: 680px; margin: 0; color: var(--ws-ink); font-size: clamp(38px, 5vw, 58px); line-height: 1.15; letter-spacing: -.05em; }
.ws-theme-inner-description { max-width: 650px; margin: 16px 0 0; color: #53647b; font-size: 16px; line-height: 1.7; }
body.wubensoft-site:not(.wubensoft-home) .ct-header { --header-height: 62px !important; position: absolute !important; z-index: 20; top: 0; right: 0; left: 0; background: transparent !important; background-image: none !important; border-bottom: 0; }
body.wubensoft-site:not(.wubensoft-home) .ct-header [data-row="middle"] { --height: 62px !important; height: 62px !important; min-height: 62px !important; padding: 0 !important; background: transparent !important; }
body.wubensoft-site:not(.wubensoft-home) .ct-header a,
body.wubensoft-site:not(.wubensoft-home) .ct-header .ct-header-text,
body.wubensoft-site:not(.wubensoft-home) .ct-header .ct-header-search { color: var(--ws-ink); }
body.admin-bar.wubensoft-site:not(.wubensoft-home) .ct-header { top: 32px; }
/* The backdrop is printed before Blocksy's header. Keep the header over it even when a parent template omits body classes. */
.ws-theme-inner-backdrop ~ .ct-header { --header-height: 62px !important; position: absolute !important; z-index: 20; top: 0; right: 0; left: 0; background: transparent !important; background-image: none !important; border-bottom: 0; }
.ws-theme-inner-backdrop ~ .ct-header [data-row="middle"] { --height: 62px !important; height: 62px !important; min-height: 62px !important; padding: 0 !important; background: transparent !important; }
.ws-theme-inner-backdrop ~ .ct-header a,
.ws-theme-inner-backdrop ~ .ct-header .ct-header-text,
.ws-theme-inner-backdrop ~ .ct-header .ct-header-search { color: var(--ws-ink); }
body.admin-bar .ws-theme-inner-backdrop ~ .ct-header { top: 32px; }
.ws-software-archive .ws-archive-hero { display: none; }

/* On the home page the logo row belongs to the hero, instead of reading as a second heavy banner. */
body.home.wubensoft-site .ct-header,
body.front-page.wubensoft-site .ct-header { --header-height: 62px !important; position: absolute !important; z-index: 20; top: 0; right: 0; left: 0; background: transparent !important; background-image: none !important; border-bottom: 0; }
body.home.wubensoft-site .ct-header [data-row="middle"],
body.front-page.wubensoft-site .ct-header [data-row="middle"] { --height: 62px !important; height: 62px !important; min-height: 62px !important; padding: 0 !important; background: transparent !important; }
body.home.wubensoft-site .ct-header a,
body.home.wubensoft-site .ct-header .ct-header-text,
body.home.wubensoft-site .ct-header .ct-header-search,
body.front-page.wubensoft-site .ct-header a,
body.front-page.wubensoft-site .ct-header .ct-header-text,
body.front-page.wubensoft-site .ct-header .ct-header-search { color: var(--ws-ink); }
body.admin-bar.home.wubensoft-site .ct-header,
body.admin-bar.front-page.wubensoft-site .ct-header { top: 32px; }

.ws-theme-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.ws-theme-home { padding: 48px 0 88px; }
.ws-theme-hero { position: relative; display: flex; min-height: 410px; align-items: center; overflow: hidden; padding: 55px 58px; border-radius: 24px; background: #eaf2ff var(--ws-theme-hero-image) center/cover no-repeat; }
.ws-theme-hero::before { content: ''; position: absolute; inset: 0; background: rgba(239, 246, 255, .72); }
.ws-theme-hero + .ws-theme-section { margin-top: 22px; }
.ws-theme-hero-copy { position: relative; z-index: 1; flex: 1 1 auto; max-width: none; }
.ws-theme-hero-featured { position: relative; z-index: 1; display: flex; align-self: stretch; flex: 0 0 372px; width: 372px; margin: 0 0 0 38px; }
.ws-theme-hero-featured-window { display: grid; width: 100%; height: 100%; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 11px; }
.ws-theme-hero-featured-card { position: relative; display: block; min-height: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .72); border-radius: 14px; background: rgba(255, 255, 255, .18); color: var(--ws-ink); text-decoration: none; box-shadow: 0 9px 22px rgba(40, 76, 130, .07); backdrop-filter: blur(12px) saturate(1.08); }
.ws-theme-hero-featured-card:hover, .ws-theme-hero-featured-card:focus-visible { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(40, 76, 130, .15); }
.ws-theme-hero-featured-overlay { position: absolute; inset: 0; background: rgba(255, 255, 255, .2); }
.ws-theme-hero-featured-content { position: relative; z-index: 1; display: block; padding: 15px 17px; }
.ws-theme-hero-featured-topline { display: flex; min-width: 0; align-items: center; gap: 11px; }
.ws-theme-hero-featured-topline .ws-software-icon-image, .ws-theme-hero-featured-topline .ws-software-icon-placeholder { display: block; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 14px; object-fit: cover; }
.ws-theme-hero-featured-topline .ws-software-icon-placeholder { display: grid; place-items: center; background: #fff; color: var(--ws-blue); font-size: 22px; }
.ws-theme-hero-featured-topline strong { display: block; min-width: 0; overflow: hidden; color: var(--ws-ink); font-size: 16px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.ws-theme-hero-featured-summary { display: block; max-width: 290px; margin-top: 8px; overflow: hidden; color: #53647b; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.ws-theme-hero-featured-body { display: block; min-width: 0; }
.ws-theme-hero-featured-meta { display: none; }
.ws-theme-hero-featured-control { display: none; }
.ws-theme-hero-featured-dots { position: absolute; right: 12px; bottom: -17px; z-index: 2; display: flex; gap: 5px; align-items: center; }
.ws-theme-hero-featured-dots .ws-theme-featured-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: rgba(44, 79, 126, .3); cursor: pointer; }
.ws-theme-hero-featured-dots .ws-theme-featured-dot.is-active { width: 15px; border-radius: 5px; background: var(--ws-blue); }
@keyframes ws-theme-featured-enter { from { opacity: .45; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.ws-theme-hero-featured.is-changing .ws-theme-hero-featured-card:not([hidden]) { animation: ws-theme-featured-enter .32s ease both; }
.ws-theme-kicker { margin: 0 0 16px; color: var(--ws-blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.ws-theme-hero h1 { max-width: 630px; margin: 0; color: var(--ws-ink); font-size: clamp(40px, 5vw, 64px); line-height: 1.12; letter-spacing: -.055em; }
.ws-theme-hero h1 span { color: var(--ws-blue); }
.ws-theme-hero-lede { max-width: 590px; margin: 20px 0 0; color: #53647b; font-size: 17px; line-height: 1.8; }
.ws-theme-search { display: flex; gap: 0; max-width: 620px; margin-top: 27px; padding: 4px; border: 1px solid #cbd9ef; border-radius: 13px; background: var(--ws-white); box-shadow: 0 10px 28px rgba(20, 61, 124, .08); }
.ws-theme-search input { min-width: 0; flex: 1; padding: 12px 14px; border: 0; outline: 0; background: transparent; color: var(--ws-ink); font-size: 15px; }
.ws-theme-search input::placeholder { color: #93a1b4; }
.ws-theme-search button { padding: 0 23px; border: 0; border-radius: 9px; background: var(--ws-blue); color: #fff; font-weight: 800; cursor: pointer; }
.ws-theme-search button:hover, .ws-theme-search button:focus-visible { background: #0b4fc5; }
.ws-theme-hotwords { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; color: #748399; font-size: 13px; }
.ws-theme-hotwords a { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .68); color: #607087; text-decoration: none; }
.ws-theme-hotwords a:hover { color: var(--ws-blue); }

.ws-theme-content-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 26px; align-items: start; }
.ws-theme-category-nav { padding: 12px; border: 1px solid var(--ws-line); border-radius: 14px; background: var(--ws-white); }
.ws-theme-category-nav h2 { margin: 5px 10px 12px; color: #79879a; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ws-theme-category-nav a { display: block; padding: 11px 12px; border-radius: 8px; color: #52627a; font-size: 14px; text-decoration: none; }
.ws-theme-category-nav a:hover, .ws-theme-category-nav a:focus-visible, .ws-theme-category-nav a.is-active { background: var(--ws-navy); color: #fff; }
.ws-theme-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.ws-theme-section-heading h2 { margin: 0; color: var(--ws-ink); font-size: 25px; letter-spacing: -.03em; }
.ws-theme-section-heading a { color: var(--ws-blue); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ws-theme-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ws-theme-featured-grid-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; min-height: 112px; padding: 14px; border: 1px solid var(--ws-line); border-radius: 14px; background: var(--ws-white); color: inherit; text-decoration: none; box-shadow: 0 7px 20px rgba(25, 54, 96, .04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.ws-theme-featured-grid-card:hover, .ws-theme-featured-grid-card:focus-visible { transform: translateY(-2px); border-color: #bfd2ee; box-shadow: 0 12px 26px rgba(25, 54, 96, .09); }
.ws-theme-featured-grid-icon { display: grid; width: 64px; height: 64px; place-items: center; overflow: hidden; border-radius: 15px; background: var(--ws-blue-soft); }
.ws-theme-featured-grid-icon .ws-software-icon-image, .ws-theme-featured-grid-icon .ws-software-icon-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-theme-featured-grid-icon .ws-software-icon-placeholder { display: grid; place-items: center; color: var(--ws-blue); font-size: 27px; font-weight: 800; }
.ws-theme-featured-grid-body { min-width: 0; }
.ws-theme-featured-grid-body > strong { display: block; overflow: hidden; color: var(--ws-ink); font-size: 16px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.ws-theme-featured-grid-summary { display: -webkit-box; margin-top: 7px; overflow: hidden; color: var(--ws-muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ws-theme-featured-grid-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.ws-theme-featured-grid-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; height: 30px; padding: 0 9px; border: 1px solid var(--ws-line); border-radius: 8px; background: var(--ws-white); color: #61718a; font-size: 12px; text-decoration: none; }
.ws-theme-featured-grid-pagination .page-numbers.current { border-color: var(--ws-blue); background: var(--ws-blue); color: #fff; }
.ws-theme-featured-grid-pagination .page-numbers:hover { border-color: #b9cef0; color: var(--ws-blue); }
@keyframes ws-theme-page-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ws-theme-page-leave { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }
.ws-theme-featured-grid { animation: ws-theme-page-enter .32s ease both; }
.ws-theme-featured-grid.is-paging-away { animation: ws-theme-page-leave .18s ease both; }
.ws-theme-featured { margin-bottom: 16px; }
.ws-theme-featured-slider { position: relative; margin-bottom: 18px; }
.ws-theme-featured-slide[hidden] { display: none; }
.ws-theme-featured-card { position: relative; display: block; min-height: 220px; overflow: hidden; border-radius: 15px; background: #0b234b var(--ws-theme-featured-image) center/cover no-repeat; color: #fff; text-decoration: none; box-shadow: 0 15px 34px rgba(20, 65, 135, .12); }
.ws-theme-featured-card:hover { transform: translateY(-2px); box-shadow: 0 19px 38px rgba(20, 65, 135, .18); }
.ws-theme-featured-overlay { position: absolute; inset: 0; background: rgba(5, 25, 57, .65); }
.ws-theme-featured-content { position: relative; z-index: 1; display: block; max-width: 680px; padding: 25px 32px; }
.ws-theme-featured-kicker { display: block; margin-bottom: 18px; color: #a9e9dd; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.ws-theme-featured-topline { display: flex; align-items: center; gap: 14px; }
.ws-theme-featured-topline .ws-software-icon-image, .ws-theme-featured-topline .ws-software-icon-placeholder { display: block; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 14px; object-fit: cover; }
.ws-theme-featured-topline .ws-software-icon-placeholder { display: grid; place-items: center; background: #fff; color: var(--ws-blue); font-size: 22px; }
.ws-theme-featured-topline strong { font-size: clamp(23px, 3vw, 33px); line-height: 1.25; }
.ws-theme-featured-summary { display: block; max-width: 600px; margin-top: 17px; color: #e8f1fb; font-size: 15px; line-height: 1.75; }
.ws-theme-featured-meta { display: block; margin-top: 24px; color: #a9e9dd; font-size: 13px; font-weight: 700; }
.ws-theme-featured-control { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; padding: 0; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(6, 29, 71, .72); color: #fff; font-size: 27px; line-height: 32px; cursor: pointer; }
.ws-theme-featured-control:hover, .ws-theme-featured-control:focus-visible { background: rgba(18, 100, 238, .95); }
.ws-theme-featured-previous { left: 14px; }
.ws-theme-featured-next { right: 14px; }
.ws-theme-featured-dots { position: absolute; right: 24px; bottom: 17px; z-index: 3; display: flex; gap: 6px; align-items: center; }
.ws-theme-featured-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .58); cursor: pointer; }
.ws-theme-featured-dot.is-active { width: 22px; border-radius: 6px; background: #fff; }
.ws-theme-software-list { overflow: hidden; border: 1px solid var(--ws-line); border-radius: 15px; background: var(--ws-white); }
.ws-theme-list-heading, .ws-theme-software-row { display: grid; grid-template-columns: minmax(210px, 1.1fr) minmax(220px, 1fr); gap: 18px; align-items: center; }
.ws-theme-list-heading { padding: 13px 20px; border-bottom: 1px solid var(--ws-line); color: #8794a7; font-size: 12px; }
.ws-theme-software-row { padding: 15px 20px; border-bottom: 1px solid #edf1f6; color: inherit; text-decoration: none; }
.ws-theme-software-row:last-child { border-bottom: 0; }
.ws-theme-software-row:hover, .ws-theme-software-row:focus-visible { background: #f7faff; }
.ws-theme-software-name { display: flex; min-width: 0; align-items: center; gap: 12px; }
.ws-theme-software-name .ws-software-icon-image, .ws-theme-software-name .ws-software-icon-placeholder { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; object-fit: cover; }
.ws-theme-software-name .ws-software-icon-placeholder { display: grid; place-items: center; background: var(--ws-blue-soft); color: var(--ws-blue); font-weight: 800; }
.ws-theme-software-name strong { min-width: 0; overflow: hidden; color: var(--ws-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ws-theme-software-summary { overflow: hidden; color: var(--ws-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ws-theme-software-action { color: var(--ws-blue); font-size: 13px; font-weight: 800; text-align: right; white-space: nowrap; }
.ws-theme-empty { padding: 24px; border: 1px dashed #cdd9e8; border-radius: 14px; color: var(--ws-muted); }
.ws-theme-footer { margin-top: 12px; background: #fff; color: var(--ws-ink); }
.ws-theme-footer-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 22px; padding-bottom: 18px; }
.ws-theme-footer-brand, .ws-theme-footer-nav, .ws-theme-footer-contact { min-width: 0; }
.ws-theme-footer-logo { display: inline-block; max-width: 220px; }
.ws-theme-footer-logo img { display: block; max-width: 100%; height: auto; max-height: 68px; object-fit: contain; object-position: left center; }
.ws-theme-footer-site-name { display: inline-block; color: var(--ws-ink); font-size: 25px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.ws-theme-footer-brand p { max-width: 330px; margin: 14px 0 0; color: var(--ws-muted); font-size: 13px; line-height: 1.75; }
.ws-theme-footer h2 { margin: 0 0 15px; color: var(--ws-ink); font-size: 15px; }
.ws-theme-footer-menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ws-theme-footer-menu a { color: #5d6d83; font-size: 13px; text-decoration: none; }
.ws-theme-footer-menu a:hover { color: var(--ws-blue); }
.ws-theme-footer-contact-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.ws-theme-footer-contact p { width: 100%; max-width: none; margin: 0; color: var(--ws-muted); font-size: 13px; line-height: 1.7; }
.ws-theme-footer-qrs { display: flex; flex: 0 0 auto; gap: 10px; margin: 0; }
.ws-theme-footer-qrs span { display: block; width: 96px; height: 96px; overflow: hidden; border: 1px solid var(--ws-line); border-radius: 8px; background: #fff; }
.ws-theme-footer-qrs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-theme-footer-copyright { color: #7c899a; font-size: 12px; }
.ws-theme-footer-copyright .ws-theme-shell { padding-top: 9px; padding-bottom: 3px; text-align: center; }
.ws-theme-footer-friends { background: #fff; color: #8a96a6; font-size: 12px; }
.ws-theme-footer-friends .ws-theme-shell { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; align-items: center; padding-top: 3px; padding-bottom: 16px; text-align: center; }
.ws-theme-footer-friends a { color: #6c7b90; text-decoration: none; }
.ws-theme-footer-friends a:hover { color: var(--ws-blue); }
.ws-theme-mobile-menu { display: none; }
.ws-theme-archive-shell, .ws-theme-search-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 76px; }
.ws-theme-page-heading { margin-bottom: 28px; padding: 30px 34px; border: 1px solid var(--ws-line); border-radius: 18px; background: linear-gradient(135deg, rgba(247, 250, 255, .94), rgba(255, 255, 255, .98)); box-shadow: 0 10px 26px rgba(25, 54, 96, .04); }
.ws-theme-page-heading p { margin: 0; color: var(--ws-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.ws-theme-page-heading h1 { margin: 8px 0 7px; color: var(--ws-ink); font-size: clamp(32px, 4vw, 48px); line-height: 1.2; letter-spacing: -.04em; }
.ws-theme-page-heading span { color: #53647b; font-size: 14px; }
.ws-theme-search-page-form { display: flex; gap: 0; max-width: 760px; margin: 0 0 30px; padding: 4px; border: 1px solid #cbd9ef; border-radius: 13px; background: #fff; box-shadow: 0 10px 28px rgba(20, 61, 124, .07); }
.ws-theme-search-page-form input { min-width: 0; flex: 1; padding: 12px 14px; border: 0; outline: 0; background: transparent; color: var(--ws-ink); font-size: 15px; }
.ws-theme-search-page-form button { padding: 0 23px; border: 0; border-radius: 9px; background: var(--ws-blue); color: #fff; font-weight: 800; cursor: pointer; }
.ws-theme-search-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ws-theme-search-card { overflow: hidden; border: 1px solid var(--ws-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(20, 65, 135, .04); }
.ws-theme-search-card:hover { border-color: #b9cef0; box-shadow: 0 12px 25px rgba(20, 65, 135, .08); }
.ws-theme-search-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.ws-theme-search-card-cover { display: block; height: 150px; overflow: hidden; background: #edf3fb; }
.ws-theme-search-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-theme-search-card-body { padding: 18px; }
.ws-theme-search-card-body small { color: var(--ws-blue); font-size: 12px; font-weight: 800; }
.ws-theme-search-card-body h2 { margin: 8px 0 7px; color: var(--ws-ink); font-size: 17px; line-height: 1.4; }
.ws-theme-search-card-body p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ws-muted); font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ws-theme-search-card-body time { display: block; margin-top: 14px; color: #8a96a6; font-size: 12px; }
.ws-theme-archive-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.ws-theme-archive-pagination .page-numbers { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--ws-line); border-radius: 8px; color: #61718a; font-size: 12px; text-decoration: none; }
.ws-theme-archive-pagination .page-numbers.current, .ws-theme-archive-pagination .page-numbers:hover { border-color: var(--ws-blue); background: var(--ws-blue); color: #fff; }
.ws-theme-tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-theme-tutorial-card { position: relative; min-height: 150px; overflow: hidden; border: 1px solid var(--ws-line); border-radius: 14px; background: #dce7f5; box-shadow: 0 8px 22px rgba(20, 65, 135, .06); }
.ws-theme-tutorial-card:hover { border-color: #b9cef0; box-shadow: 0 12px 25px rgba(20, 65, 135, .07); }
.ws-theme-tutorial-card a { position: relative; display: flex; min-height: 150px; flex-direction: column; justify-content: center; padding: 18px; color: inherit; text-decoration: none; }
.ws-theme-tutorial-card a::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 43%, rgba(255, 255, 255, .58) 68%, rgba(255, 255, 255, .08) 100%); }
.ws-theme-tutorial-card-cover { position: absolute; inset: 0; z-index: 0; display: block; margin: 0; overflow: hidden; }
.ws-theme-tutorial-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-theme-tutorial-card time, .ws-theme-tutorial-card h3, .ws-theme-tutorial-card p { position: relative; z-index: 2; max-width: 74%; }
.ws-theme-tutorial-card time { color: #5e6e83; font-size: 12px; }
.ws-theme-tutorial-card h3 { margin: 8px 0 6px; color: var(--ws-ink); font-size: 18px; line-height: 1.35; }
.ws-theme-tutorial-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #52627a; font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }

/* Tutorial article: a readable column plus a clear, sticky download panel. */
.ws-theme-article-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 90px; }
.ws-theme-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #7b899b; font-size: 13px; }
.ws-theme-breadcrumbs a { color: #5d6d83; text-decoration: none; }
.ws-theme-article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 42px; align-items: start; }
.ws-theme-article { min-width: 0; padding: 36px 42px 48px; border: 1px solid var(--ws-line); border-radius: 17px; background: var(--ws-white); box-shadow: 0 10px 30px rgba(25, 54, 96, .04); }
.ws-theme-article-header { padding-bottom: 27px; border-bottom: 1px solid var(--ws-line); }
.ws-theme-article-category { margin: 0 0 12px; color: var(--ws-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.ws-theme-article h1 { margin: 0; color: var(--ws-ink); font-size: clamp(30px, 4vw, 44px); line-height: 1.22; letter-spacing: -.045em; }
.ws-theme-article-meta { margin: 17px 0 0; color: #7b899b; font-size: 13px; }
.ws-theme-article-lede { margin: 23px 0 0; color: #54647a; font-size: 16px; line-height: 1.85; }
.ws-theme-article-cover { margin: 25px 0 0; overflow: hidden; border-radius: 14px; }
.ws-theme-article-cover img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; }
.ws-theme-article-content { padding-top: 30px; }
.ws-theme-article-content > p, .ws-theme-article-content > ul, .ws-theme-article-content > ol { color: #3f5067; font-size: 16px; line-height: 1.95; }
.ws-theme-article-content h2 { margin-top: 42px; color: var(--ws-ink); font-size: 25px; line-height: 1.35; }
.ws-theme-article-content h3 { margin-top: 30px; color: var(--ws-ink); font-size: 20px; }
.ws-theme-article-content img { max-width: 100%; height: auto; border-radius: 10px; }
.ws-theme-article-sidebar { position: sticky; top: 24px; display: grid; gap: 15px; }
.ws-theme-download-panel, .ws-theme-toc { padding: 21px; border: 1px solid var(--ws-line); border-radius: 15px; background: var(--ws-white); box-shadow: 0 10px 26px rgba(25, 54, 96, .05); }
.ws-theme-download-panel-heading { display: flex; gap: 14px; align-items: center; }
.ws-theme-download-panel-icon { display: grid; width: 64px; height: 64px; flex: 0 0 64px; place-items: center; border-radius: 15px; overflow: hidden; background: var(--ws-blue-soft); }
.ws-theme-download-panel-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-theme-download-panel h2 { margin: 0; color: var(--ws-ink); font-size: 16px; line-height: 1.35; }
.ws-theme-download-panel p { margin: 5px 0 0; color: var(--ws-muted); font-size: 12px; line-height: 1.5; }
.ws-theme-download-panel .ws-download-actions { display: grid; gap: 9px; margin-top: 18px; }
.ws-theme-download-panel > .ws-download-card { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.ws-theme-download-panel > .ws-download-card .ws-download-card-heading { display: none; }
.ws-theme-download-panel .ws-download-button { padding: 11px 12px; border-radius: 8px; font-size: 13px; }
.ws-theme-toc h2 { margin: 0 0 12px; color: var(--ws-ink); font-size: 15px; }
.ws-theme-toc ol { margin: 0; padding-left: 18px; color: #65748a; font-size: 13px; line-height: 2; }

@media (max-width: 920px) {
	.ws-theme-hero { min-height: 340px; padding: 42px 34px; }
	.ws-theme-hero-featured { flex-basis: auto; width: 100%; margin: 26px 0 0; }
	.ws-theme-hero-featured-window { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ws-theme-hero-featured-control { display: none; }
	.ws-theme-content-layout { grid-template-columns: 1fr; }
	.ws-theme-category-nav { display: flex; gap: 5px; align-items: center; overflow-x: auto; padding: 7px; }
	.ws-theme-category-nav h2 { display: none; }
	.ws-theme-category-nav a { flex: 0 0 auto; }
	.ws-theme-article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; }
}

@media (max-width: 680px) {
	.ws-theme-inner-backdrop { height: 330px; border-radius: 0 0 18px 18px; background-position: 62% center; }
	.ws-theme-inner-header, .ws-theme-inner-header-container { height: 54px; }
	.ws-theme-inner-header-container { width: min(100% - 28px, 1160px); }
	.ws-theme-inner-brand { font-size: 18px; }
	.ws-theme-inner-actions { gap: 15px; }
	.ws-theme-inner-slot { width: min(100% - 28px, 1160px); padding-top: 94px; }
	.ws-theme-inner-slot h1 { font-size: 39px; }
	.ws-theme-inner-description { margin-top: 12px; font-size: 14px; line-height: 1.6; }
	.ws-theme-footer-main { grid-template-columns: 1fr; gap: 20px; padding-top: 22px; padding-bottom: 16px; }
	.ws-theme-footer-main { display: none; }
	.ws-theme-footer-brand p { margin-top: 10px; }
	.ws-theme-footer-qrs { margin: 0; }
	.ws-theme-footer-contact-body { grid-template-columns: auto minmax(0, 1fr); }
	.ws-theme-footer-qrs span { width: 84px; height: 84px; }
	body.ws-theme-mobile-menu-enabled { padding-bottom: 68px; }
	.ws-theme-mobile-menu { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; display: flex; min-height: 58px; border-top: 1px solid var(--ws-line); background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 18px rgba(22, 52, 94, .08); }
	.ws-theme-mobile-menu-item { display: flex; min-width: 0; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #51647d; font-size: 11px; line-height: 1.2; text-decoration: none; }
	.ws-theme-mobile-menu-item:hover, .ws-theme-mobile-menu-item:focus-visible { color: var(--ws-blue); }
	.ws-theme-mobile-menu-icon { display: grid; width: 22px; height: 22px; place-items: center; color: currentColor; font-size: 21px; font-weight: 700; line-height: 1; }
	.ws-theme-mobile-menu-item:nth-child(1) .ws-theme-mobile-menu-icon::before { content: '⌂'; }
	.ws-theme-mobile-menu-item:nth-child(2) .ws-theme-mobile-menu-icon::before { content: '▰'; }
	.ws-theme-mobile-menu-item:nth-child(3) .ws-theme-mobile-menu-icon::before { content: '◇'; }
	.ws-theme-mobile-menu-item:nth-child(4) .ws-theme-mobile-menu-icon::before { content: '●'; }
	.ws-theme-inner-actions { max-width: 72%; gap: 14px; overflow: hidden; white-space: nowrap; }
	.ws-theme-archive-shell, .ws-theme-search-shell { width: min(100% - 28px, 1160px); padding-top: 22px; padding-bottom: 56px; }
	.ws-theme-page-heading { margin-bottom: 20px; padding: 24px 20px; border-radius: 16px; }
	.ws-theme-search-grid { grid-template-columns: 1fr; }
	.ws-theme-search-page-form { margin-bottom: 22px; }
	body.admin-bar.wubensoft-site:not(.wubensoft-home) .ct-header,
	body.admin-bar .ws-theme-inner-backdrop ~ .ct-header { top: 46px; }
	body.admin-bar .ws-theme-inner-header { top: 46px; }
	.ws-theme-shell, .ws-theme-article-shell { width: min(100% - 28px, 1160px); }
	.ws-theme-home { padding-top: 20px; }
	.ws-theme-hero { min-height: 430px; padding: 28px 22px; border-radius: 18px; background-position: 62% center; }
	.ws-theme-hero h1 { font-size: 39px; }
	.ws-theme-hero-lede { font-size: 15px; }
	.ws-theme-search { width: 100%; }
	.ws-theme-search input { font-size: 14px; }
	.ws-theme-search button { padding: 0 16px; }
	.ws-theme-hero::before { background: rgba(239, 246, 255, .8); }
	.ws-theme-featured-content { padding: 24px 21px; }
	.ws-theme-hero-featured, .ws-theme-featured-slider { display: none; }
	.ws-theme-featured-card { min-height: 220px; }
	.ws-theme-featured-control { width: 32px; height: 32px; font-size: 23px; line-height: 27px; }
	.ws-theme-featured-previous { left: 9px; }
	.ws-theme-featured-next { right: 9px; }
	.ws-theme-featured-dots { right: 18px; bottom: 13px; }
	.ws-theme-list-heading { display: none; }
	.ws-theme-software-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px 15px; }
	.ws-theme-software-summary { grid-column: 1 / -1; padding-left: 50px; margin-top: -8px; }
	.ws-theme-software-summary { display: none; }
	.ws-theme-software-row { grid-template-columns: minmax(0, 1fr); }
	.ws-theme-tutorial-grid { grid-template-columns: 1fr; }
	.ws-theme-featured-grid { grid-template-columns: 1fr; }
	.ws-theme-featured-grid-card { min-height: 110px; grid-template-columns: 60px minmax(0, 1fr); padding: 14px; }
	.ws-theme-featured-grid-icon { width: 60px; height: 60px; border-radius: 14px; }
	.ws-theme-tutorial-card { min-height: 70px; }
	.ws-theme-tutorial-card a { min-height: 70px; padding: 17px 18px; justify-content: center; }
	.ws-theme-tutorial-card p { display: none; }
	.ws-theme-tutorial-card-cover, .ws-theme-tutorial-card time { display: none; }
	.ws-theme-tutorial-card h3 { max-width: 100%; margin: 0; }
	.ws-theme-article-shell { padding-top: 24px; }
	.ws-theme-article-layout { display: flex; flex-direction: column; }
	.ws-theme-article { padding: 25px 20px 34px; border-radius: 13px; }
	.ws-theme-article h1 { font-size: 30px; }
	.ws-theme-article-content > p, .ws-theme-article-content > ul, .ws-theme-article-content > ol { font-size: 15px; }
	.ws-theme-article-sidebar { position: static; width: 100%; }
}

@media (max-width: 680px) {
	body.admin-bar.home.wubensoft-site .ct-header { top: 46px; }
	body.home.wubensoft-site .ct-header [data-row="middle"], body.front-page.wubensoft-site .ct-header [data-row="middle"] { --height: 54px !important; height: 54px !important; min-height: 54px !important; }
}

@media (min-width: 681px) {
	body.home.wubensoft-site .ws-theme-home, body.front-page.wubensoft-site .ws-theme-home { padding-top: 0; }
body.home.wubensoft-site .ws-theme-hero, body.front-page.wubensoft-site .ws-theme-hero { width: 100vw; height: 365px; min-height: 365px; box-sizing: border-box; margin-left: calc(50% - 50vw); align-items: flex-start; padding: 82px max(24px, calc((100vw - 1160px) / 2)) 24px; border-radius: 0 0 24px 24px; }
	body.home.wubensoft-site .ws-theme-hero::before, body.front-page.wubensoft-site .ws-theme-hero::before { background: rgba(239, 246, 255, .62); }
}

@media (max-width: 680px) {
	body.home.wubensoft-site .ws-theme-home, body.front-page.wubensoft-site .ws-theme-home { padding-top: 0; }
body.home.wubensoft-site .ws-theme-hero, body.front-page.wubensoft-site .ws-theme-hero { height: 330px; min-height: 330px; box-sizing: border-box; padding: 92px 22px 28px; border-radius: 18px; }
}

/* The child theme adds this class itself so the layout also works with custom/static front-page setups. */
body.wubensoft-home.wubensoft-site .ct-header { --header-height: 62px !important; position: absolute !important; z-index: 20; top: 0; right: 0; left: 0; background: transparent !important; background-image: none !important; border-bottom: 0; }
body.wubensoft-home.wubensoft-site .ct-header [data-row="middle"] { --height: 62px !important; height: 62px !important; min-height: 62px !important; padding: 0 !important; background: transparent !important; }
body.wubensoft-home.wubensoft-site .ct-header a, body.wubensoft-home.wubensoft-site .ct-header .ct-header-text, body.wubensoft-home.wubensoft-site .ct-header .ct-header-search { color: var(--ws-ink); }
body.admin-bar.wubensoft-home.wubensoft-site .ct-header { top: 32px; }
body.wubensoft-home.wubensoft-site .ws-theme-home { padding-top: 0; }
body.wubensoft-home.wubensoft-site .ws-theme-hero { width: 100vw; min-height: 300px; margin-left: calc(50% - 50vw); align-items: flex-start; padding: 82px max(24px, calc((100vw - 1160px) / 2)) 24px; border-radius: 0 0 24px 24px; }
body.wubensoft-home.wubensoft-site .ws-theme-hero::before { background: rgba(239, 246, 255, .62); }

@media (max-width: 680px) {
	body.admin-bar.wubensoft-home.wubensoft-site .ct-header { top: 46px; }
	body.wubensoft-home.wubensoft-site .ct-header [data-row="middle"] { --height: 54px !important; height: 54px !important; min-height: 54px !important; }
	body.wubensoft-home.wubensoft-site .ws-theme-hero { width: 100vw; min-height: 280px; margin-left: calc(50% - 50vw); padding: 76px 22px 24px; border-radius: 0 0 18px 18px; }
	body.wubensoft-home.wubensoft-site .ws-theme-hotwords { flex-wrap: nowrap; overflow: hidden; gap: 7px; white-space: nowrap; }
	body.wubensoft-home.wubensoft-site .ws-theme-hotwords a:nth-of-type(n + 4) { display: none; }
}
