diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 806ed447..9047ebbd 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -21,9 +21,12 @@ env: jobs: test: - name: PHP 8.5 + name: PHP ${{ matrix.php }} runs-on: ubuntu-latest timeout-minutes: 25 + strategy: + matrix: + php: ['8.3', '8.5'] services: mysql: image: mysql:8.4 @@ -40,7 +43,7 @@ jobs: - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 with: - php-version: '8.5' + php-version: ${{ matrix.php }} extensions: gd, exif, intl, mbstring, mysqli, xml, zip tools: composer coverage: none diff --git a/AGENTS.md b/AGENTS.md index c8a388f8..d002eb0f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,6 +40,8 @@ WebberZone Knowledge Base, namespace `WebberZone\Knowledge_Base`, is a WordPress ## Build & Development Commands +Cross-release plans and agent notes live in `dev-helpers/plans/` (excluded from `build-zip.sh`; not shipped). Product docs for customers stay in `docs/`. + ### PHP ```bash diff --git a/CLAUDE.md b/CLAUDE.md index 5d261fa0..5f746da7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -40,6 +40,8 @@ WebberZone Knowledge Base, namespace `WebberZone\Knowledge_Base`, is a WordPress ## Build & Development Commands +Cross-release plans and agent notes live in `dev-helpers/plans/` (excluded from `build-zip.sh`; not shipped). Product docs for customers stay in `docs/`. + ### PHP ```bash diff --git a/build-zip.sh b/build-zip.sh index 7d0cabe5..113cc699 100755 --- a/build-zip.sh +++ b/build-zip.sh @@ -33,6 +33,7 @@ dev-tools/ wporg-assets/ test-tools/ docs/ +dev-helpers/ includes/frontend/blocks/src/ includes/pro/blocks/src/ build-assets.js diff --git a/composer.json b/composer.json index 4498aa39..fb695e50 100644 --- a/composer.json +++ b/composer.json @@ -49,6 +49,8 @@ "phpstan": "vendor/bin/phpstan analyse --memory-limit=2048M", "phpunit": "vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite core", "phpunit:all": "vendor/bin/phpunit --configuration phpunit.xml.dist", + "phpunit:ci": "vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite core", + "phpunit:release": "vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite core --exclude-group slow", "phpunit:ai": "vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite ai", "phpunit:ai-smoke": "vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite ai --group ai-smoke", "test:security": "vendor/bin/phpunit --configuration phpunit.xml.dist --filter 'Rendering_Security|Media_Security|REST_Password_Protection|Password_Renderers'", diff --git a/includes/admin/class-admin.php b/includes/admin/class-admin.php index fbd7ceb7..0e8b59d6 100644 --- a/includes/admin/class-admin.php +++ b/includes/admin/class-admin.php @@ -218,7 +218,6 @@ private function get_admin_banner_config(): array { 'nav_label' => esc_html__( 'Knowledge Base admin shortcuts', 'knowledgebase' ), 'eyebrow' => esc_html__( 'WebberZone Knowledge Base', 'knowledgebase' ), 'title' => esc_html__( 'Shape a helpful support hub your users will love.', 'knowledgebase' ), - 'text' => esc_html__( 'Jump to your most-used Knowledge Base tools, manage content faster, and explore more WebberZone plugins.', 'knowledgebase' ), ), 'sections' => array( 'archive' => array( diff --git a/includes/admin/class-import-export.php b/includes/admin/class-import-export.php index 6d2de1cc..9882ff45 100644 --- a/includes/admin/class-import-export.php +++ b/includes/admin/class-import-export.php @@ -28,7 +28,8 @@ class Import_Export { */ public function __construct() { Hook_Registry::add_action( 'admin_init', array( $this, 'process_export' ) ); - Hook_Registry::add_action( 'admin_init', array( $this, 'process_import' ), 9 ); + // After Settings_API::admin_init() (priority 10) registers the sanitize callback that update_option() applies. + Hook_Registry::add_action( 'admin_init', array( $this, 'process_import' ), 11 ); Hook_Registry::add_action( 'wzkb_tools_page_content', array( $this, 'render_card' ), 5 ); } @@ -102,9 +103,21 @@ public function process_import(): void { return; } + if ( ! has_filter( 'sanitize_option_wzkb_settings' ) ) { + wp_die( esc_html__( 'Settings can only be imported from the Tools page.', 'knowledgebase' ) ); + } + $existing = get_option( 'wzkb_settings', array() ); + $existing = is_array( $existing ) ? $existing : array(); - update_option( 'wzkb_settings', self::merge_imported_settings( is_array( $existing ) ? $existing : array(), $imported ) ); + // The sanitizer would re-encrypt stored ciphertext, so secrets are restored after it runs. + $restore_secrets = static function ( $output ) use ( $existing ) { + return is_array( $output ) ? self::merge_imported_settings( $existing, $output ) : $output; + }; + + add_filter( 'wzkb_settings_sanitize', $restore_secrets, PHP_INT_MAX ); + update_option( 'wzkb_settings', self::merge_imported_settings( $existing, $imported ) ); + remove_filter( 'wzkb_settings_sanitize', $restore_secrets, PHP_INT_MAX ); add_settings_error( 'wzkb-notices', @@ -154,14 +167,8 @@ protected function read_uploaded_settings(): ?array { $raw = file_get_contents( $tmp ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents $imported = json_decode( $raw, true ); - if ( ! is_array( $imported ) ) { - add_settings_error( - 'wzkb-notices', - 'wzkb_import_invalid_json', - esc_html__( 'Import failed: the file does not contain valid JSON settings.', 'knowledgebase' ), - 'error' - ); - return null; + if ( empty( $imported ) || ! is_array( $imported ) ) { + wp_die( esc_html__( 'Import failed: the file does not contain valid JSON settings.', 'knowledgebase' ) ); } return $imported; @@ -216,7 +223,8 @@ protected static function restore_repeater_secrets( array $rows, array $existing } foreach ( $rows as $idx => $row ) { - if ( ! is_array( $row ) ) { + if ( ! is_array( $row ) || ( isset( $row['row_id'] ) && ! is_scalar( $row['row_id'] ) ) ) { + unset( $rows[ $idx ] ); continue; } @@ -234,7 +242,7 @@ protected static function restore_repeater_secrets( array $rows, array $existing } } - return $rows; + return array_values( $rows ); } /** diff --git a/includes/admin/class-settings.php b/includes/admin/class-settings.php index c7878fdd..d3f3e9d7 100644 --- a/includes/admin/class-settings.php +++ b/includes/admin/class-settings.php @@ -331,7 +331,7 @@ public static function get_defaults() { 'product_archive_layout' => 'sections', 'show_term_thumbnail' => 1, 'include_styles' => 1, - 'kb_style' => 'classic', + 'kb_style' => 'vibrant', 'docs_mode' => 0, 'columns' => '2', 'custom_css' => '', diff --git a/includes/admin/settings/class-settings-api.php b/includes/admin/settings/class-settings-api.php index f07a7606..7628c7bc 100644 --- a/includes/admin/settings/class-settings-api.php +++ b/includes/admin/settings/class-settings-api.php @@ -1076,6 +1076,12 @@ public function show_navigation() { } + $html .= sprintf( + '
  • ', + esc_attr( "{$this->prefix}-settings-form" ), + esc_html( $this->translation_strings['save_changes'] ) + ); + $html .= ''; $allowed_html = wp_kses_allowed_html( 'post' ); @@ -1089,6 +1095,8 @@ public function show_navigation() { $allowed_html['button'] = array( 'type' => true, 'class' => true, + 'name' => true, + 'form' => true, 'aria-label' => true, 'hidden' => true, ); diff --git a/includes/admin/settings/css/admin-style-rtl.css b/includes/admin/settings/css/admin-style-rtl.css index 853e9917..70e0445a 100644 --- a/includes/admin/settings/css/admin-style-rtl.css +++ b/includes/admin/settings/css/admin-style-rtl.css @@ -418,6 +418,14 @@ list-style: none; } +.wz-vertical-tabs > ul.nav-tab-wrapper li.wz-settings-nav-save { + margin-top: 12px; +} + +.wz-vertical-tabs > ul.nav-tab-wrapper .wz-settings-nav-save .button { + width: 100%; +} + .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab { display: block; float: none; @@ -485,6 +493,10 @@ .wz-vertical-tabs > ul.nav-tab-wrapper .wz-settings-search-wrap { flex: 1 1 100%; } + + .wz-vertical-tabs > ul.nav-tab-wrapper li.wz-settings-nav-save { + flex: 1 1 100%; + } } /* Settings search. */ diff --git a/includes/admin/settings/css/admin-style-rtl.min.css b/includes/admin/settings/css/admin-style-rtl.min.css index 8d33a35e..16f81969 100644 --- a/includes/admin/settings/css/admin-style-rtl.min.css +++ b/includes/admin/settings/css/admin-style-rtl.min.css @@ -1 +1 @@ -.wz-repeater-wrapper{position:relative;margin-bottom:1.5rem}.wz-repeater-wrapper .wz-repeater-item{display:flex;flex-direction:column;background:#f9f9f9;border:1px solid #ddd;padding:1rem;margin-bottom:1rem;border-radius:4px}.wz-repeater-item .repeater-item-header{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;background:100% 0;color:inherit;font:inherit;text-align:start;border-bottom:1px solid #ddd;border-top:0;border-left:0;border-right:0;padding-bottom:.5rem;cursor:pointer;font-weight:700}.wz-repeater-item .repeater-item-header:focus-visible{outline:2px solid #2271b1;outline-offset:2px}.wz-repeater-field-header{margin-bottom:.5rem}.wz-repeater-field-label{font-weight:700;font-size:.9rem}.wz-repeater-field-input{margin-bottom:1rem}.repeater-item-actions{display:flex;gap:.5rem;justify-content:flex-start;margin-top:1rem}.repeater-item-actions .button{display:inline-flex;align-items:center;gap:.25rem}.repeater-item-actions .dashicons{font-size:16px}.repeater-item-actions .move-down,.repeater-item-actions .move-up{background:#f4f4f4;color:#333;border:1px solid #ddd;border-radius:3px;padding:.5rem}.repeater-item-actions .move-down:hover,.repeater-item-actions .move-up:hover{background:#e0e0e0}.repeater-item-actions .remove-item{background:#fdd;border-color:#fbb}.repeater-item-actions .remove-item:hover{background:#fbb}.wz-repeater-wrapper .add-item{background-color:#0073aa;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem}.wz-repeater-wrapper .add-item:hover{background-color:#005177;color:#fff;border-color:#004063}.repeater-template{display:none}.wz-repeater-disabled .add-item,.wz-repeater-disabled .repeater-item-actions .button{pointer-events:none;opacity:.5;cursor:not-allowed}.wz-repeater-disabled .add-item:hover{background-color:#0073aa}@media screen and (max-width:768px){.wz-repeater-wrapper{margin-bottom:1rem}.wz-repeater-item{flex-direction:column}.repeater-item-actions{flex-direction:column;align-items:flex-start}.repeater-item-actions .button{margin-bottom:.5rem}}@media screen and (max-width:480px){.wz-repeater-field-label{font-size:.85rem}.wz-repeater-field-input{font-size:.85rem}.repeater-item-actions .button{font-size:.85rem}.add-item{font-size:1rem;padding:.5rem}}.wz-repeater-item{background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);margin-bottom:15px;border-radius:3px}.repeater-item-content{padding:15px}.wz-repeater-field{margin-bottom:15px}.wz-repeater-field:last-child{margin-bottom:0}.wz-repeater-field-header{margin-bottom:8px}.wz-repeater-field-label{display:block;font-weight:600;margin-bottom:4px}.wz-repeater-field-description{color:#666;font-style:italic;margin:4px 0 0;font-size:13px}.wz-repeater-field-input input[type=email],.wz-repeater-field-input input[type=number],.wz-repeater-field-input input[type=password],.wz-repeater-field-input input[type=text],.wz-repeater-field-input input[type=url],.wz-repeater-field-input select,.wz-repeater-field-input textarea{width:100%;max-width:100%}.repeater-item-footer{background:#f5f5f5;border-top:1px solid #ddd;padding:10px 15px;text-align:left}.repeater-item-footer .remove-item{color:#b32d2e}.repeater-item-footer .remove-item:hover{color:#dc3232}.repeater-item-footer .dashicons{margin-top:4px}.required{color:#d63638;font-weight:700;margin-right:2px;font-size:1.3em}.ts-wrapper.loading .spinner{display:inline-block;visibility:visible;float:none;margin:5px auto}.ts-wrapper .no-results{padding:5px 10px;color:#666;font-style:italic}.ts-wrapper.form-control{border:1px solid #8c8f94;border-radius:4px;min-height:30px}.ts-wrapper.focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}.ts-dropdown{border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.ts-dropdown .option{padding:6px 10px}.ts-dropdown .active{background-color:#2271b1;color:#fff}.ts-wrapper.single.plugin-clear_button{position:relative}.ts-wrapper.single .clear-button{position:absolute;top:50%;left:8px;transform:translateY(-50%);font-size:2em}.wz-toggle{position:relative;display:inline-block;width:40px;height:22px;vertical-align:middle}.wz-toggle input[type=checkbox]{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.wz-toggle .wz-toggle-slider{position:absolute;inset:0;background-color:#8c8f94;border-radius:11px;transition:background-color .2s ease;pointer-events:none}.wz-toggle .wz-toggle-slider::before{content:"";position:absolute;top:2px;right:2px;width:18px;height:18px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider{background-color:#2271b1}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider::before{transform:translateX(-18px)}.wz-toggle input[type=checkbox]:focus-visible+.wz-toggle-slider{outline:2px solid #2271b1;outline-offset:2px}.wz-toggle input[type=checkbox]:disabled{cursor:not-allowed}.wz-toggle input[type=checkbox]:disabled+.wz-toggle-slider{opacity:.5}#post-body.wz-settings-post-body{display:flex;align-items:flex-start;gap:24px}#post-body.wz-settings-post-body>#postbox-container-1{flex:0 0 280px;width:280px}.wz-vertical-tabs{display:flex;align-items:flex-start;flex:1 1 auto;min-width:0;gap:24px}.wz-vertical-tabs>ul.nav-tab-wrapper{flex:0 0 auto;width:fit-content;min-width:160px;max-width:260px;display:flex;flex-direction:column;gap:2px;align-self:flex-start;margin:0;padding:8px;background:#fff;border:1px solid #c3c4c7;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);position:sticky;top:46px}.wz-vertical-tabs>ul.nav-tab-wrapper li{margin:0;padding:0;border:0;background:100% 0;list-style:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab{display:block;float:none;margin:0;padding:8px 12px;border:none;border-radius:3px;background:100% 0;color:#2c3338;font-weight:500;transition:background-color .15s ease,color .15s ease}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:hover{background-color:#f0f0f1;color:#2271b1;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:focus-visible{outline:2px solid #2271b1;outline-offset:-2px;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:focus,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:hover{background-color:#2271b1;color:#fff}.wz-vertical-tabs>form{flex:1;min-width:0;margin-top:0}.wz-vertical-tabs .CodeMirror{max-width:100%}@media screen and (max-width:782px){#post-body.wz-settings-post-body{display:block}.wz-vertical-tabs{display:block}.wz-vertical-tabs>ul.nav-tab-wrapper{flex-direction:row;flex-wrap:wrap;width:auto;max-width:none;position:static;margin-bottom:16px}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{flex:1 1 100%}}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{margin:0 0 8px;padding:0}.wz-settings-search-box{position:relative;display:block}.wz-settings-search{width:100%;margin:0;padding:4px 8px 4px 28px;border:1px solid #8c8f94;border-radius:3px;font-size:13px;line-height:1.6}.wz-settings-search:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:0}.wz-settings-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.wz-settings-search-clear{position:absolute;top:50%;left:4px;transform:translateY(-50%);margin:0;padding:0 6px;border:0;border-radius:2px;background:100% 0;color:#646970;cursor:pointer;font-size:18px;line-height:1.2}.wz-settings-search-clear:hover{color:#d63638}.wz-settings-search-clear:focus-visible{outline:2px solid #2271b1;outline-offset:1px}.wz-settings-search-clear[hidden]{display:none}.wz-search-hidden{display:none!important}.wz-vertical-tabs.wz-searching>form>div{display:none!important}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches{display:block!important;margin-bottom:24px}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>p{display:none}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>table.form-table{margin-top:0}.wz-section-title{display:none}.wz-vertical-tabs.wz-searching .wz-section-title{display:block;margin:0;padding:6px 10px;background:#f0f0f1;border-right:4px solid #2271b1;color:#50575e;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.wz-search-actions{position:sticky;bottom:0;margin:0;padding:12px 0;background:linear-gradient(to bottom,rgba(240,240,241,0),#f0f0f1 40%)}.wz-tab-count{display:inline-block;margin-right:6px;padding:0 6px;border-radius:9px;background-color:#2271b1;color:#fff;font-size:11px;line-height:18px;vertical-align:middle}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active .wz-tab-count{background-color:#fff;color:#2271b1}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-tab-no-matches{opacity:.45}mark.wz-search-mark{padding:0;background-color:#fff3ad;color:inherit}.wz-search-no-results{margin:16px 0;padding:12px;background:#fff;border-right:4px solid #dba617;box-shadow:0 1px 1px rgba(0,0,0,.04)}.wz-modified-dot{display:inline-block;width:8px;height:8px;margin:0 2px 0 6px;border-radius:50%;background-color:#dba617;vertical-align:middle}.wz-modified-legend{margin-top:4px;color:#646970;font-size:12px}.wz-modified-legend .wz-modified-dot{margin-right:0}form>div:not(:has(.form-table .wz-modified-dot)) .wz-modified-legend{display:none}.wz-default-value{color:#646970;font-size:12px}.wz-default-value code{font-size:11px;padding:1px 5px;overflow-wrap:anywhere;word-break:break-word} \ No newline at end of file +.wz-repeater-wrapper{position:relative;margin-bottom:1.5rem}.wz-repeater-wrapper .wz-repeater-item{display:flex;flex-direction:column;background:#f9f9f9;border:1px solid #ddd;padding:1rem;margin-bottom:1rem;border-radius:4px}.wz-repeater-item .repeater-item-header{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;background:100% 0;color:inherit;font:inherit;text-align:start;border-bottom:1px solid #ddd;border-top:0;border-left:0;border-right:0;padding-bottom:.5rem;cursor:pointer;font-weight:700}.wz-repeater-item .repeater-item-header:focus-visible{outline:2px solid #2271b1;outline-offset:2px}.wz-repeater-field-header{margin-bottom:.5rem}.wz-repeater-field-label{font-weight:700;font-size:.9rem}.wz-repeater-field-input{margin-bottom:1rem}.repeater-item-actions{display:flex;gap:.5rem;justify-content:flex-start;margin-top:1rem}.repeater-item-actions .button{display:inline-flex;align-items:center;gap:.25rem}.repeater-item-actions .dashicons{font-size:16px}.repeater-item-actions .move-down,.repeater-item-actions .move-up{background:#f4f4f4;color:#333;border:1px solid #ddd;border-radius:3px;padding:.5rem}.repeater-item-actions .move-down:hover,.repeater-item-actions .move-up:hover{background:#e0e0e0}.repeater-item-actions .remove-item{background:#fdd;border-color:#fbb}.repeater-item-actions .remove-item:hover{background:#fbb}.wz-repeater-wrapper .add-item{background-color:#0073aa;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem}.wz-repeater-wrapper .add-item:hover{background-color:#005177;color:#fff;border-color:#004063}.repeater-template{display:none}.wz-repeater-disabled .add-item,.wz-repeater-disabled .repeater-item-actions .button{pointer-events:none;opacity:.5;cursor:not-allowed}.wz-repeater-disabled .add-item:hover{background-color:#0073aa}@media screen and (max-width:768px){.wz-repeater-wrapper{margin-bottom:1rem}.wz-repeater-item{flex-direction:column}.repeater-item-actions{flex-direction:column;align-items:flex-start}.repeater-item-actions .button{margin-bottom:.5rem}}@media screen and (max-width:480px){.wz-repeater-field-label{font-size:.85rem}.wz-repeater-field-input{font-size:.85rem}.repeater-item-actions .button{font-size:.85rem}.add-item{font-size:1rem;padding:.5rem}}.wz-repeater-item{background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);margin-bottom:15px;border-radius:3px}.repeater-item-content{padding:15px}.wz-repeater-field{margin-bottom:15px}.wz-repeater-field:last-child{margin-bottom:0}.wz-repeater-field-header{margin-bottom:8px}.wz-repeater-field-label{display:block;font-weight:600;margin-bottom:4px}.wz-repeater-field-description{color:#666;font-style:italic;margin:4px 0 0;font-size:13px}.wz-repeater-field-input input[type=email],.wz-repeater-field-input input[type=number],.wz-repeater-field-input input[type=password],.wz-repeater-field-input input[type=text],.wz-repeater-field-input input[type=url],.wz-repeater-field-input select,.wz-repeater-field-input textarea{width:100%;max-width:100%}.repeater-item-footer{background:#f5f5f5;border-top:1px solid #ddd;padding:10px 15px;text-align:left}.repeater-item-footer .remove-item{color:#b32d2e}.repeater-item-footer .remove-item:hover{color:#dc3232}.repeater-item-footer .dashicons{margin-top:4px}.required{color:#d63638;font-weight:700;margin-right:2px;font-size:1.3em}.ts-wrapper.loading .spinner{display:inline-block;visibility:visible;float:none;margin:5px auto}.ts-wrapper .no-results{padding:5px 10px;color:#666;font-style:italic}.ts-wrapper.form-control{border:1px solid #8c8f94;border-radius:4px;min-height:30px}.ts-wrapper.focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}.ts-dropdown{border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.ts-dropdown .option{padding:6px 10px}.ts-dropdown .active{background-color:#2271b1;color:#fff}.ts-wrapper.single.plugin-clear_button{position:relative}.ts-wrapper.single .clear-button{position:absolute;top:50%;left:8px;transform:translateY(-50%);font-size:2em}.wz-toggle{position:relative;display:inline-block;width:40px;height:22px;vertical-align:middle}.wz-toggle input[type=checkbox]{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.wz-toggle .wz-toggle-slider{position:absolute;inset:0;background-color:#8c8f94;border-radius:11px;transition:background-color .2s ease;pointer-events:none}.wz-toggle .wz-toggle-slider::before{content:"";position:absolute;top:2px;right:2px;width:18px;height:18px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider{background-color:#2271b1}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider::before{transform:translateX(-18px)}.wz-toggle input[type=checkbox]:focus-visible+.wz-toggle-slider{outline:2px solid #2271b1;outline-offset:2px}.wz-toggle input[type=checkbox]:disabled{cursor:not-allowed}.wz-toggle input[type=checkbox]:disabled+.wz-toggle-slider{opacity:.5}#post-body.wz-settings-post-body{display:flex;align-items:flex-start;gap:24px}#post-body.wz-settings-post-body>#postbox-container-1{flex:0 0 280px;width:280px}.wz-vertical-tabs{display:flex;align-items:flex-start;flex:1 1 auto;min-width:0;gap:24px}.wz-vertical-tabs>ul.nav-tab-wrapper{flex:0 0 auto;width:fit-content;min-width:160px;max-width:260px;display:flex;flex-direction:column;gap:2px;align-self:flex-start;margin:0;padding:8px;background:#fff;border:1px solid #c3c4c7;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);position:sticky;top:46px}.wz-vertical-tabs>ul.nav-tab-wrapper li{margin:0;padding:0;border:0;background:100% 0;list-style:none}.wz-vertical-tabs>ul.nav-tab-wrapper li.wz-settings-nav-save{margin-top:12px}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-nav-save .button{width:100%}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab{display:block;float:none;margin:0;padding:8px 12px;border:none;border-radius:3px;background:100% 0;color:#2c3338;font-weight:500;transition:background-color .15s ease,color .15s ease}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:hover{background-color:#f0f0f1;color:#2271b1;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:focus-visible{outline:2px solid #2271b1;outline-offset:-2px;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:focus,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:hover{background-color:#2271b1;color:#fff}.wz-vertical-tabs>form{flex:1;min-width:0;margin-top:0}.wz-vertical-tabs .CodeMirror{max-width:100%}@media screen and (max-width:782px){#post-body.wz-settings-post-body{display:block}.wz-vertical-tabs{display:block}.wz-vertical-tabs>ul.nav-tab-wrapper{flex-direction:row;flex-wrap:wrap;width:auto;max-width:none;position:static;margin-bottom:16px}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{flex:1 1 100%}.wz-vertical-tabs>ul.nav-tab-wrapper li.wz-settings-nav-save{flex:1 1 100%}}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{margin:0 0 8px;padding:0}.wz-settings-search-box{position:relative;display:block}.wz-settings-search{width:100%;margin:0;padding:4px 8px 4px 28px;border:1px solid #8c8f94;border-radius:3px;font-size:13px;line-height:1.6}.wz-settings-search:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:0}.wz-settings-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.wz-settings-search-clear{position:absolute;top:50%;left:4px;transform:translateY(-50%);margin:0;padding:0 6px;border:0;border-radius:2px;background:100% 0;color:#646970;cursor:pointer;font-size:18px;line-height:1.2}.wz-settings-search-clear:hover{color:#d63638}.wz-settings-search-clear:focus-visible{outline:2px solid #2271b1;outline-offset:1px}.wz-settings-search-clear[hidden]{display:none}.wz-search-hidden{display:none!important}.wz-vertical-tabs.wz-searching>form>div{display:none!important}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches{display:block!important;margin-bottom:24px}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>p{display:none}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>table.form-table{margin-top:0}.wz-section-title{display:none}.wz-vertical-tabs.wz-searching .wz-section-title{display:block;margin:0;padding:6px 10px;background:#f0f0f1;border-right:4px solid #2271b1;color:#50575e;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.wz-search-actions{position:sticky;bottom:0;margin:0;padding:12px 0;background:linear-gradient(to bottom,rgba(240,240,241,0),#f0f0f1 40%)}.wz-tab-count{display:inline-block;margin-right:6px;padding:0 6px;border-radius:9px;background-color:#2271b1;color:#fff;font-size:11px;line-height:18px;vertical-align:middle}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active .wz-tab-count{background-color:#fff;color:#2271b1}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-tab-no-matches{opacity:.45}mark.wz-search-mark{padding:0;background-color:#fff3ad;color:inherit}.wz-search-no-results{margin:16px 0;padding:12px;background:#fff;border-right:4px solid #dba617;box-shadow:0 1px 1px rgba(0,0,0,.04)}.wz-modified-dot{display:inline-block;width:8px;height:8px;margin:0 2px 0 6px;border-radius:50%;background-color:#dba617;vertical-align:middle}.wz-modified-legend{margin-top:4px;color:#646970;font-size:12px}.wz-modified-legend .wz-modified-dot{margin-right:0}form>div:not(:has(.form-table .wz-modified-dot)) .wz-modified-legend{display:none}.wz-default-value{color:#646970;font-size:12px}.wz-default-value code{font-size:11px;padding:1px 5px;overflow-wrap:anywhere;word-break:break-word} \ No newline at end of file diff --git a/includes/admin/settings/css/admin-style.css b/includes/admin/settings/css/admin-style.css index 7ec648db..68275ad7 100644 --- a/includes/admin/settings/css/admin-style.css +++ b/includes/admin/settings/css/admin-style.css @@ -418,6 +418,14 @@ list-style: none; } +.wz-vertical-tabs > ul.nav-tab-wrapper li.wz-settings-nav-save { + margin-top: 12px; +} + +.wz-vertical-tabs > ul.nav-tab-wrapper .wz-settings-nav-save .button { + width: 100%; +} + .wz-vertical-tabs > ul.nav-tab-wrapper .nav-tab { display: block; float: none; @@ -483,6 +491,10 @@ .wz-vertical-tabs > ul.nav-tab-wrapper .wz-settings-search-wrap { flex: 1 1 100%; } + + .wz-vertical-tabs > ul.nav-tab-wrapper li.wz-settings-nav-save { + flex: 1 1 100%; + } } /* Settings search. */ diff --git a/includes/admin/settings/css/admin-style.min.css b/includes/admin/settings/css/admin-style.min.css index ff5902b5..3db70224 100644 --- a/includes/admin/settings/css/admin-style.min.css +++ b/includes/admin/settings/css/admin-style.min.css @@ -1 +1 @@ -.wz-repeater-wrapper{position:relative;margin-bottom:1.5rem}.wz-repeater-wrapper .wz-repeater-item{display:flex;flex-direction:column;background:#f9f9f9;border:1px solid #ddd;padding:1rem;margin-bottom:1rem;border-radius:4px}.wz-repeater-item .repeater-item-header{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;background:0 0;color:inherit;font:inherit;text-align:start;border-bottom:1px solid #ddd;border-top:0;border-right:0;border-left:0;padding-bottom:.5rem;cursor:pointer;font-weight:700}.wz-repeater-item .repeater-item-header:focus-visible{outline:2px solid #2271b1;outline-offset:2px}.wz-repeater-field-header{margin-bottom:.5rem}.wz-repeater-field-label{font-weight:700;font-size:.9rem}.wz-repeater-field-input{margin-bottom:1rem}.repeater-item-actions{display:flex;gap:.5rem;justify-content:flex-start;margin-top:1rem}.repeater-item-actions .button{display:inline-flex;align-items:center;gap:.25rem}.repeater-item-actions .dashicons{font-size:16px}.repeater-item-actions .move-down,.repeater-item-actions .move-up{background:#f4f4f4;color:#333;border:1px solid #ddd;border-radius:3px;padding:.5rem}.repeater-item-actions .move-down:hover,.repeater-item-actions .move-up:hover{background:#e0e0e0}.repeater-item-actions .remove-item{background:#fdd;border-color:#fbb}.repeater-item-actions .remove-item:hover{background:#fbb}.wz-repeater-wrapper .add-item{background-color:#0073aa;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem}.wz-repeater-wrapper .add-item:hover{background-color:#005177;color:#fff;border-color:#004063}.repeater-template{display:none}.wz-repeater-disabled .add-item,.wz-repeater-disabled .repeater-item-actions .button{pointer-events:none;opacity:.5;cursor:not-allowed}.wz-repeater-disabled .add-item:hover{background-color:#0073aa}@media screen and (max-width:768px){.wz-repeater-wrapper{margin-bottom:1rem}.wz-repeater-item{flex-direction:column}.repeater-item-actions{flex-direction:column;align-items:flex-start}.repeater-item-actions .button{margin-bottom:.5rem}}@media screen and (max-width:480px){.wz-repeater-field-label{font-size:.85rem}.wz-repeater-field-input{font-size:.85rem}.repeater-item-actions .button{font-size:.85rem}.add-item{font-size:1rem;padding:.5rem}}.wz-repeater-item{background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);margin-bottom:15px;border-radius:3px}.repeater-item-content{padding:15px}.wz-repeater-field{margin-bottom:15px}.wz-repeater-field:last-child{margin-bottom:0}.wz-repeater-field-header{margin-bottom:8px}.wz-repeater-field-label{display:block;font-weight:600;margin-bottom:4px}.wz-repeater-field-description{color:#666;font-style:italic;margin:4px 0 0;font-size:13px}.wz-repeater-field-input input[type=email],.wz-repeater-field-input input[type=number],.wz-repeater-field-input input[type=password],.wz-repeater-field-input input[type=text],.wz-repeater-field-input input[type=url],.wz-repeater-field-input select,.wz-repeater-field-input textarea{width:100%;max-width:100%}.repeater-item-footer{background:#f5f5f5;border-top:1px solid #ddd;padding:10px 15px;text-align:right}.repeater-item-footer .remove-item{color:#b32d2e}.repeater-item-footer .remove-item:hover{color:#dc3232}.repeater-item-footer .dashicons{margin-top:4px}.required{color:#d63638;font-weight:700;margin-left:2px;font-size:1.3em}.ts-wrapper.loading .spinner{display:inline-block;visibility:visible;float:none;margin:5px auto}.ts-wrapper .no-results{padding:5px 10px;color:#666;font-style:italic}.ts-wrapper.form-control{border:1px solid #8c8f94;border-radius:4px;min-height:30px}.ts-wrapper.focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}.ts-dropdown{border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.ts-dropdown .option{padding:6px 10px}.ts-dropdown .active{background-color:#2271b1;color:#fff}.ts-wrapper.single.plugin-clear_button{position:relative}.ts-wrapper.single .clear-button{position:absolute;top:50%;right:8px;transform:translateY(-50%);font-size:2em}.wz-toggle{position:relative;display:inline-block;width:40px;height:22px;vertical-align:middle}.wz-toggle input[type=checkbox]{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.wz-toggle .wz-toggle-slider{position:absolute;inset:0;background-color:#8c8f94;border-radius:11px;transition:background-color .2s ease;pointer-events:none}.wz-toggle .wz-toggle-slider::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider{background-color:#2271b1}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider::before{transform:translateX(18px)}.wz-toggle input[type=checkbox]:focus-visible+.wz-toggle-slider{outline:2px solid #2271b1;outline-offset:2px}.wz-toggle input[type=checkbox]:disabled{cursor:not-allowed}.wz-toggle input[type=checkbox]:disabled+.wz-toggle-slider{opacity:.5}#post-body.wz-settings-post-body{display:flex;align-items:flex-start;gap:24px}#post-body.wz-settings-post-body>#postbox-container-1{flex:0 0 280px;width:280px}.wz-vertical-tabs{display:flex;align-items:flex-start;flex:1 1 auto;min-width:0;gap:24px}.wz-vertical-tabs>ul.nav-tab-wrapper{flex:0 0 auto;width:fit-content;min-width:160px;max-width:260px;display:flex;flex-direction:column;gap:2px;align-self:flex-start;margin:0;padding:8px;background:#fff;border:1px solid #c3c4c7;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);position:sticky;top:46px}.wz-vertical-tabs>ul.nav-tab-wrapper li{margin:0;padding:0;border:0;background:0 0;list-style:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab{display:block;float:none;margin:0;padding:8px 12px;border:none;border-radius:3px;background:0 0;color:#2c3338;font-weight:500;transition:background-color .15s ease,color .15s ease}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:hover{background-color:#f0f0f1;color:#2271b1;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:focus-visible{outline:2px solid #2271b1;outline-offset:-2px;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:focus,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:hover{background-color:#2271b1;color:#fff}.wz-vertical-tabs>form{flex:1;min-width:0;margin-top:0}.wz-vertical-tabs .CodeMirror{max-width:100%}@media screen and (max-width:782px){#post-body.wz-settings-post-body{display:block}.wz-vertical-tabs{display:block}.wz-vertical-tabs>ul.nav-tab-wrapper{flex-direction:row;flex-wrap:wrap;width:auto;max-width:none;position:static;margin-bottom:16px}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{flex:1 1 100%}}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{margin:0 0 8px;padding:0}.wz-settings-search-box{position:relative;display:block}.wz-settings-search{width:100%;margin:0;padding:4px 28px 4px 8px;border:1px solid #8c8f94;border-radius:3px;font-size:13px;line-height:1.6}.wz-settings-search:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:0}.wz-settings-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.wz-settings-search-clear{position:absolute;top:50%;right:4px;transform:translateY(-50%);margin:0;padding:0 6px;border:0;border-radius:2px;background:0 0;color:#646970;cursor:pointer;font-size:18px;line-height:1.2}.wz-settings-search-clear:hover{color:#d63638}.wz-settings-search-clear:focus-visible{outline:2px solid #2271b1;outline-offset:1px}.wz-settings-search-clear[hidden]{display:none}.wz-search-hidden{display:none!important}.wz-vertical-tabs.wz-searching>form>div{display:none!important}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches{display:block!important;margin-bottom:24px}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>p{display:none}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>table.form-table{margin-top:0}.wz-section-title{display:none}.wz-vertical-tabs.wz-searching .wz-section-title{display:block;margin:0;padding:6px 10px;background:#f0f0f1;border-left:4px solid #2271b1;color:#50575e;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.wz-search-actions{position:sticky;bottom:0;margin:0;padding:12px 0;background:linear-gradient(to bottom,rgba(240,240,241,0),#f0f0f1 40%)}.wz-tab-count{display:inline-block;margin-left:6px;padding:0 6px;border-radius:9px;background-color:#2271b1;color:#fff;font-size:11px;line-height:18px;vertical-align:middle}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active .wz-tab-count{background-color:#fff;color:#2271b1}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-tab-no-matches{opacity:.45}mark.wz-search-mark{padding:0;background-color:#fff3ad;color:inherit}.wz-search-no-results{margin:16px 0;padding:12px;background:#fff;border-left:4px solid #dba617;box-shadow:0 1px 1px rgba(0,0,0,.04)}.wz-modified-dot{display:inline-block;width:8px;height:8px;margin:0 6px 0 2px;border-radius:50%;background-color:#dba617;vertical-align:middle}.wz-modified-legend{margin-top:4px;color:#646970;font-size:12px}.wz-modified-legend .wz-modified-dot{margin-left:0}form>div:not(:has(.form-table .wz-modified-dot)) .wz-modified-legend{display:none}.wz-default-value{color:#646970;font-size:12px}.wz-default-value code{font-size:11px;padding:1px 5px;overflow-wrap:anywhere;word-break:break-word} \ No newline at end of file +.wz-repeater-wrapper{position:relative;margin-bottom:1.5rem}.wz-repeater-wrapper .wz-repeater-item{display:flex;flex-direction:column;background:#f9f9f9;border:1px solid #ddd;padding:1rem;margin-bottom:1rem;border-radius:4px}.wz-repeater-item .repeater-item-header{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;background:0 0;color:inherit;font:inherit;text-align:start;border-bottom:1px solid #ddd;border-top:0;border-right:0;border-left:0;padding-bottom:.5rem;cursor:pointer;font-weight:700}.wz-repeater-item .repeater-item-header:focus-visible{outline:2px solid #2271b1;outline-offset:2px}.wz-repeater-field-header{margin-bottom:.5rem}.wz-repeater-field-label{font-weight:700;font-size:.9rem}.wz-repeater-field-input{margin-bottom:1rem}.repeater-item-actions{display:flex;gap:.5rem;justify-content:flex-start;margin-top:1rem}.repeater-item-actions .button{display:inline-flex;align-items:center;gap:.25rem}.repeater-item-actions .dashicons{font-size:16px}.repeater-item-actions .move-down,.repeater-item-actions .move-up{background:#f4f4f4;color:#333;border:1px solid #ddd;border-radius:3px;padding:.5rem}.repeater-item-actions .move-down:hover,.repeater-item-actions .move-up:hover{background:#e0e0e0}.repeater-item-actions .remove-item{background:#fdd;border-color:#fbb}.repeater-item-actions .remove-item:hover{background:#fbb}.wz-repeater-wrapper .add-item{background-color:#0073aa;color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem}.wz-repeater-wrapper .add-item:hover{background-color:#005177;color:#fff;border-color:#004063}.repeater-template{display:none}.wz-repeater-disabled .add-item,.wz-repeater-disabled .repeater-item-actions .button{pointer-events:none;opacity:.5;cursor:not-allowed}.wz-repeater-disabled .add-item:hover{background-color:#0073aa}@media screen and (max-width:768px){.wz-repeater-wrapper{margin-bottom:1rem}.wz-repeater-item{flex-direction:column}.repeater-item-actions{flex-direction:column;align-items:flex-start}.repeater-item-actions .button{margin-bottom:.5rem}}@media screen and (max-width:480px){.wz-repeater-field-label{font-size:.85rem}.wz-repeater-field-input{font-size:.85rem}.repeater-item-actions .button{font-size:.85rem}.add-item{font-size:1rem;padding:.5rem}}.wz-repeater-item{background:#fff;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);margin-bottom:15px;border-radius:3px}.repeater-item-content{padding:15px}.wz-repeater-field{margin-bottom:15px}.wz-repeater-field:last-child{margin-bottom:0}.wz-repeater-field-header{margin-bottom:8px}.wz-repeater-field-label{display:block;font-weight:600;margin-bottom:4px}.wz-repeater-field-description{color:#666;font-style:italic;margin:4px 0 0;font-size:13px}.wz-repeater-field-input input[type=email],.wz-repeater-field-input input[type=number],.wz-repeater-field-input input[type=password],.wz-repeater-field-input input[type=text],.wz-repeater-field-input input[type=url],.wz-repeater-field-input select,.wz-repeater-field-input textarea{width:100%;max-width:100%}.repeater-item-footer{background:#f5f5f5;border-top:1px solid #ddd;padding:10px 15px;text-align:right}.repeater-item-footer .remove-item{color:#b32d2e}.repeater-item-footer .remove-item:hover{color:#dc3232}.repeater-item-footer .dashicons{margin-top:4px}.required{color:#d63638;font-weight:700;margin-left:2px;font-size:1.3em}.ts-wrapper.loading .spinner{display:inline-block;visibility:visible;float:none;margin:5px auto}.ts-wrapper .no-results{padding:5px 10px;color:#666;font-style:italic}.ts-wrapper.form-control{border:1px solid #8c8f94;border-radius:4px;min-height:30px}.ts-wrapper.focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}.ts-dropdown{border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.ts-dropdown .option{padding:6px 10px}.ts-dropdown .active{background-color:#2271b1;color:#fff}.ts-wrapper.single.plugin-clear_button{position:relative}.ts-wrapper.single .clear-button{position:absolute;top:50%;right:8px;transform:translateY(-50%);font-size:2em}.wz-toggle{position:relative;display:inline-block;width:40px;height:22px;vertical-align:middle}.wz-toggle input[type=checkbox]{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.wz-toggle .wz-toggle-slider{position:absolute;inset:0;background-color:#8c8f94;border-radius:11px;transition:background-color .2s ease;pointer-events:none}.wz-toggle .wz-toggle-slider::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider{background-color:#2271b1}.wz-toggle input[type=checkbox]:checked+.wz-toggle-slider::before{transform:translateX(18px)}.wz-toggle input[type=checkbox]:focus-visible+.wz-toggle-slider{outline:2px solid #2271b1;outline-offset:2px}.wz-toggle input[type=checkbox]:disabled{cursor:not-allowed}.wz-toggle input[type=checkbox]:disabled+.wz-toggle-slider{opacity:.5}#post-body.wz-settings-post-body{display:flex;align-items:flex-start;gap:24px}#post-body.wz-settings-post-body>#postbox-container-1{flex:0 0 280px;width:280px}.wz-vertical-tabs{display:flex;align-items:flex-start;flex:1 1 auto;min-width:0;gap:24px}.wz-vertical-tabs>ul.nav-tab-wrapper{flex:0 0 auto;width:fit-content;min-width:160px;max-width:260px;display:flex;flex-direction:column;gap:2px;align-self:flex-start;margin:0;padding:8px;background:#fff;border:1px solid #c3c4c7;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);position:sticky;top:46px}.wz-vertical-tabs>ul.nav-tab-wrapper li{margin:0;padding:0;border:0;background:0 0;list-style:none}.wz-vertical-tabs>ul.nav-tab-wrapper li.wz-settings-nav-save{margin-top:12px}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-nav-save .button{width:100%}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab{display:block;float:none;margin:0;padding:8px 12px;border:none;border-radius:3px;background:0 0;color:#2c3338;font-weight:500;transition:background-color .15s ease,color .15s ease}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:hover{background-color:#f0f0f1;color:#2271b1;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab:focus-visible{outline:2px solid #2271b1;outline-offset:-2px;box-shadow:none}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:focus,.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active:hover{background-color:#2271b1;color:#fff}.wz-vertical-tabs>form{flex:1;min-width:0;margin-top:0}.wz-vertical-tabs .CodeMirror{max-width:100%}@media screen and (max-width:782px){#post-body.wz-settings-post-body{display:block}.wz-vertical-tabs{display:block}.wz-vertical-tabs>ul.nav-tab-wrapper{flex-direction:row;flex-wrap:wrap;width:auto;max-width:none;position:static;margin-bottom:16px}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{flex:1 1 100%}.wz-vertical-tabs>ul.nav-tab-wrapper li.wz-settings-nav-save{flex:1 1 100%}}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-settings-search-wrap{margin:0 0 8px;padding:0}.wz-settings-search-box{position:relative;display:block}.wz-settings-search{width:100%;margin:0;padding:4px 28px 4px 8px;border:1px solid #8c8f94;border-radius:3px;font-size:13px;line-height:1.6}.wz-settings-search:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:0}.wz-settings-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.wz-settings-search-clear{position:absolute;top:50%;right:4px;transform:translateY(-50%);margin:0;padding:0 6px;border:0;border-radius:2px;background:0 0;color:#646970;cursor:pointer;font-size:18px;line-height:1.2}.wz-settings-search-clear:hover{color:#d63638}.wz-settings-search-clear:focus-visible{outline:2px solid #2271b1;outline-offset:1px}.wz-settings-search-clear[hidden]{display:none}.wz-search-hidden{display:none!important}.wz-vertical-tabs.wz-searching>form>div{display:none!important}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches{display:block!important;margin-bottom:24px}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>p{display:none}.wz-vertical-tabs.wz-searching>form>div.wz-has-matches>table.form-table{margin-top:0}.wz-section-title{display:none}.wz-vertical-tabs.wz-searching .wz-section-title{display:block;margin:0;padding:6px 10px;background:#f0f0f1;border-left:4px solid #2271b1;color:#50575e;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.wz-search-actions{position:sticky;bottom:0;margin:0;padding:12px 0;background:linear-gradient(to bottom,rgba(240,240,241,0),#f0f0f1 40%)}.wz-tab-count{display:inline-block;margin-left:6px;padding:0 6px;border-radius:9px;background-color:#2271b1;color:#fff;font-size:11px;line-height:18px;vertical-align:middle}.wz-vertical-tabs>ul.nav-tab-wrapper .nav-tab-active .wz-tab-count{background-color:#fff;color:#2271b1}.wz-vertical-tabs>ul.nav-tab-wrapper .wz-tab-no-matches{opacity:.45}mark.wz-search-mark{padding:0;background-color:#fff3ad;color:inherit}.wz-search-no-results{margin:16px 0;padding:12px;background:#fff;border-left:4px solid #dba617;box-shadow:0 1px 1px rgba(0,0,0,.04)}.wz-modified-dot{display:inline-block;width:8px;height:8px;margin:0 6px 0 2px;border-radius:50%;background-color:#dba617;vertical-align:middle}.wz-modified-legend{margin-top:4px;color:#646970;font-size:12px}.wz-modified-legend .wz-modified-dot{margin-left:0}form>div:not(:has(.form-table .wz-modified-dot)) .wz-modified-legend{display:none}.wz-default-value{color:#646970;font-size:12px}.wz-default-value code{font-size:11px;padding:1px 5px;overflow-wrap:anywhere;word-break:break-word} \ No newline at end of file diff --git a/includes/frontend/class-display.php b/includes/frontend/class-display.php index 454f9663..fde45786 100644 --- a/includes/frontend/class-display.php +++ b/includes/frontend/class-display.php @@ -659,7 +659,7 @@ public static function get_article_header( $term, int $level, array $args = arra if ( ! empty( $args['clickable_section'] ) ) { $output .= '' . esc_html( $term->name ) . ''; } else { - $output .= esc_html( $term->name ); + $output .= '' . esc_html( $term->name ) . ''; } if ( ! empty( $args['show_article_count'] ) ) { diff --git a/includes/frontend/class-styles-handler.php b/includes/frontend/class-styles-handler.php index 48591873..282a1886 100644 --- a/includes/frontend/class-styles-handler.php +++ b/includes/frontend/class-styles-handler.php @@ -124,7 +124,7 @@ public function register_block_styles() { private function get_style_context() { $rtl_suffix = is_rtl() ? '-rtl' : ''; $min_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; - $kb_style = wzkb_get_option( 'kb_style', 'classic' ); + $kb_style = wzkb_get_option( 'kb_style', 'vibrant' ); $deps = ( 'classic' === $kb_style ) ? array( 'dashicons' ) : array(); $style_url = $this->get_style_url( $kb_style, $rtl_suffix, $min_suffix ); @@ -151,8 +151,27 @@ private function add_common_inline_styles( $handle ) { wp_add_inline_style( $handle, esc_html( $custom_css ) ); } - $columns = absint( wzkb_get_option( 'columns', 2 ) ); - $columns_css = '.wzkb { --wzkb-columns: ' . $columns . '; }'; + $columns = absint( wzkb_get_option( 'columns', 2 ) ); + if ( $columns < 1 ) { + $columns = 1; + } elseif ( $columns > 4 ) { + $columns = 4; + } + + // User column count on :root so preset @media rules can override .wzkb on small screens. + // Setting --wzkb-columns directly on .wzkb here previously beat every mobile breakpoint in the stylesheets. + $columns_css = sprintf( + ':root { --wzkb-columns-user: %1$d; }' . PHP_EOL . + '.wzkb, .wzkb-product-grid { --wzkb-columns: var(--wzkb-columns-user, %1$d); }' . PHP_EOL . + '@media (max-width: 1024px) {' . PHP_EOL . + ' body.wzkb-sidebar-enabled .wzkb,' . PHP_EOL . + ' body.wzkb-sidebar-enabled .wzkb-product-grid { --wzkb-columns: 1; }' . PHP_EOL . + '}' . PHP_EOL . + '@media (max-width: 782px) {' . PHP_EOL . + ' .wzkb, .wzkb-product-grid { --wzkb-columns: 1; }' . PHP_EOL . + '}', + $columns + ); wp_add_inline_style( $handle, $columns_css ); } @@ -165,11 +184,11 @@ private function add_common_inline_styles( $handle ) { * @return array Modified array of body classes. */ public function add_style_body_class( $classes ) { - $kb_style = wzkb_get_option( 'kb_style', 'classic' ); + $kb_style = wzkb_get_option( 'kb_style', 'vibrant' ); $classes[] = 'wzkb-style-' . sanitize_html_class( $kb_style ); // Add sidebar class if enabled. - if ( wzkb_get_option( 'show_sidebar' ) ) { + if ( wzkb_should_show_sidebar() ) { $classes[] = 'wzkb-sidebar-enabled'; } diff --git a/includes/frontend/css/styles/classic-rtl.css b/includes/frontend/css/styles/classic-rtl.css index 8c4b4100..d90f66ae 100644 --- a/includes/frontend/css/styles/classic-rtl.css +++ b/includes/frontend/css/styles/classic-rtl.css @@ -9,12 +9,18 @@ /* CSS Variables for Classic Style - Customization */ :root { - /* Primary colors */ + /* Primary colors (links, pagination); orange for badges + search */ --wzkb-color-primary: #4c51bf; + --wzkb-color-primary-dark: #3f46a8; + /* Orange: bright for accents; darker fill meets WCAG AAA with white text */ + --wzkb-color-orange: #f97316; + --wzkb-color-orange-dark: #c2410c; + --wzkb-fill-accent: #9a3412; + --wzkb-fill-accent-hover: #7c2d12; + --wzkb-color-on-accent: #ffffff; --wzkb-color-text: #333; --wzkb-color-text-medium: #666; --wzkb-color-white: #fff; - --wzkb-color-orange: #f97316; /* Background colors */ --wzkb-bg-white: #fff; @@ -51,6 +57,14 @@ --wzkb-color-text-dark: #202a44; --wzkb-color-accent: #2457ff; --wzkb-color-dark: #1a3a52; + + /* Interactive surfaces (orange matches section count badges) */ + --wzkb-search-submit-bg: var(--wzkb-fill-accent); + --wzkb-search-submit-bg-hover: var(--wzkb-fill-accent-hover); + --wzkb-search-submit-focus-ring: var(--wzkb-fill-accent); + --wzkb-search-submit-color: var(--wzkb-color-on-accent); + --wzkb-badge-bg: var(--wzkb-fill-accent); + --wzkb-badge-color: var(--wzkb-color-on-accent); } /* Category archive (single section view) - disable grid, show full width */ @@ -400,13 +414,13 @@ } /* Section count badge */ -.wzkb-section-count { +.wzkb .wzkb-section-count { display: block; float: left; margin: 0; padding: 6px 14px; - background: var(--wzkb-color-orange); - color: var(--wzkb-color-text) !important; + background: var(--wzkb-badge-bg); + color: var(--wzkb-badge-color); border: none; border-radius: 20px; text-align: center; @@ -494,7 +508,7 @@ body.single-wz_knowledgebase .nav-next { } .wzkb-search-form:focus-within { - border-color: var(--wzkb-color-primary, #667eea); + border-color: var(--wzkb-color-primary); box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2); } @@ -506,7 +520,7 @@ body.single-wz_knowledgebase .nav-next { input[type="search"].wzkb-search-field { border: none; - border-left: 1px solid #ddd; + border-left: 1px solid var(--wzkb-border-medium); border-radius: 0 50px 50px 0; color: var(--wzkb-color-text); font-family: "Open Sans", sans-serif; @@ -521,13 +535,13 @@ input[type="search"].wzkb-search-field { } input[type="search"].wzkb-search-field:focus { - background-color: var(--wzkb-bg-light, #f8f9fa); + background-color: var(--wzkb-bg-light); } input[type="submit"].wzkb-search-submit { display: block; - background: var(--wzkb-color-primary, #667eea); - color: var(--wzkb-color-white); + background: var(--wzkb-search-submit-bg); + color: var(--wzkb-search-submit-color); border: none; border-radius: 50px 0 0 50px; padding: 16px 20px; @@ -542,7 +556,7 @@ input[type="submit"].wzkb-search-submit { } input[type="submit"].wzkb-search-submit:hover { - background: var(--wzkb-color-dark, #5567d8); + background: var(--wzkb-search-submit-bg-hover); transform: translateY(-1px); } @@ -551,7 +565,7 @@ input[type="submit"].wzkb-search-submit:active { } input[type="submit"].wzkb-search-submit:focus { - outline: 2px solid var(--wzkb-color-primary, #667eea); + outline: 2px solid var(--wzkb-search-submit-focus-ring); outline-offset: -2px; } @@ -565,8 +579,8 @@ nav.pagination { width: 100%; margin: 15px 0; padding: 15px 0; - border-top: 1px dotted #ccc; - border-bottom: 1px dotted #ccc; + border-top: 1px dotted var(--wzkb-border-medium); + border-bottom: 1px dotted var(--wzkb-border-medium); text-align: center; } @@ -703,8 +717,8 @@ nav.pagination { .wzkb-product-grid-wrapper { background: linear-gradient( -135deg, - var(--wzkb-gradient-begin, #f3f6ff) 0%, - var(--wzkb-gradient-end, #fefefe) 65% + var(--wzkb-gradient-begin) 0%, + var(--wzkb-gradient-end) 65% ); padding: 32px; border-radius: 28px; @@ -728,7 +742,7 @@ nav.pagination { display: flex; flex-direction: column; justify-content: space-between; - background: var(--wzkb-bg-white, #ffffff); + background: var(--wzkb-bg-white); border-radius: 20px; padding: 24px 24px 28px; border: 1px solid var(--wzkb-border-subtle, rgba(34, 48, 94, 0.08)); @@ -746,8 +760,9 @@ nav.pagination { border-radius: 20px; background: linear-gradient( -135deg, - var(--wzkb-gradient-begin, rgba(80, 110, 255, 0.08)), - var(--wzkb-gradient-end, rgba(0, 172, 193, 0.08)) + color-mix(in srgb, var(--wzkb-color-primary) 8%, var(--wzkb-bg-white)) + 0%, + color-mix(in srgb, var(--wzkb-color-dark) 8%, var(--wzkb-bg-white)) 100% ); opacity: 0; transition: opacity 180ms ease; @@ -758,14 +773,14 @@ nav.pagination { .wzkb-product-card:focus-within { transform: translateY(-2px); box-shadow: 0 25px 50px var(--wzkb-shadow-hover, rgba(22, 33, 82, 0.16)); - background: var(--wzkb-color-primary, #506eff); - color: var(--wzkb-color-white, #ffffff); - border: 1px solid var(--wzkb-color-white, #ffffff); + background: var(--wzkb-color-primary); + color: var(--wzkb-color-white); + border: 1px solid var(--wzkb-color-white); } .wzkb-product-card:hover .wzkb-product-title, .wzkb-product-card:focus-within .wzkb-product-title { - color: var(--wzkb-color-white, #ffffff); + color: var(--wzkb-color-white); } .wzkb-product-card:hover .wzkb-product-description, @@ -805,7 +820,7 @@ nav.pagination { .wzkb-product-card:hover .wzkb-product-card-cta, .wzkb-product-card:focus-within .wzkb-product-card-cta { - color: var(--wzkb-color-white, #ffffff); + color: var(--wzkb-color-white); } .wzkb-product-card:hover::before, @@ -825,12 +840,12 @@ nav.pagination { margin: 0 0 12px; font-size: 1.45rem; font-weight: 700; - color: var(--wzkb-color-text-dark, #202a44); + color: var(--wzkb-color-text-dark); line-height: 1.2; } .wzkb-product-card .wzkb-product-description { - color: var(--wzkb-color-text-medium, #5a6275); + color: var(--wzkb-color-text-medium); font-size: 0.97rem; line-height: 1.6; margin-bottom: 24px; @@ -842,7 +857,7 @@ nav.pagination { gap: 6px; font-weight: 600; font-size: 0.95rem; - color: var(--wzkb-color-accent, #2457ff); + color: var(--wzkb-color-accent); text-transform: uppercase; letter-spacing: 0.05em; } @@ -1084,3 +1099,251 @@ figure.wzkb-search-result-thumb-link { color: var(--wzkb-color-dark); text-decoration: underline; } + +/* Archive mobile spacing @since 3.3.1 */ +:root { + --wzkb-space-xs: 8px; + --wzkb-space-sm: 12px; + --wzkb-space-md: 16px; + --wzkb-space-lg: 24px; + --wzkb-space-xl: 32px; + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-lg); +} + +.wzkb .wzkb-section-name { + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + column-gap: var(--wzkb-space-sm); + row-gap: var(--wzkb-space-xs); + overflow: visible; +} + +.wzkb .wzkb-section-name > a, +.wzkb .wzkb-section-title-text { + grid-column: 1; + min-width: 0; + word-break: break-word; +} + +.wzkb-section-count { + float: none; + grid-column: 2; + grid-row: 1; + display: inline-flex; + align-items: center; + justify-content: center; + justify-self: end; + line-height: 1; + margin: 0; +} + +.wzkb-section { + overflow-x: clip; +} + +/* Search row: equal-height field and submit (all presets) */ +.wzkb-search-form { + align-items: stretch; + flex-wrap: nowrap; +} + +.wzkb-search-form label { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + clip-path: inset(50%); + white-space: nowrap; + border: 0; + flex: 0 0 auto; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field, +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + box-sizing: border-box; + margin: 0; + align-self: stretch; + height: auto; + min-height: 44px; + line-height: 1.25; + -webkit-appearance: none; + appearance: none; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field { + flex: 1 1 auto; + min-width: 0; + width: auto; +} + +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + flex: 0 0 auto; + min-width: 4.5rem; +} + +@media (max-width: 782px) { + :root { + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-md); + } + + .wzkb_breadcrumb { + margin-block: var(--wzkb-space-md) 0; + padding: 10px 14px; + font-size: 14px; + } + + .wzkb-search-form { + margin-block-start: var(--wzkb-space-lg); + margin-block-end: var(--wzkb-space-lg); + font-size: 1rem; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field, + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + font-size: 16px; + padding-block: 12px; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field { + padding-inline: 44px 14px; + background-size: 20px 20px; + background-position: 12px center; + } + + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + padding-inline: 14px; + } + + .wzkb-wrap .page-header { + margin: 0 0 var(--wzkb-space-lg); + } + + .wzkb-wrap .page-title { + margin: 0; + line-height: 1.25; + } + + .wzkb { + margin-block-start: 0; + gap: var(--wzkb-space-section-gap); + } + + .wzkb .wzkb-section-name-level-1:first-child { + margin-top: 0; + } + + .wzkb-section-wrapper > .wzkb-section { + margin-block-start: 0; + } + + .wzkb .wzkb-section-name { + grid-template-columns: 1fr; + align-items: start; + margin-block-end: var(--wzkb-space-md); + } + + .wzkb .wzkb-section-name > a, + .wzkb .wzkb-section-title-text { + grid-column: 1; + } + + .wzkb-section-count { + grid-column: 1; + grid-row: 2; + justify-self: start; + margin-block-start: var(--wzkb-space-xs); + } + + /* Archive section headers: title | badge on one row (incl. nested). */ + .wzkb .wzkb-section-name.wzkb-section-name-level-1, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 { + font-size: 1.125rem; + line-height: 1.3; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + font-size: 1.0625rem; + padding-bottom: 6px; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-1 > a, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 > a { + grid-column: 1; + grid-row: 1; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count { + grid-column: 2; + grid-row: 1; + justify-self: end; + align-self: center; + margin-block-start: 0; + font-size: 12px; + padding: 4px 10px; + min-width: 28px; + } + + .wzkb-category-archive .wzkb-section-wrapper .wzkb-section { + margin-bottom: 0; + } +} +/* Desktop wrapper width @since 3.3.1 */ +/* Override theme .content-area widths (e.g. GeneratePress flex/grid sidebar layouts). */ +.wzkb-wrap #wzkb-content-primary, +.wzkb-wrap #wzkb-content-primary.content-area { + width: 100%; + max-width: 100%; + float: none; + flex: 1 1 auto; + min-width: 0; +} + +.wzkb-wrap > #wzkb-content-primary > .wzkb, +.wzkb-wrap #wzkb-content-primary > .wzkb { + width: 100%; + max-width: 100%; + margin-inline: 0; +} + +/* Two-column wrap only when the KB sidebar column exists (block themes may omit it). */ +body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)) { + display: block; +} + +body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); +} +/* Tablet: stack KB sidebar and use one archive column when the sidebar is on @since 3.3.1 */ +@media (max-width: 1024px) { + body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + grid-template-columns: 1fr; + } + + body.wzkb-sidebar-enabled .wzkb, + body.wzkb-sidebar-enabled .wzkb-product-grid { + --wzkb-columns: 1; + } +} diff --git a/includes/frontend/css/styles/classic-rtl.min.css b/includes/frontend/css/styles/classic-rtl.min.css index d62c3701..80e17834 100644 --- a/includes/frontend/css/styles/classic-rtl.min.css +++ b/includes/frontend/css/styles/classic-rtl.min.css @@ -1 +1 @@ -:root{--wzkb-color-primary:#4c51bf;--wzkb-color-text:#333;--wzkb-color-text-medium:#666;--wzkb-color-white:#fff;--wzkb-color-orange:#f97316;--wzkb-bg-white:#fff;--wzkb-bg-light:#f8f9fa;--wzkb-bg-ghostwhite:#f8f8ff;--wzkb-border-light:#e0e0e0;--wzkb-border-medium:#ddd;--wzkb-breadcrumb-bg:#f8f9fa;--wzkb-breadcrumb-text:#2d3748;--wzkb-breadcrumb-link:#1630A2;--wzkb-breadcrumb-separator:var(--wzkb-color-dark);--wzkb-breadcrumb-separator-color:var(--wzkb-color-dark);--wzkb-breadcrumb-border:#e0e0e0;--wzkb-wrapper-max-width:1280px;--wzkb-list-bullet:"›";--wzkb-gradient-begin:var(--wzkb-color-primary);--wzkb-gradient-end:#1a3a52;--wzkb-product-border:var(--wzkb-border-subtle);--wzkb-shadow-color:rgba(0, 0, 0, 0.08);--wzkb-shadow-hover:rgba(22, 33, 82, 0.16);--wzkb-shadow-medium:rgba(27, 39, 94, 0.08);--wzkb-shadow-large:rgba(14, 21, 47, 0.12);--wzkb-border-subtle:rgba(91, 107, 174, 0.15);--wzkb-color-text-dark:#202a44;--wzkb-color-accent:#2457ff;--wzkb-color-dark:#1a3a52}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:20px}.wzkb{width:100%;max-width:100%;margin:10px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:20px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:1.5rem}.wzkb-product-grid-wrapper{padding:30px 20px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 20px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:30px}.wzkb-product-header{margin-bottom:20px}.wzkb-product-description{font-size:18px;color:var(--wzkb-color-text-medium);margin-top:8px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:34px;line-height:1.2;font-weight:800;margin:0 0 20px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text)}.wzkb-product-title a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:800;transition:opacity .3s ease}.wzkb-product-title a:hover{opacity:.8}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:12px;padding-bottom:8px;overflow:hidden;line-height:1.35;position:relative}.wzkb-section-name-level-1{border-bottom:2px solid var(--wzkb-border-light);border-top:none;padding:8px 0 10px;background-color:transparent;margin-top:24px;margin-bottom:0;grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:26px;font-weight:700}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}@media only screen and (max-width:1200px){.wzkb-articles-list{grid-template-columns:1fr}}.wzkb-search-results-grid>li{list-style:none;padding:0;margin:0}.wzkb-articles-list li{margin:5px 0;padding:0;position:relative;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:16px;font-size:18px;line-height:1.4;font-weight:400;font-family:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:8px;color:var(--wzkb-color-primary)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;position:relative;transition:all .3s ease}.wzkb-articles-list .wzkb-article-excerpt{margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 5px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0;padding:0;line-height:1.4;border:none}.wzkb-products-list ul{list-style:none!important;margin:0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:1px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:var(--wzkb-list-bullet);position:relative;color:var(--wzkb-color-primary);font-weight:600;opacity:.65;line-height:1.4}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-dark);text-decoration:none;font-weight:600;font-size:1rem;position:relative;display:block;padding:0 0 3px;border-bottom:1px solid var(--wzkb-product-border);margin-bottom:5px;transition:color .25s ease}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:.95rem;transition:color .25s ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-right:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:10px 12px;margin-bottom:14px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:15px;margin-bottom:10px;padding-bottom:6px}.wzkb-article-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--wzkb-border-medium);font-size:15px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:opacity .3s ease}.wzkb-article-footer a:hover{opacity:.7}.wzkb-section-count{display:block;float:left;margin:0;padding:6px 14px;background:var(--wzkb-color-orange);color:var(--wzkb-color-text)!important;border:none;border-radius:20px;text-align:center;font-size:13px;font-weight:700;min-width:34px}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 300px;gap:30px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-right:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:left;margin-right:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:50px;background:#fff;padding:0;position:relative;margin:20px auto;font-size:1.3em;width:100%;box-shadow:0 2px 8px var(--wzkb-shadow-color,rgba(0,0,0,.08));overflow:hidden}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary,#667eea);box-shadow:0 2px 12px rgba(102,126,234,.2)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;border-left:1px solid #ddd;border-radius:0 50px 50px 0;color:var(--wzkb-color-text);font-family:"Open Sans",sans-serif;font-size:1em;font-weight:500;padding:16px 52px 16px 24px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:24px 24px;outline:0;transition:background-color .2s ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light,#f8f9fa)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-color-primary,#667eea);color:var(--wzkb-color-white);border:none;border-radius:50px 0 0 50px;padding:16px 20px;font-size:.9em;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease;min-width:70px;font-family:"Open Sans",sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-color-dark,#5567d8);transform:translateY(-1px)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-color-primary,#667eea);outline-offset:-2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:15px 0;padding:15px 0;border-top:1px dotted #ccc;border-bottom:1px dotted #ccc;text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-left:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all .2s ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:12px;border:1px solid var(--wzkb-border-light)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:8px;border:1px solid var(--wzkb-border-light);transition:all .3s ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:0 4px 12px var(--wzkb-shadow-hover,rgba(102,126,234,.15));transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:1.75em;background:var(--wzkb-breadcrumb-bg);padding:14px 24px;border-radius:8px;border:1px solid var(--wzkb-breadcrumb-border);font-size:15px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:opacity .3s ease}.wzkb_breadcrumb-item a:hover{opacity:.8}.wzkb_breadcrumb-item:not(:last-child)::after{content:"\00BB";margin:0 10px;color:var(--wzkb-breadcrumb-separator);font-weight:400}.wzkb-product-grid-wrapper{background:linear-gradient(-135deg,var(--wzkb-gradient-begin,#f3f6ff) 0,var(--wzkb-gradient-end,#fefefe) 65%);padding:32px;border-radius:28px;border:1px solid var(--wzkb-border-subtle,rgba(91,107,174,.15));box-shadow:0 25px 45px var(--wzkb-shadow-large,rgba(14,21,47,.12));margin-top:24px;display:block!important;width:100%!important;grid-column:1/-1!important}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:25px;width:100%}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white,#fff);border-radius:20px;padding:24px 24px 28px;border:1px solid var(--wzkb-border-subtle,rgba(34,48,94,.08));box-shadow:0 15px 35px var(--wzkb-shadow-medium,rgba(27,39,94,.08));transition:transform 180ms ease,box-shadow 180ms ease;min-height:220px}.wzkb-product-card::before{content:"";position:absolute;inset:0;border-radius:20px;background:linear-gradient(-135deg,var(--wzkb-gradient-begin,rgba(80,110,255,.08)),var(--wzkb-gradient-end,rgba(0,172,193,.08)));opacity:0;transition:opacity 180ms ease;z-index:-1}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:0 25px 50px var(--wzkb-shadow-hover,rgba(22,33,82,.16));background:var(--wzkb-color-primary,#506eff);color:var(--wzkb-color-white,#fff);border:1px solid var(--wzkb-color-white,#fff)}.wzkb-product-card:focus-within .wzkb-product-title,.wzkb-product-card:hover .wzkb-product-title{color:var(--wzkb-color-white,#fff)}.wzkb-product-card:focus-within .wzkb-product-description,.wzkb-product-card:hover .wzkb-product-description{color:rgba(255,255,255,.9)}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card:focus-within .wzkb-product-card-cta,.wzkb-product-card:hover .wzkb-product-card-cta{color:var(--wzkb-color-white,#fff)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{opacity:1}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:1.45rem;font-weight:700;color:var(--wzkb-color-text-dark,#202a44);line-height:1.2}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium,#5a6275);font-size:.97rem;line-height:1.6;margin-bottom:24px}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.95rem;color:var(--wzkb-color-accent,#2457ff);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.1em;transition:transform 180ms ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(-6px)}@media (max-width:640px){.wzkb-product-grid-wrapper{padding:20px}.wzkb-product-card{padding:20px}}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-right:0!important;margin-left:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:6px;padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box;box-shadow:0 1px 4px var(--wzkb-shadow-color)}.wzkb-toc-title{font-weight:700;margin:0 0 .5rem;color:var(--wzkb-color-text-dark);font-size:15px}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-right:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-right:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color .2s ease}.wzkb-toc-list a:hover{color:var(--wzkb-color-dark);text-decoration:underline} \ No newline at end of file +:root{--wzkb-color-primary:#4c51bf;--wzkb-color-primary-dark:#3f46a8;--wzkb-color-orange:#f97316;--wzkb-color-orange-dark:#c2410c;--wzkb-fill-accent:#9a3412;--wzkb-fill-accent-hover:#7c2d12;--wzkb-color-on-accent:#ffffff;--wzkb-color-text:#333;--wzkb-color-text-medium:#666;--wzkb-color-white:#fff;--wzkb-bg-white:#fff;--wzkb-bg-light:#f8f9fa;--wzkb-bg-ghostwhite:#f8f8ff;--wzkb-border-light:#e0e0e0;--wzkb-border-medium:#ddd;--wzkb-breadcrumb-bg:#f8f9fa;--wzkb-breadcrumb-text:#2d3748;--wzkb-breadcrumb-link:#1630a2;--wzkb-breadcrumb-separator:var(--wzkb-color-dark);--wzkb-breadcrumb-separator-color:var(--wzkb-color-dark);--wzkb-breadcrumb-border:#e0e0e0;--wzkb-wrapper-max-width:1280px;--wzkb-list-bullet:"›";--wzkb-gradient-begin:var(--wzkb-color-primary);--wzkb-gradient-end:#1a3a52;--wzkb-product-border:var(--wzkb-border-subtle);--wzkb-shadow-color:rgba(0, 0, 0, 0.08);--wzkb-shadow-hover:rgba(22, 33, 82, 0.16);--wzkb-shadow-medium:rgba(27, 39, 94, 0.08);--wzkb-shadow-large:rgba(14, 21, 47, 0.12);--wzkb-border-subtle:rgba(91, 107, 174, 0.15);--wzkb-color-text-dark:#202a44;--wzkb-color-accent:#2457ff;--wzkb-color-dark:#1a3a52;--wzkb-search-submit-bg:var(--wzkb-fill-accent);--wzkb-search-submit-bg-hover:var(--wzkb-fill-accent-hover);--wzkb-search-submit-focus-ring:var(--wzkb-fill-accent);--wzkb-search-submit-color:var(--wzkb-color-on-accent);--wzkb-badge-bg:var(--wzkb-fill-accent);--wzkb-badge-color:var(--wzkb-color-on-accent)}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:20px}.wzkb{width:100%;max-width:100%;margin:10px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:20px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:1.5rem}.wzkb-product-grid-wrapper{padding:30px 20px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 20px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:30px}.wzkb-product-header{margin-bottom:20px}.wzkb-product-description{font-size:18px;color:var(--wzkb-color-text-medium);margin-top:8px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:34px;line-height:1.2;font-weight:800;margin:0 0 20px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text)}.wzkb-product-title a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:800;transition:opacity .3s ease}.wzkb-product-title a:hover{opacity:.8}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:12px;padding-bottom:8px;overflow:hidden;line-height:1.35;position:relative}.wzkb-section-name-level-1{border-bottom:2px solid var(--wzkb-border-light);border-top:none;padding:8px 0 10px;background-color:transparent;margin-top:24px;margin-bottom:0;grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:26px;font-weight:700}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}@media only screen and (max-width:1200px){.wzkb-articles-list{grid-template-columns:1fr}}.wzkb-search-results-grid>li{list-style:none;padding:0;margin:0}.wzkb-articles-list li{margin:5px 0;padding:0;position:relative;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:16px;font-size:18px;line-height:1.4;font-weight:400;font-family:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:8px;color:var(--wzkb-color-primary)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;position:relative;transition:all .3s ease}.wzkb-articles-list .wzkb-article-excerpt{margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 5px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0;padding:0;line-height:1.4;border:none}.wzkb-products-list ul{list-style:none!important;margin:0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:1px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:var(--wzkb-list-bullet);position:relative;color:var(--wzkb-color-primary);font-weight:600;opacity:.65;line-height:1.4}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-dark);text-decoration:none;font-weight:600;font-size:1rem;position:relative;display:block;padding:0 0 3px;border-bottom:1px solid var(--wzkb-product-border);margin-bottom:5px;transition:color .25s ease}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:.95rem;transition:color .25s ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-right:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:10px 12px;margin-bottom:14px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:15px;margin-bottom:10px;padding-bottom:6px}.wzkb-article-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--wzkb-border-medium);font-size:15px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:opacity .3s ease}.wzkb-article-footer a:hover{opacity:.7}.wzkb .wzkb-section-count{display:block;float:left;margin:0;padding:6px 14px;background:var(--wzkb-badge-bg);color:var(--wzkb-badge-color);border:none;border-radius:20px;text-align:center;font-size:13px;font-weight:700;min-width:34px}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 300px;gap:30px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-right:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:left;margin-right:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:50px;background:#fff;padding:0;position:relative;margin:20px auto;font-size:1.3em;width:100%;box-shadow:0 2px 8px var(--wzkb-shadow-color,rgba(0,0,0,.08));overflow:hidden}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary);box-shadow:0 2px 12px rgba(102,126,234,.2)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;border-left:1px solid var(--wzkb-border-medium);border-radius:0 50px 50px 0;color:var(--wzkb-color-text);font-family:"Open Sans",sans-serif;font-size:1em;font-weight:500;padding:16px 52px 16px 24px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:24px 24px;outline:0;transition:background-color .2s ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-search-submit-bg);color:var(--wzkb-search-submit-color);border:none;border-radius:50px 0 0 50px;padding:16px 20px;font-size:.9em;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease;min-width:70px;font-family:"Open Sans",sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-search-submit-bg-hover);transform:translateY(-1px)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-search-submit-focus-ring);outline-offset:-2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:15px 0;padding:15px 0;border-top:1px dotted var(--wzkb-border-medium);border-bottom:1px dotted var(--wzkb-border-medium);text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-left:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all .2s ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:12px;border:1px solid var(--wzkb-border-light)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:8px;border:1px solid var(--wzkb-border-light);transition:all .3s ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:0 4px 12px var(--wzkb-shadow-hover,rgba(102,126,234,.15));transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:1.75em;background:var(--wzkb-breadcrumb-bg);padding:14px 24px;border-radius:8px;border:1px solid var(--wzkb-breadcrumb-border);font-size:15px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:opacity .3s ease}.wzkb_breadcrumb-item a:hover{opacity:.8}.wzkb_breadcrumb-item:not(:last-child)::after{content:"\00BB";margin:0 10px;color:var(--wzkb-breadcrumb-separator);font-weight:400}.wzkb-product-grid-wrapper{background:linear-gradient(-135deg,var(--wzkb-gradient-begin) 0,var(--wzkb-gradient-end) 65%);padding:32px;border-radius:28px;border:1px solid var(--wzkb-border-subtle,rgba(91,107,174,.15));box-shadow:0 25px 45px var(--wzkb-shadow-large,rgba(14,21,47,.12));margin-top:24px;display:block!important;width:100%!important;grid-column:1/-1!important}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:25px;width:100%}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white);border-radius:20px;padding:24px 24px 28px;border:1px solid var(--wzkb-border-subtle,rgba(34,48,94,.08));box-shadow:0 15px 35px var(--wzkb-shadow-medium,rgba(27,39,94,.08));transition:transform 180ms ease,box-shadow 180ms ease;min-height:220px}.wzkb-product-card::before{content:"";position:absolute;inset:0;border-radius:20px;background:linear-gradient(-135deg,color-mix(in srgb,var(--wzkb-color-primary) 8%,var(--wzkb-bg-white)) 0,color-mix(in srgb,var(--wzkb-color-dark) 8%,var(--wzkb-bg-white)) 100%);opacity:0;transition:opacity 180ms ease;z-index:-1}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:0 25px 50px var(--wzkb-shadow-hover,rgba(22,33,82,.16));background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border:1px solid var(--wzkb-color-white)}.wzkb-product-card:focus-within .wzkb-product-title,.wzkb-product-card:hover .wzkb-product-title{color:var(--wzkb-color-white)}.wzkb-product-card:focus-within .wzkb-product-description,.wzkb-product-card:hover .wzkb-product-description{color:rgba(255,255,255,.9)}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card:focus-within .wzkb-product-card-cta,.wzkb-product-card:hover .wzkb-product-card-cta{color:var(--wzkb-color-white)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{opacity:1}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:1.45rem;font-weight:700;color:var(--wzkb-color-text-dark);line-height:1.2}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium);font-size:.97rem;line-height:1.6;margin-bottom:24px}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.95rem;color:var(--wzkb-color-accent);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.1em;transition:transform 180ms ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(-6px)}@media (max-width:640px){.wzkb-product-grid-wrapper{padding:20px}.wzkb-product-card{padding:20px}}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-right:0!important;margin-left:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:6px;padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box;box-shadow:0 1px 4px var(--wzkb-shadow-color)}.wzkb-toc-title{font-weight:700;margin:0 0 .5rem;color:var(--wzkb-color-text-dark);font-size:15px}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-right:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-right:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color .2s ease}.wzkb-toc-list a:hover{color:var(--wzkb-color-dark);text-decoration:underline}:root{--wzkb-space-xs:8px;--wzkb-space-sm:12px;--wzkb-space-md:16px;--wzkb-space-lg:24px;--wzkb-space-xl:32px;--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-lg)}.wzkb .wzkb-section-name{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:var(--wzkb-space-sm);row-gap:var(--wzkb-space-xs);overflow:visible}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1;min-width:0;word-break:break-word}.wzkb-section-count{float:none;grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;justify-self:end;line-height:1;margin:0}.wzkb-section{overflow-x:clip}.wzkb-search-form{align-items:stretch;flex-wrap:nowrap}.wzkb-search-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;flex:0 0 auto}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{box-sizing:border-box;margin:0;align-self:stretch;height:auto;min-height:44px;line-height:1.25;-webkit-appearance:none;appearance:none}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{flex:1 1 auto;min-width:0;width:auto}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{flex:0 0 auto;min-width:4.5rem}@media (max-width:782px){:root{--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-md)}.wzkb_breadcrumb{margin-block:var(--wzkb-space-md) 0;padding:10px 14px;font-size:14px}.wzkb-search-form{margin-block-start:var(--wzkb-space-lg);margin-block-end:var(--wzkb-space-lg);font-size:1rem}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{font-size:16px;padding-block:12px}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{padding-inline:44px 14px;background-size:20px 20px;background-position:12px center}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{padding-inline:14px}.wzkb-wrap .page-header{margin:0 0 var(--wzkb-space-lg)}.wzkb-wrap .page-title{margin:0;line-height:1.25}.wzkb{margin-block-start:0;gap:var(--wzkb-space-section-gap)}.wzkb .wzkb-section-name-level-1:first-child{margin-top:0}.wzkb-section-wrapper>.wzkb-section{margin-block-start:0}.wzkb .wzkb-section-name{grid-template-columns:1fr;align-items:start;margin-block-end:var(--wzkb-space-md)}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1}.wzkb-section-count{grid-column:1;grid-row:2;justify-self:start;margin-block-start:var(--wzkb-space-xs)}.wzkb .wzkb-section-name.wzkb-section-name-level-1,.wzkb .wzkb-section-name.wzkb-section-name-level-2{grid-template-columns:minmax(0,1fr) auto;align-items:center}.wzkb .wzkb-section-name.wzkb-section-name-level-1{font-size:1.125rem;line-height:1.3}.wzkb .wzkb-section-name.wzkb-section-name-level-2{font-size:1.0625rem;padding-bottom:6px}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-1>a,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-2>a{grid-column:1;grid-row:1}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin-block-start:0;font-size:12px;padding:4px 10px;min-width:28px}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{margin-bottom:0}}.wzkb-wrap #wzkb-content-primary,.wzkb-wrap #wzkb-content-primary.content-area{width:100%;max-width:100%;float:none;flex:1 1 auto;min-width:0}.wzkb-wrap #wzkb-content-primary>.wzkb,.wzkb-wrap>#wzkb-content-primary>.wzkb{width:100%;max-width:100%;margin-inline:0}body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)){display:block}body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px)}@media (max-width:1024px){body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{grid-template-columns:1fr}body.wzkb-sidebar-enabled .wzkb,body.wzkb-sidebar-enabled .wzkb-product-grid{--wzkb-columns:1}} \ No newline at end of file diff --git a/includes/frontend/css/styles/classic.css b/includes/frontend/css/styles/classic.css index 9494881d..118de96a 100644 --- a/includes/frontend/css/styles/classic.css +++ b/includes/frontend/css/styles/classic.css @@ -9,12 +9,18 @@ /* CSS Variables for Classic Style - Customization */ :root { - /* Primary colors */ + /* Primary colors (links, pagination); orange for badges + search */ --wzkb-color-primary: #4c51bf; + --wzkb-color-primary-dark: #3f46a8; + /* Orange: bright for accents; darker fill meets WCAG AAA with white text */ + --wzkb-color-orange: #f97316; + --wzkb-color-orange-dark: #c2410c; + --wzkb-fill-accent: #9a3412; + --wzkb-fill-accent-hover: #7c2d12; + --wzkb-color-on-accent: #ffffff; --wzkb-color-text: #333; --wzkb-color-text-medium: #666; --wzkb-color-white: #fff; - --wzkb-color-orange: #f97316; /* Background colors */ --wzkb-bg-white: #fff; @@ -28,7 +34,7 @@ /* Breadcrumb colors */ --wzkb-breadcrumb-bg: #f8f9fa; --wzkb-breadcrumb-text: #2d3748; - --wzkb-breadcrumb-link: #1630A2; + --wzkb-breadcrumb-link: #1630a2; --wzkb-breadcrumb-separator: var(--wzkb-color-dark); --wzkb-breadcrumb-separator-color: var(--wzkb-color-dark); --wzkb-breadcrumb-border: #e0e0e0; @@ -51,6 +57,14 @@ --wzkb-color-text-dark: #202a44; --wzkb-color-accent: #2457ff; --wzkb-color-dark: #1a3a52; + + /* Interactive surfaces (orange matches section count badges) */ + --wzkb-search-submit-bg: var(--wzkb-fill-accent); + --wzkb-search-submit-bg-hover: var(--wzkb-fill-accent-hover); + --wzkb-search-submit-focus-ring: var(--wzkb-fill-accent); + --wzkb-search-submit-color: var(--wzkb-color-on-accent); + --wzkb-badge-bg: var(--wzkb-fill-accent); + --wzkb-badge-color: var(--wzkb-color-on-accent); } /* Category archive (single section view) - disable grid, show full width */ @@ -402,13 +416,13 @@ } /* Section count badge */ -.wzkb-section-count { +.wzkb .wzkb-section-count { display: block; float: right; margin: 0; padding: 6px 14px; - background: var(--wzkb-color-orange); - color: var(--wzkb-color-text) !important; + background: var(--wzkb-badge-bg); + color: var(--wzkb-badge-color); border: none; border-radius: 20px; text-align: center; @@ -497,7 +511,7 @@ body.single-wz_knowledgebase .nav-next { } .wzkb-search-form:focus-within { - border-color: var(--wzkb-color-primary, #667eea); + border-color: var(--wzkb-color-primary); box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2); } @@ -509,7 +523,7 @@ body.single-wz_knowledgebase .nav-next { input[type="search"].wzkb-search-field { border: none; - border-right: 1px solid #ddd; + border-right: 1px solid var(--wzkb-border-medium); border-radius: 50px 0 0 50px; color: var(--wzkb-color-text); font-family: "Open Sans", sans-serif; @@ -524,13 +538,13 @@ input[type="search"].wzkb-search-field { } input[type="search"].wzkb-search-field:focus { - background-color: var(--wzkb-bg-light, #f8f9fa); + background-color: var(--wzkb-bg-light); } input[type="submit"].wzkb-search-submit { display: block; - background: var(--wzkb-color-primary, #667eea); - color: var(--wzkb-color-white); + background: var(--wzkb-search-submit-bg); + color: var(--wzkb-search-submit-color); border: none; border-radius: 0 50px 50px 0; padding: 16px 20px; @@ -543,7 +557,7 @@ input[type="submit"].wzkb-search-submit { } input[type="submit"].wzkb-search-submit:hover { - background: var(--wzkb-color-dark, #5567d8); + background: var(--wzkb-search-submit-bg-hover); transform: translateY(-1px); } @@ -552,7 +566,7 @@ input[type="submit"].wzkb-search-submit:active { } input[type="submit"].wzkb-search-submit:focus { - outline: 2px solid var(--wzkb-color-primary, #667eea); + outline: 2px solid var(--wzkb-search-submit-focus-ring); outline-offset: -2px; } @@ -566,8 +580,8 @@ nav.pagination { width: 100%; margin: 15px 0; padding: 15px 0; - border-top: 1px dotted #ccc; - border-bottom: 1px dotted #ccc; + border-top: 1px dotted var(--wzkb-border-medium); + border-bottom: 1px dotted var(--wzkb-border-medium); text-align: center; } @@ -702,7 +716,7 @@ nav.pagination { /* Product Grid Layout */ .wzkb-product-grid-wrapper { - background: linear-gradient(135deg, var(--wzkb-gradient-begin, #f3f6ff) 0%, var(--wzkb-gradient-end, #fefefe) 65%); + background: linear-gradient(135deg, var(--wzkb-gradient-begin) 0%, var(--wzkb-gradient-end) 65%); padding: 32px; border-radius: 28px; border: 1px solid var(--wzkb-border-subtle, rgba(91, 107, 174, 0.15)); @@ -725,7 +739,7 @@ nav.pagination { display: flex; flex-direction: column; justify-content: space-between; - background: var(--wzkb-bg-white, #ffffff); + background: var(--wzkb-bg-white); border-radius: 20px; padding: 24px 24px 28px; border: 1px solid var(--wzkb-border-subtle, rgba(34, 48, 94, 0.08)); @@ -739,7 +753,11 @@ nav.pagination { position: absolute; inset: 0; border-radius: 20px; - background: linear-gradient(135deg, var(--wzkb-gradient-begin, rgba(80, 110, 255, 0.08)), var(--wzkb-gradient-end, rgba(0, 172, 193, 0.08))); + background: linear-gradient( + 135deg, + color-mix(in srgb, var(--wzkb-color-primary) 8%, var(--wzkb-bg-white)) 0%, + color-mix(in srgb, var(--wzkb-color-dark) 8%, var(--wzkb-bg-white)) 100% + ); opacity: 0; transition: opacity 180ms ease; z-index: -1; @@ -749,14 +767,14 @@ nav.pagination { .wzkb-product-card:focus-within { transform: translateY(-2px); box-shadow: 0 25px 50px var(--wzkb-shadow-hover, rgba(22, 33, 82, 0.16)); - background: var(--wzkb-color-primary, #506eff); - color: var(--wzkb-color-white, #ffffff); - border: 1px solid var(--wzkb-color-white, #ffffff); + background: var(--wzkb-color-primary); + color: var(--wzkb-color-white); + border: 1px solid var(--wzkb-color-white); } .wzkb-product-card:hover .wzkb-product-title, .wzkb-product-card:focus-within .wzkb-product-title { - color: var(--wzkb-color-white, #ffffff); + color: var(--wzkb-color-white); } .wzkb-product-card:hover .wzkb-product-description, @@ -796,7 +814,7 @@ nav.pagination { .wzkb-product-card:hover .wzkb-product-card-cta, .wzkb-product-card:focus-within .wzkb-product-card-cta { - color: var(--wzkb-color-white, #ffffff); + color: var(--wzkb-color-white); } .wzkb-product-card:hover::before, @@ -816,12 +834,12 @@ nav.pagination { margin: 0 0 12px; font-size: 1.45rem; font-weight: 700; - color: var(--wzkb-color-text-dark, #202a44); + color: var(--wzkb-color-text-dark); line-height: 1.2; } .wzkb-product-card .wzkb-product-description { - color: var(--wzkb-color-text-medium, #5a6275); + color: var(--wzkb-color-text-medium); font-size: 0.97rem; line-height: 1.6; margin-bottom: 24px; @@ -833,7 +851,7 @@ nav.pagination { gap: 6px; font-weight: 600; font-size: 0.95rem; - color: var(--wzkb-color-accent, #2457ff); + color: var(--wzkb-color-accent); text-transform: uppercase; letter-spacing: 0.05em; } @@ -1066,4 +1084,253 @@ figure.wzkb-search-result-thumb-link { .wzkb-toc-list a:hover { color: var(--wzkb-color-dark); text-decoration: underline; -} \ No newline at end of file +} + +/* Archive mobile spacing @since 3.3.1 */ +:root { + --wzkb-space-xs: 8px; + --wzkb-space-sm: 12px; + --wzkb-space-md: 16px; + --wzkb-space-lg: 24px; + --wzkb-space-xl: 32px; + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-lg); +} + +.wzkb .wzkb-section-name { + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + column-gap: var(--wzkb-space-sm); + row-gap: var(--wzkb-space-xs); + overflow: visible; +} + +.wzkb .wzkb-section-name > a, +.wzkb .wzkb-section-title-text { + grid-column: 1; + min-width: 0; + word-break: break-word; +} + +.wzkb-section-count { + float: none; + grid-column: 2; + grid-row: 1; + display: inline-flex; + align-items: center; + justify-content: center; + justify-self: end; + line-height: 1; + margin: 0; +} + +.wzkb-section { + overflow-x: clip; +} + +/* Search row: equal-height field and submit (all presets) */ +.wzkb-search-form { + align-items: stretch; + flex-wrap: nowrap; +} + +.wzkb-search-form label { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + clip-path: inset(50%); + white-space: nowrap; + border: 0; + flex: 0 0 auto; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field, +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + box-sizing: border-box; + margin: 0; + align-self: stretch; + height: auto; + min-height: 44px; + line-height: 1.25; + -webkit-appearance: none; + appearance: none; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field { + flex: 1 1 auto; + min-width: 0; + width: auto; +} + +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + flex: 0 0 auto; + min-width: 4.5rem; +} + +@media (max-width: 782px) { + :root { + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-md); + } + + .wzkb_breadcrumb { + margin-block: var(--wzkb-space-md) 0; + padding: 10px 14px; + font-size: 14px; + } + + .wzkb-search-form { + margin-block-start: var(--wzkb-space-lg); + margin-block-end: var(--wzkb-space-lg); + font-size: 1rem; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field, + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + font-size: 16px; + padding-block: 12px; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field { + padding-inline: 44px 14px; + background-size: 20px 20px; + background-position: 12px center; + } + + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + padding-inline: 14px; + } + + .wzkb-wrap .page-header { + margin: 0 0 var(--wzkb-space-lg); + } + + .wzkb-wrap .page-title { + margin: 0; + line-height: 1.25; + } + + .wzkb { + margin-block-start: 0; + gap: var(--wzkb-space-section-gap); + } + + .wzkb .wzkb-section-name-level-1:first-child { + margin-top: 0; + } + + .wzkb-section-wrapper > .wzkb-section { + margin-block-start: 0; + } + + .wzkb .wzkb-section-name { + grid-template-columns: 1fr; + align-items: start; + margin-block-end: var(--wzkb-space-md); + } + + .wzkb .wzkb-section-name > a, + .wzkb .wzkb-section-title-text { + grid-column: 1; + } + + .wzkb-section-count { + grid-column: 1; + grid-row: 2; + justify-self: start; + margin-block-start: var(--wzkb-space-xs); + } + + /* Archive section headers: title | badge on one row (incl. nested). */ + .wzkb .wzkb-section-name.wzkb-section-name-level-1, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 { + font-size: 1.125rem; + line-height: 1.3; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + font-size: 1.0625rem; + padding-bottom: 6px; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-1 > a, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 > a { + grid-column: 1; + grid-row: 1; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count { + grid-column: 2; + grid-row: 1; + justify-self: end; + align-self: center; + margin-block-start: 0; + font-size: 12px; + padding: 4px 10px; + min-width: 28px; + } + + .wzkb-category-archive .wzkb-section-wrapper .wzkb-section { + margin-bottom: 0; + } +} +/* Desktop wrapper width @since 3.3.1 */ +/* Override theme .content-area widths (e.g. GeneratePress flex/grid sidebar layouts). */ +.wzkb-wrap #wzkb-content-primary, +.wzkb-wrap #wzkb-content-primary.content-area { + width: 100%; + max-width: 100%; + float: none; + flex: 1 1 auto; + min-width: 0; +} + +.wzkb-wrap > #wzkb-content-primary > .wzkb, +.wzkb-wrap #wzkb-content-primary > .wzkb { + width: 100%; + max-width: 100%; + margin-inline: 0; +} + +/* Two-column wrap only when the KB sidebar column exists (block themes may omit it). */ +body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)) { + display: block; +} + +body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); +} +/* Tablet: stack KB sidebar and use one archive column when the sidebar is on @since 3.3.1 */ +@media (max-width: 1024px) { + body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + grid-template-columns: 1fr; + } + + body.wzkb-sidebar-enabled .wzkb, + body.wzkb-sidebar-enabled .wzkb-product-grid { + --wzkb-columns: 1; + } +} + diff --git a/includes/frontend/css/styles/classic.min.css b/includes/frontend/css/styles/classic.min.css index f36f51f5..e10e62f4 100644 --- a/includes/frontend/css/styles/classic.min.css +++ b/includes/frontend/css/styles/classic.min.css @@ -1 +1 @@ -:root{--wzkb-color-primary:#4c51bf;--wzkb-color-text:#333;--wzkb-color-text-medium:#666;--wzkb-color-white:#fff;--wzkb-color-orange:#f97316;--wzkb-bg-white:#fff;--wzkb-bg-light:#f8f9fa;--wzkb-bg-ghostwhite:#f8f8ff;--wzkb-border-light:#e0e0e0;--wzkb-border-medium:#ddd;--wzkb-breadcrumb-bg:#f8f9fa;--wzkb-breadcrumb-text:#2d3748;--wzkb-breadcrumb-link:#1630A2;--wzkb-breadcrumb-separator:var(--wzkb-color-dark);--wzkb-breadcrumb-separator-color:var(--wzkb-color-dark);--wzkb-breadcrumb-border:#e0e0e0;--wzkb-wrapper-max-width:1280px;--wzkb-list-bullet:"›";--wzkb-gradient-begin:var(--wzkb-color-primary);--wzkb-gradient-end:#1a3a52;--wzkb-product-border:var(--wzkb-border-subtle);--wzkb-shadow-color:rgba(0, 0, 0, 0.08);--wzkb-shadow-hover:rgba(22, 33, 82, 0.16);--wzkb-shadow-medium:rgba(27, 39, 94, 0.08);--wzkb-shadow-large:rgba(14, 21, 47, 0.12);--wzkb-border-subtle:rgba(91, 107, 174, 0.15);--wzkb-color-text-dark:#202a44;--wzkb-color-accent:#2457ff;--wzkb-color-dark:#1a3a52}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:20px}.wzkb{width:100%;max-width:100%;margin:10px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:20px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:1.5rem}.wzkb-product-grid-wrapper{padding:30px 20px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 20px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:30px}.wzkb-product-header{margin-bottom:20px}.wzkb-product-description{font-size:18px;color:var(--wzkb-color-text-medium);margin-top:8px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:34px;line-height:1.2;font-weight:800;margin:0 0 20px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text)}.wzkb-product-title a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:800;transition:opacity .3s ease}.wzkb-product-title a:hover{opacity:.8}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:12px;padding-bottom:8px;overflow:hidden;line-height:1.35;position:relative}.wzkb-section-name-level-1{border-bottom:2px solid var(--wzkb-border-light);border-top:none;padding:8px 0 10px;background-color:transparent;margin-top:24px;margin-bottom:0;grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:26px;font-weight:700}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}@media only screen and (max-width:1200px){.wzkb-articles-list{grid-template-columns:1fr}}.wzkb-search-results-grid>li{list-style:none;padding:0;margin:0}.wzkb-articles-list li{margin:5px 0;padding:0;position:relative;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:16px;font-size:18px;line-height:1.4;font-weight:400;font-family:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:8px;color:var(--wzkb-color-primary)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;position:relative;transition:all .3s ease}.wzkb-articles-list .wzkb-article-excerpt{margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 5px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0;padding:0;line-height:1.4;border:none}.wzkb-products-list ul{list-style:none!important;margin:0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:1px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:var(--wzkb-list-bullet);position:relative;color:var(--wzkb-color-primary);font-weight:600;opacity:.65;line-height:1.4}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-dark);text-decoration:none;font-weight:600;font-size:1rem;position:relative;display:block;padding:0 0 3px;border-bottom:1px solid var(--wzkb-product-border);margin-bottom:5px;transition:color .25s ease}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:.95rem;transition:color .25s ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-left:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:10px 12px;margin-bottom:14px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:15px;margin-bottom:10px;padding-bottom:6px}.wzkb-article-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--wzkb-border-medium);font-size:15px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:opacity .3s ease}.wzkb-article-footer a:hover{opacity:.7}.wzkb-section-count{display:block;float:right;margin:0;padding:6px 14px;background:var(--wzkb-color-orange);color:var(--wzkb-color-text)!important;border:none;border-radius:20px;text-align:center;font-size:13px;font-weight:700;min-width:34px}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 300px;gap:30px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-left:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:right;margin-left:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:50px;background:#fff;padding:0;position:relative;margin:20px auto;font-size:1.3em;width:100%;box-shadow:0 2px 8px var(--wzkb-shadow-color,rgba(0,0,0,.08));overflow:hidden}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary,#667eea);box-shadow:0 2px 12px rgba(102,126,234,.2)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;border-right:1px solid #ddd;border-radius:50px 0 0 50px;color:var(--wzkb-color-text);font-family:"Open Sans",sans-serif;font-size:1em;font-weight:500;padding:16px 24px 16px 52px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:24px 24px;outline:0;transition:background-color .2s ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light,#f8f9fa)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-color-primary,#667eea);color:var(--wzkb-color-white);border:none;border-radius:0 50px 50px 0;padding:16px 20px;font-size:.9em;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease;min-width:70px;font-family:"Open Sans",sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-color-dark,#5567d8);transform:translateY(-1px)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-color-primary,#667eea);outline-offset:-2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:15px 0;padding:15px 0;border-top:1px dotted #ccc;border-bottom:1px dotted #ccc;text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-right:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all .2s ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:12px;border:1px solid var(--wzkb-border-light)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:8px;border:1px solid var(--wzkb-border-light);transition:all .3s ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:0 4px 12px var(--wzkb-shadow-hover,rgba(102,126,234,.15));transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:1.75em;background:var(--wzkb-breadcrumb-bg);padding:14px 24px;border-radius:8px;border:1px solid var(--wzkb-breadcrumb-border);font-size:15px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:opacity .3s ease}.wzkb_breadcrumb-item a:hover{opacity:.8}.wzkb_breadcrumb-item:not(:last-child)::after{content:"\00BB";margin:0 10px;color:var(--wzkb-breadcrumb-separator);font-weight:400}.wzkb-product-grid-wrapper{background:linear-gradient(135deg,var(--wzkb-gradient-begin,#f3f6ff) 0,var(--wzkb-gradient-end,#fefefe) 65%);padding:32px;border-radius:28px;border:1px solid var(--wzkb-border-subtle,rgba(91,107,174,.15));box-shadow:0 25px 45px var(--wzkb-shadow-large,rgba(14,21,47,.12));margin-top:24px;display:block!important;width:100%!important;grid-column:1/-1!important}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:25px;width:100%}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white,#fff);border-radius:20px;padding:24px 24px 28px;border:1px solid var(--wzkb-border-subtle,rgba(34,48,94,.08));box-shadow:0 15px 35px var(--wzkb-shadow-medium,rgba(27,39,94,.08));transition:transform 180ms ease,box-shadow 180ms ease;min-height:220px}.wzkb-product-card::before{content:"";position:absolute;inset:0;border-radius:20px;background:linear-gradient(135deg,var(--wzkb-gradient-begin,rgba(80,110,255,.08)),var(--wzkb-gradient-end,rgba(0,172,193,.08)));opacity:0;transition:opacity 180ms ease;z-index:-1}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:0 25px 50px var(--wzkb-shadow-hover,rgba(22,33,82,.16));background:var(--wzkb-color-primary,#506eff);color:var(--wzkb-color-white,#fff);border:1px solid var(--wzkb-color-white,#fff)}.wzkb-product-card:focus-within .wzkb-product-title,.wzkb-product-card:hover .wzkb-product-title{color:var(--wzkb-color-white,#fff)}.wzkb-product-card:focus-within .wzkb-product-description,.wzkb-product-card:hover .wzkb-product-description{color:rgba(255,255,255,.9)}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card:focus-within .wzkb-product-card-cta,.wzkb-product-card:hover .wzkb-product-card-cta{color:var(--wzkb-color-white,#fff)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{opacity:1}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:1.45rem;font-weight:700;color:var(--wzkb-color-text-dark,#202a44);line-height:1.2}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium,#5a6275);font-size:.97rem;line-height:1.6;margin-bottom:24px}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.95rem;color:var(--wzkb-color-accent,#2457ff);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.1em;transition:transform 180ms ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(6px)}@media (max-width:640px){.wzkb-product-grid-wrapper{padding:20px}.wzkb-product-card{padding:20px}}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:6px;padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box;box-shadow:0 1px 4px var(--wzkb-shadow-color)}.wzkb-toc-title{font-weight:700;margin:0 0 .5rem;color:var(--wzkb-color-text-dark);font-size:15px}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-left:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-left:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color .2s ease}.wzkb-toc-list a:hover{color:var(--wzkb-color-dark);text-decoration:underline} \ No newline at end of file +:root{--wzkb-color-primary:#4c51bf;--wzkb-color-primary-dark:#3f46a8;--wzkb-color-orange:#f97316;--wzkb-color-orange-dark:#c2410c;--wzkb-fill-accent:#9a3412;--wzkb-fill-accent-hover:#7c2d12;--wzkb-color-on-accent:#ffffff;--wzkb-color-text:#333;--wzkb-color-text-medium:#666;--wzkb-color-white:#fff;--wzkb-bg-white:#fff;--wzkb-bg-light:#f8f9fa;--wzkb-bg-ghostwhite:#f8f8ff;--wzkb-border-light:#e0e0e0;--wzkb-border-medium:#ddd;--wzkb-breadcrumb-bg:#f8f9fa;--wzkb-breadcrumb-text:#2d3748;--wzkb-breadcrumb-link:#1630a2;--wzkb-breadcrumb-separator:var(--wzkb-color-dark);--wzkb-breadcrumb-separator-color:var(--wzkb-color-dark);--wzkb-breadcrumb-border:#e0e0e0;--wzkb-wrapper-max-width:1280px;--wzkb-list-bullet:"›";--wzkb-gradient-begin:var(--wzkb-color-primary);--wzkb-gradient-end:#1a3a52;--wzkb-product-border:var(--wzkb-border-subtle);--wzkb-shadow-color:rgba(0, 0, 0, 0.08);--wzkb-shadow-hover:rgba(22, 33, 82, 0.16);--wzkb-shadow-medium:rgba(27, 39, 94, 0.08);--wzkb-shadow-large:rgba(14, 21, 47, 0.12);--wzkb-border-subtle:rgba(91, 107, 174, 0.15);--wzkb-color-text-dark:#202a44;--wzkb-color-accent:#2457ff;--wzkb-color-dark:#1a3a52;--wzkb-search-submit-bg:var(--wzkb-fill-accent);--wzkb-search-submit-bg-hover:var(--wzkb-fill-accent-hover);--wzkb-search-submit-focus-ring:var(--wzkb-fill-accent);--wzkb-search-submit-color:var(--wzkb-color-on-accent);--wzkb-badge-bg:var(--wzkb-fill-accent);--wzkb-badge-color:var(--wzkb-color-on-accent)}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:20px}.wzkb{width:100%;max-width:100%;margin:10px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:20px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:1.5rem}.wzkb-product-grid-wrapper{padding:30px 20px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 20px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:30px}.wzkb-product-header{margin-bottom:20px}.wzkb-product-description{font-size:18px;color:var(--wzkb-color-text-medium);margin-top:8px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:34px;line-height:1.2;font-weight:800;margin:0 0 20px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text)}.wzkb-product-title a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:800;transition:opacity .3s ease}.wzkb-product-title a:hover{opacity:.8}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:12px;padding-bottom:8px;overflow:hidden;line-height:1.35;position:relative}.wzkb-section-name-level-1{border-bottom:2px solid var(--wzkb-border-light);border-top:none;padding:8px 0 10px;background-color:transparent;margin-top:24px;margin-bottom:0;grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:26px;font-weight:700}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}@media only screen and (max-width:1200px){.wzkb-articles-list{grid-template-columns:1fr}}.wzkb-search-results-grid>li{list-style:none;padding:0;margin:0}.wzkb-articles-list li{margin:5px 0;padding:0;position:relative;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:16px;font-size:18px;line-height:1.4;font-weight:400;font-family:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:8px;color:var(--wzkb-color-primary)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;position:relative;transition:all .3s ease}.wzkb-articles-list .wzkb-article-excerpt{margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 5px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0;padding:0;line-height:1.4;border:none}.wzkb-products-list ul{list-style:none!important;margin:0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:1px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:var(--wzkb-list-bullet);position:relative;color:var(--wzkb-color-primary);font-weight:600;opacity:.65;line-height:1.4}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-dark);text-decoration:none;font-weight:600;font-size:1rem;position:relative;display:block;padding:0 0 3px;border-bottom:1px solid var(--wzkb-product-border);margin-bottom:5px;transition:color .25s ease}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:.95rem;transition:color .25s ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-left:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:10px 12px;margin-bottom:14px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:15px;margin-bottom:10px;padding-bottom:6px}.wzkb-article-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--wzkb-border-medium);font-size:15px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:opacity .3s ease}.wzkb-article-footer a:hover{opacity:.7}.wzkb .wzkb-section-count{display:block;float:right;margin:0;padding:6px 14px;background:var(--wzkb-badge-bg);color:var(--wzkb-badge-color);border:none;border-radius:20px;text-align:center;font-size:13px;font-weight:700;min-width:34px}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 300px;gap:30px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-left:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:right;margin-left:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:50px;background:#fff;padding:0;position:relative;margin:20px auto;font-size:1.3em;width:100%;box-shadow:0 2px 8px var(--wzkb-shadow-color,rgba(0,0,0,.08));overflow:hidden}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary);box-shadow:0 2px 12px rgba(102,126,234,.2)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;border-right:1px solid var(--wzkb-border-medium);border-radius:50px 0 0 50px;color:var(--wzkb-color-text);font-family:"Open Sans",sans-serif;font-size:1em;font-weight:500;padding:16px 24px 16px 52px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:24px 24px;outline:0;transition:background-color .2s ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-search-submit-bg);color:var(--wzkb-search-submit-color);border:none;border-radius:0 50px 50px 0;padding:16px 20px;font-size:.9em;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease;min-width:70px;font-family:"Open Sans",sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-search-submit-bg-hover);transform:translateY(-1px)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-search-submit-focus-ring);outline-offset:-2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:15px 0;padding:15px 0;border-top:1px dotted var(--wzkb-border-medium);border-bottom:1px dotted var(--wzkb-border-medium);text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-right:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all .2s ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:12px;border:1px solid var(--wzkb-border-light)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:8px;border:1px solid var(--wzkb-border-light);transition:all .3s ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:0 4px 12px var(--wzkb-shadow-hover,rgba(102,126,234,.15));transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:1.75em;background:var(--wzkb-breadcrumb-bg);padding:14px 24px;border-radius:8px;border:1px solid var(--wzkb-breadcrumb-border);font-size:15px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:opacity .3s ease}.wzkb_breadcrumb-item a:hover{opacity:.8}.wzkb_breadcrumb-item:not(:last-child)::after{content:"\00BB";margin:0 10px;color:var(--wzkb-breadcrumb-separator);font-weight:400}.wzkb-product-grid-wrapper{background:linear-gradient(135deg,var(--wzkb-gradient-begin) 0,var(--wzkb-gradient-end) 65%);padding:32px;border-radius:28px;border:1px solid var(--wzkb-border-subtle,rgba(91,107,174,.15));box-shadow:0 25px 45px var(--wzkb-shadow-large,rgba(14,21,47,.12));margin-top:24px;display:block!important;width:100%!important;grid-column:1/-1!important}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:25px;width:100%}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white);border-radius:20px;padding:24px 24px 28px;border:1px solid var(--wzkb-border-subtle,rgba(34,48,94,.08));box-shadow:0 15px 35px var(--wzkb-shadow-medium,rgba(27,39,94,.08));transition:transform 180ms ease,box-shadow 180ms ease;min-height:220px}.wzkb-product-card::before{content:"";position:absolute;inset:0;border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--wzkb-color-primary) 8%,var(--wzkb-bg-white)) 0,color-mix(in srgb,var(--wzkb-color-dark) 8%,var(--wzkb-bg-white)) 100%);opacity:0;transition:opacity 180ms ease;z-index:-1}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:0 25px 50px var(--wzkb-shadow-hover,rgba(22,33,82,.16));background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border:1px solid var(--wzkb-color-white)}.wzkb-product-card:focus-within .wzkb-product-title,.wzkb-product-card:hover .wzkb-product-title{color:var(--wzkb-color-white)}.wzkb-product-card:focus-within .wzkb-product-description,.wzkb-product-card:hover .wzkb-product-description{color:rgba(255,255,255,.9)}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card:focus-within .wzkb-product-card-cta,.wzkb-product-card:hover .wzkb-product-card-cta{color:var(--wzkb-color-white)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{opacity:1}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:1.45rem;font-weight:700;color:var(--wzkb-color-text-dark);line-height:1.2}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium);font-size:.97rem;line-height:1.6;margin-bottom:24px}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.95rem;color:var(--wzkb-color-accent);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.1em;transition:transform 180ms ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(6px)}@media (max-width:640px){.wzkb-product-grid-wrapper{padding:20px}.wzkb-product-card{padding:20px}}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:6px;padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box;box-shadow:0 1px 4px var(--wzkb-shadow-color)}.wzkb-toc-title{font-weight:700;margin:0 0 .5rem;color:var(--wzkb-color-text-dark);font-size:15px}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-left:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-left:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color .2s ease}.wzkb-toc-list a:hover{color:var(--wzkb-color-dark);text-decoration:underline}:root{--wzkb-space-xs:8px;--wzkb-space-sm:12px;--wzkb-space-md:16px;--wzkb-space-lg:24px;--wzkb-space-xl:32px;--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-lg)}.wzkb .wzkb-section-name{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:var(--wzkb-space-sm);row-gap:var(--wzkb-space-xs);overflow:visible}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1;min-width:0;word-break:break-word}.wzkb-section-count{float:none;grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;justify-self:end;line-height:1;margin:0}.wzkb-section{overflow-x:clip}.wzkb-search-form{align-items:stretch;flex-wrap:nowrap}.wzkb-search-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;flex:0 0 auto}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{box-sizing:border-box;margin:0;align-self:stretch;height:auto;min-height:44px;line-height:1.25;-webkit-appearance:none;appearance:none}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{flex:1 1 auto;min-width:0;width:auto}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{flex:0 0 auto;min-width:4.5rem}@media (max-width:782px){:root{--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-md)}.wzkb_breadcrumb{margin-block:var(--wzkb-space-md) 0;padding:10px 14px;font-size:14px}.wzkb-search-form{margin-block-start:var(--wzkb-space-lg);margin-block-end:var(--wzkb-space-lg);font-size:1rem}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{font-size:16px;padding-block:12px}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{padding-inline:44px 14px;background-size:20px 20px;background-position:12px center}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{padding-inline:14px}.wzkb-wrap .page-header{margin:0 0 var(--wzkb-space-lg)}.wzkb-wrap .page-title{margin:0;line-height:1.25}.wzkb{margin-block-start:0;gap:var(--wzkb-space-section-gap)}.wzkb .wzkb-section-name-level-1:first-child{margin-top:0}.wzkb-section-wrapper>.wzkb-section{margin-block-start:0}.wzkb .wzkb-section-name{grid-template-columns:1fr;align-items:start;margin-block-end:var(--wzkb-space-md)}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1}.wzkb-section-count{grid-column:1;grid-row:2;justify-self:start;margin-block-start:var(--wzkb-space-xs)}.wzkb .wzkb-section-name.wzkb-section-name-level-1,.wzkb .wzkb-section-name.wzkb-section-name-level-2{grid-template-columns:minmax(0,1fr) auto;align-items:center}.wzkb .wzkb-section-name.wzkb-section-name-level-1{font-size:1.125rem;line-height:1.3}.wzkb .wzkb-section-name.wzkb-section-name-level-2{font-size:1.0625rem;padding-bottom:6px}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-1>a,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-2>a{grid-column:1;grid-row:1}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin-block-start:0;font-size:12px;padding:4px 10px;min-width:28px}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{margin-bottom:0}}.wzkb-wrap #wzkb-content-primary,.wzkb-wrap #wzkb-content-primary.content-area{width:100%;max-width:100%;float:none;flex:1 1 auto;min-width:0}.wzkb-wrap #wzkb-content-primary>.wzkb,.wzkb-wrap>#wzkb-content-primary>.wzkb{width:100%;max-width:100%;margin-inline:0}body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)){display:block}body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px)}@media (max-width:1024px){body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{grid-template-columns:1fr}body.wzkb-sidebar-enabled .wzkb,body.wzkb-sidebar-enabled .wzkb-product-grid{--wzkb-columns:1}} \ No newline at end of file diff --git a/includes/frontend/css/styles/vibrant-rtl.css b/includes/frontend/css/styles/vibrant-rtl.css index 82ee16af..a7fa8ffb 100644 --- a/includes/frontend/css/styles/vibrant-rtl.css +++ b/includes/frontend/css/styles/vibrant-rtl.css @@ -9,12 +9,17 @@ /* CSS Variables for Vibrant Style */ :root { - /* Primary colours */ - --wzkb-color-primary: #2563eb; - --wzkb-color-primary-dark: #1e40af; - --wzkb-color-primary-light: #3b82f6; + /* Accent: bright borders; fill uses darker tone for WCAG AAA with white text */ --wzkb-color-accent: #f59e0b; --wzkb-color-accent-dark: #d97706; + --wzkb-fill-accent: #9a3412; + --wzkb-fill-accent-hover: #7c2d12; + --wzkb-color-on-accent: #ffffff; + + /* Primary colours — filled UI and links (contrast-safe on white) */ + --wzkb-color-primary: var(--wzkb-fill-accent); + --wzkb-color-primary-dark: var(--wzkb-fill-accent-hover); + --wzkb-color-primary-light: #c2410c; --wzkb-color-text: #1f2937; --wzkb-color-text-medium: #6b7280; --wzkb-color-text-light: #9ca3af; @@ -48,6 +53,44 @@ --wzkb-breadcrumb-separator: var(--wzkb-color-text-light); --wzkb-breadcrumb-border: var(--wzkb-border-light); + /* Interactive surfaces */ + --wzkb-search-submit-bg: var(--wzkb-fill-accent); + --wzkb-search-submit-bg-hover: var(--wzkb-fill-accent-hover); + --wzkb-search-submit-focus-ring: var(--wzkb-fill-accent); + --wzkb-search-submit-color: var(--wzkb-color-on-accent); + --wzkb-badge-bg: var(--wzkb-fill-accent); + --wzkb-badge-color: var(--wzkb-color-on-accent); + --wzkb-product-grid-bg-start: color-mix( + in srgb, + var(--wzkb-color-accent) 14%, + var(--wzkb-bg-white) + ); + --wzkb-product-grid-bg-mid: color-mix( + in srgb, + var(--wzkb-color-accent) 8%, + var(--wzkb-bg-lighter) + ); + --wzkb-product-grid-bg-end: color-mix( + in srgb, + var(--wzkb-color-accent) 14%, + var(--wzkb-bg-white) + ); + --wzkb-primary-alpha-10: color-mix( + in srgb, + var(--wzkb-color-primary) 10%, + transparent + ); + --wzkb-primary-alpha-20: color-mix( + in srgb, + var(--wzkb-color-primary) 20%, + transparent + ); + --wzkb-primary-alpha-08: color-mix( + in srgb, + var(--wzkb-color-primary) 8%, + transparent + ); + /* Layout variables */ --wzkb-wrapper-max-width: 1280px; --wzkb-border-radius-sm: 6px; @@ -397,7 +440,7 @@ right: 0; width: 40px; height: 3px; - background: var(--wzkb-color-accent); + background: var(--wzkb-badge-bg); border-radius: 2px; transition: width var(--wzkb-transition-base) ease; } @@ -492,15 +535,15 @@ } /* Section count badge */ -.wzkb-section-count { +.wzkb .wzkb-section-count { display: inline-flex; align-items: center; justify-content: center; float: left; margin: 0; padding: 4px 12px; - background: var(--wzkb-color-accent); - color: var(--wzkb-color-white) !important; + background: var(--wzkb-badge-bg); + color: var(--wzkb-badge-color); border: none; border-radius: 12px; text-align: center; @@ -588,7 +631,7 @@ body.single-wz_knowledgebase .nav-next { .wzkb-search-form:focus-within { border-color: var(--wzkb-color-primary); box-shadow: - 0 0 0 3px rgba(37, 99, 235, 0.1), + 0 0 0 3px var(--wzkb-primary-alpha-10), var(--wzkb-shadow-lg); } @@ -623,8 +666,8 @@ input[type="search"].wzkb-search-field::placeholder { input[type="submit"].wzkb-search-submit { display: block; - background: var(--wzkb-color-primary); - color: var(--wzkb-color-white); + background: var(--wzkb-search-submit-bg); + color: var(--wzkb-search-submit-color); border: none; border-radius: 10px 0 0 10px; padding: 14px 24px; @@ -638,7 +681,7 @@ input[type="submit"].wzkb-search-submit { } input[type="submit"].wzkb-search-submit:hover { - background: var(--wzkb-color-primary-dark); + background: var(--wzkb-search-submit-bg-hover); transform: translateY(-1px); box-shadow: var(--wzkb-shadow-md); } @@ -648,7 +691,7 @@ input[type="submit"].wzkb-search-submit:active { } input[type="submit"].wzkb-search-submit:focus { - outline: 2px solid var(--wzkb-color-primary); + outline: 2px solid var(--wzkb-search-submit-focus-ring); outline-offset: 2px; } @@ -801,10 +844,15 @@ nav.pagination { /* Product Grid Layout */ .wzkb-product-grid-wrapper { - background: linear-gradient(-135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%); + background: linear-gradient( + -135deg, + var(--wzkb-product-grid-bg-start) 0%, + var(--wzkb-product-grid-bg-mid) 50%, + var(--wzkb-product-grid-bg-end) 100% + ); padding: 40px; border-radius: var(--wzkb-border-radius-xl); - border: 2px solid rgba(37, 99, 235, 0.1); + border: 2px solid var(--wzkb-primary-alpha-10); box-shadow: var(--wzkb-shadow-xl); margin-top: 32px; display: block !important; @@ -823,7 +871,7 @@ nav.pagination { height: 300px; background: radial-gradient( circle, - rgba(37, 99, 235, 0.08) 0%, + var(--wzkb-primary-alpha-08) 0%, transparent 70% ); pointer-events: none; @@ -875,7 +923,7 @@ nav.pagination { .wzkb-product-card:focus-within { transform: translateY(-2px); box-shadow: var(--wzkb-shadow-xl); - border-color: rgba(37, 99, 235, 0.2); + border-color: var(--wzkb-primary-alpha-20); } .wzkb-product-card:hover::before, @@ -1176,3 +1224,253 @@ figure.wzkb-search-result-thumb-link { .wzkb-toc-list a:hover { text-decoration: underline; } + +/* Archive mobile spacing @since 3.3.1 */ +:root { + --wzkb-space-xs: 8px; + --wzkb-space-sm: 12px; + --wzkb-space-md: 16px; + --wzkb-space-lg: 24px; + --wzkb-space-xl: 32px; + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-lg); +} + +.wzkb .wzkb-section-name { + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + column-gap: var(--wzkb-space-sm); + row-gap: var(--wzkb-space-xs); + overflow: visible; +} + +.wzkb .wzkb-section-name > a, +.wzkb .wzkb-section-title-text { + grid-column: 1; + min-width: 0; + word-break: break-word; +} + +.wzkb-section-count { + float: none; + grid-column: 2; + grid-row: 1; + display: inline-flex; + align-items: center; + justify-content: center; + justify-self: end; + line-height: 1; + margin: 0; +} + +.wzkb-section { + overflow-x: clip; +} + +/* Search row: equal-height field and submit (all presets) */ +.wzkb-search-form { + align-items: stretch; + flex-wrap: nowrap; +} + +.wzkb-search-form label { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + clip-path: inset(50%); + white-space: nowrap; + border: 0; + flex: 0 0 auto; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field, +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + box-sizing: border-box; + margin: 0; + align-self: stretch; + height: auto; + min-height: 44px; + line-height: 1.25; + -webkit-appearance: none; + appearance: none; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field { + flex: 1 1 auto; + min-width: 0; + width: auto; +} + +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + flex: 0 0 auto; + min-width: 4.5rem; +} + +@media (max-width: 782px) { + :root { + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-md); + } + + .wzkb_breadcrumb { + margin-block: var(--wzkb-space-md) 0; + padding: 10px 14px; + font-size: 14px; + } + + .wzkb-search-form { + margin-block-start: var(--wzkb-space-lg); + margin-block-end: var(--wzkb-space-lg); + font-size: 1rem; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field, + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + font-size: 16px; + padding-block: 12px; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field { + padding-inline: 44px 14px; + background-size: 20px 20px; + background-position: 12px center; + } + + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + padding-inline: 14px; + } + + .wzkb-wrap .page-header { + margin: 0 0 var(--wzkb-space-lg); + } + + .wzkb-wrap .page-title { + margin: 0; + line-height: 1.25; + } + + .wzkb { + margin-block-start: 0; + gap: var(--wzkb-space-section-gap); + } + + .wzkb .wzkb-section-name-level-1:first-child { + margin-top: 0; + } + + .wzkb-section-wrapper > .wzkb-section { + margin-block-start: 0; + } + + .wzkb .wzkb-section-name { + grid-template-columns: 1fr; + align-items: start; + margin-block-end: var(--wzkb-space-md); + } + + .wzkb .wzkb-section-name > a, + .wzkb .wzkb-section-title-text { + grid-column: 1; + } + + .wzkb-section-count { + grid-column: 1; + grid-row: 2; + justify-self: start; + margin-block-start: var(--wzkb-space-xs); + } + + /* Archive section headers: title | badge on one row (incl. nested). */ + .wzkb .wzkb-section-name.wzkb-section-name-level-1, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 { + margin-block-end: 0; + font-size: 1.125rem; + line-height: 1.3; + padding: 10px 12px; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + font-size: 1.0625rem; + padding-bottom: 6px; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-1 > a, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 > a { + grid-column: 1; + grid-row: 1; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count { + grid-column: 2; + grid-row: 1; + justify-self: end; + align-self: center; + margin-block-start: 0; + font-size: 12px; + padding: 4px 10px; + min-width: 28px; + } + + .wzkb-category-archive .wzkb-section-wrapper .wzkb-section { + margin-bottom: 0; + } +} +/* Desktop wrapper width @since 3.3.1 */ +/* Override theme .content-area widths (e.g. GeneratePress flex/grid sidebar layouts). */ +.wzkb-wrap #wzkb-content-primary, +.wzkb-wrap #wzkb-content-primary.content-area { + width: 100%; + max-width: 100%; + float: none; + flex: 1 1 auto; + min-width: 0; +} + +.wzkb-wrap > #wzkb-content-primary > .wzkb, +.wzkb-wrap #wzkb-content-primary > .wzkb { + width: 100%; + max-width: 100%; + margin-inline: 0; +} + +/* Two-column wrap only when the KB sidebar column exists (block themes may omit it). */ +body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)) { + display: block; +} + +body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); +} +/* Tablet: stack KB sidebar and use one archive column when the sidebar is on @since 3.3.1 */ +@media (max-width: 1024px) { + body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + grid-template-columns: 1fr; + } + + body.wzkb-sidebar-enabled .wzkb, + body.wzkb-sidebar-enabled .wzkb-product-grid { + --wzkb-columns: 1; + } +} diff --git a/includes/frontend/css/styles/vibrant-rtl.min.css b/includes/frontend/css/styles/vibrant-rtl.min.css index c3e9028d..a1750497 100644 --- a/includes/frontend/css/styles/vibrant-rtl.min.css +++ b/includes/frontend/css/styles/vibrant-rtl.min.css @@ -1 +1 @@ -:root{--wzkb-color-primary:#2563eb;--wzkb-color-primary-dark:#1e40af;--wzkb-color-primary-light:#3b82f6;--wzkb-color-accent:#f59e0b;--wzkb-color-accent-dark:#d97706;--wzkb-color-text:#1f2937;--wzkb-color-text-medium:#6b7280;--wzkb-color-text-light:#9ca3af;--wzkb-color-white:#ffffff;--wzkb-color-success:#10b981;--wzkb-bg-white:#ffffff;--wzkb-bg-light:#f9fafb;--wzkb-bg-lighter:#f3f4f6;--wzkb-bg-section:#fefefe;--wzkb-border-light:#e5e7eb;--wzkb-border-medium:#d1d5db;--wzkb-border-accent:#fbbf24;--wzkb-shadow-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--wzkb-shadow-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--wzkb-shadow-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--wzkb-shadow-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--wzkb-breadcrumb-bg:var(--wzkb-bg-lighter);--wzkb-breadcrumb-text:var(--wzkb-color-text);--wzkb-breadcrumb-link:var(--wzkb-color-primary);--wzkb-breadcrumb-separator:var(--wzkb-color-text-light);--wzkb-breadcrumb-border:var(--wzkb-border-light);--wzkb-wrapper-max-width:1280px;--wzkb-border-radius-sm:6px;--wzkb-border-radius-md:10px;--wzkb-border-radius-lg:16px;--wzkb-border-radius-xl:20px;--wzkb-transition-fast:150ms;--wzkb-transition-base:250ms;--wzkb-transition-slow:350ms}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:24px}.wzkb{width:100%;max-width:100%;margin:16px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:24px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:20px}.wzkb-product-grid-wrapper{padding:24px 16px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 16px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:40px}.wzkb-product-header{margin-bottom:24px}.wzkb-product-description{font-size:18px;line-height:1.6;color:var(--wzkb-color-text-medium);margin-top:12px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:36px;line-height:1.2;font-weight:800;letter-spacing:-.025em;margin:0 0 16px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text);position:relative;display:inline-block}.wzkb-product-title::after{content:'';position:absolute;bottom:-8px;right:0;width:60px;height:4px;background:linear-gradient(-90deg,var(--wzkb-color-accent),var(--wzkb-color-accent-dark));border-radius:2px}.wzkb-product-title a{color:var(--wzkb-color-text);text-decoration:none;font-weight:800;transition:color var(--wzkb-transition-base) ease}.wzkb-product-title a:hover{color:var(--wzkb-color-primary)}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0;background:var(--wzkb-bg-section);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md);padding:20px;transition:all var(--wzkb-transition-base) ease}.wzkb-section:hover{border-color:var(--wzkb-border-medium);box-shadow:var(--wzkb-shadow-md)}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0;transition:color var(--wzkb-transition-base) ease}.wzkb .wzkb-section-name a:hover{color:var(--wzkb-color-primary)}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:16px;padding-bottom:12px;overflow:hidden;line-height:1.3;position:relative;border-bottom:2px solid var(--wzkb-border-light)}.wzkb-section-name-level-1{background:linear-gradient(-135deg,var(--wzkb-bg-lighter) 0,var(--wzkb-bg-white) 100%);border:2px solid var(--wzkb-border-accent);border-right-width:6px;padding:16px 20px;margin-bottom:24px;border-radius:var(--wzkb-border-radius-md);grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:28px;font-weight:800;letter-spacing:-.025em}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:8px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}.wzkb-articles-list li{margin:0;padding:0;position:relative;display:grid;grid-template-columns:20px 1fr;column-gap:10px;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;grid-column:1;grid-row:1;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-wrap:break-word;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li:hover:before{transform:translateX(-3px)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;line-height:1.6;position:relative;transition:color var(--wzkb-transition-base) ease;grid-column:2;grid-row:1;min-width:0}.wzkb-article-excerpt{grid-column:2;grid-row:2;margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 8px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0 0 20px 0;padding:0;line-height:1.5;border:none}.wzkb-products-list ul{list-style:none!important;margin:8px 0 0 0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:6px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:"→";position:relative;color:var(--wzkb-color-accent);font-weight:700;line-height:1.6;transition:transform var(--wzkb-transition-fast) ease}.wzkb-products-list ul li:hover::before{transform:translateX(-3px)}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-text);text-decoration:none;font-weight:700;font-size:17px;position:relative;display:inline-block;padding-bottom:8px;margin-bottom:8px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link::after,.wzkb-products-list>li>a::after{content:'';position:absolute;bottom:0;right:0;width:40px;height:3px;background:var(--wzkb-color-accent);border-radius:2px;transition:width var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link:hover::after,.wzkb-products-list>li>a:hover::after{width:80px}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-right:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:16px;margin-bottom:16px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:16px;margin-bottom:12px;padding-bottom:8px}.wzkb-article-footer{margin-top:32px;padding-top:20px;border-top:2px solid var(--wzkb-border-light);font-size:16px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:color var(--wzkb-transition-base) ease;display:inline-flex;align-items:center;gap:6px}.wzkb-article-footer a::after{content:"→";transition:transform var(--wzkb-transition-fast) ease}.wzkb-article-footer a:hover{color:var(--wzkb-color-primary-dark)}.wzkb-article-footer a:hover::after{transform:translateX(-4px)}.wzkb-section-count{display:inline-flex;align-items:center;justify-content:center;float:left;margin:0;padding:4px 12px;background:var(--wzkb-color-accent);color:var(--wzkb-color-white)!important;border:none;border-radius:12px;text-align:center;font-size:13px;font-weight:700;min-width:28px;box-shadow:var(--wzkb-shadow-sm)}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-right:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:left;margin-right:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:12px;background:var(--wzkb-bg-white);padding:0;position:relative;margin:24px auto;font-size:1.2em;width:100%;box-shadow:var(--wzkb-shadow-md);overflow:hidden;transition:all var(--wzkb-transition-base) ease}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary);box-shadow:0 0 0 3px rgba(37,99,235,.1),var(--wzkb-shadow-lg)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;color:var(--wzkb-color-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:1em;font-weight:500;padding:14px 48px 14px 20px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:22px 22px;outline:0;transition:background-color var(--wzkb-transition-base) ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light)}input[type=search].wzkb-search-field::placeholder{color:var(--wzkb-color-text-light)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border:none;border-radius:10px 0 0 10px;padding:14px 24px;font-size:.9em;font-weight:700;cursor:pointer;transition:all var(--wzkb-transition-base) ease;min-width:80px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-color-primary-dark);transform:translateY(-1px);box-shadow:var(--wzkb-shadow-md)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-color-primary);outline-offset:2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:20px 0;padding:20px 0;border-top:2px solid var(--wzkb-border-light);border-bottom:2px solid var(--wzkb-border-light);text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-left:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-lighter);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all var(--wzkb-transition-base) ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:var(--wzkb-border-radius-lg);border:1px solid var(--wzkb-border-light);box-shadow:var(--wzkb-shadow-sm)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;font-size:24px;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-border-light);transition:all var(--wzkb-transition-base) ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:var(--wzkb-shadow-md);transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:24px;background:var(--wzkb-breadcrumb-bg);padding:12px 20px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-breadcrumb-border);font-size:14px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:color var(--wzkb-transition-base) ease}.wzkb_breadcrumb-item a:hover{color:var(--wzkb-color-primary-dark)}.wzkb_breadcrumb-item:not(:last-child)::after{content:"›";margin:0 8px;color:var(--wzkb-breadcrumb-separator);font-weight:400;font-size:18px}.wzkb-product-grid-wrapper{background:linear-gradient(-135deg,#f0f9ff 0,#e0f2fe 50%,#f0f9ff 100%);padding:40px;border-radius:var(--wzkb-border-radius-xl);border:2px solid rgba(37,99,235,.1);box-shadow:var(--wzkb-shadow-xl);margin-top:32px;display:block!important;width:100%!important;grid-column:1/-1!important;position:relative;overflow:hidden}.wzkb-product-grid-wrapper::before{content:'';position:absolute;top:0;left:0;width:300px;height:300px;background:radial-gradient(circle,rgba(37,99,235,.08) 0,transparent 70%);pointer-events:none}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:28px;width:100%;position:relative;z-index:1}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white);border-radius:var(--wzkb-border-radius-lg);padding:28px;border:2px solid transparent;box-shadow:var(--wzkb-shadow-md);transition:all var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1);min-height:200px;overflow:hidden}.wzkb-product-card::before{content:"";position:absolute;top:0;right:0;left:0;height:4px;background:linear-gradient(-90deg,var(--wzkb-color-primary),var(--wzkb-color-primary-light));transform:scaleX(0);transform-origin:right;transition:transform var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1)}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:var(--wzkb-shadow-xl);border-color:rgba(37,99,235,.2)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{transform:scaleX(1)}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:22px;font-weight:700;color:var(--wzkb-color-text);line-height:1.3;letter-spacing:-.015em}.wzkb-product-card .wzkb-product-title::after{display:none}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium);font-size:15px;line-height:1.6;margin-bottom:20px;flex-grow:1}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--wzkb-color-primary);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.2em;transition:transform var(--wzkb-transition-base) ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(-6px)}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-right:0!important;margin-left:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md,6px);padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box}.wzkb-toc-title{font-weight:600;margin:0 0 .5rem}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-right:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-right:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color var(--wzkb-transition-base, .2s) ease}.wzkb-toc-list a:hover{text-decoration:underline} \ No newline at end of file +:root{--wzkb-color-accent:#f59e0b;--wzkb-color-accent-dark:#d97706;--wzkb-fill-accent:#9a3412;--wzkb-fill-accent-hover:#7c2d12;--wzkb-color-on-accent:#ffffff;--wzkb-color-primary:var(--wzkb-fill-accent);--wzkb-color-primary-dark:var(--wzkb-fill-accent-hover);--wzkb-color-primary-light:#c2410c;--wzkb-color-text:#1f2937;--wzkb-color-text-medium:#6b7280;--wzkb-color-text-light:#9ca3af;--wzkb-color-white:#ffffff;--wzkb-color-success:#10b981;--wzkb-bg-white:#ffffff;--wzkb-bg-light:#f9fafb;--wzkb-bg-lighter:#f3f4f6;--wzkb-bg-section:#fefefe;--wzkb-border-light:#e5e7eb;--wzkb-border-medium:#d1d5db;--wzkb-border-accent:#fbbf24;--wzkb-shadow-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--wzkb-shadow-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--wzkb-shadow-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--wzkb-shadow-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--wzkb-breadcrumb-bg:var(--wzkb-bg-lighter);--wzkb-breadcrumb-text:var(--wzkb-color-text);--wzkb-breadcrumb-link:var(--wzkb-color-primary);--wzkb-breadcrumb-separator:var(--wzkb-color-text-light);--wzkb-breadcrumb-border:var(--wzkb-border-light);--wzkb-search-submit-bg:var(--wzkb-fill-accent);--wzkb-search-submit-bg-hover:var(--wzkb-fill-accent-hover);--wzkb-search-submit-focus-ring:var(--wzkb-fill-accent);--wzkb-search-submit-color:var(--wzkb-color-on-accent);--wzkb-badge-bg:var(--wzkb-fill-accent);--wzkb-badge-color:var(--wzkb-color-on-accent);--wzkb-product-grid-bg-start:color-mix(in srgb, var(--wzkb-color-accent) 14%, var(--wzkb-bg-white));--wzkb-product-grid-bg-mid:color-mix(in srgb, var(--wzkb-color-accent) 8%, var(--wzkb-bg-lighter));--wzkb-product-grid-bg-end:color-mix(in srgb, var(--wzkb-color-accent) 14%, var(--wzkb-bg-white));--wzkb-primary-alpha-10:color-mix(in srgb, var(--wzkb-color-primary) 10%, transparent);--wzkb-primary-alpha-20:color-mix(in srgb, var(--wzkb-color-primary) 20%, transparent);--wzkb-primary-alpha-08:color-mix(in srgb, var(--wzkb-color-primary) 8%, transparent);--wzkb-wrapper-max-width:1280px;--wzkb-border-radius-sm:6px;--wzkb-border-radius-md:10px;--wzkb-border-radius-lg:16px;--wzkb-border-radius-xl:20px;--wzkb-transition-fast:150ms;--wzkb-transition-base:250ms;--wzkb-transition-slow:350ms}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:24px}.wzkb{width:100%;max-width:100%;margin:16px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:24px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:20px}.wzkb-product-grid-wrapper{padding:24px 16px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 16px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:40px}.wzkb-product-header{margin-bottom:24px}.wzkb-product-description{font-size:18px;line-height:1.6;color:var(--wzkb-color-text-medium);margin-top:12px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:36px;line-height:1.2;font-weight:800;letter-spacing:-.025em;margin:0 0 16px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text);position:relative;display:inline-block}.wzkb-product-title::after{content:'';position:absolute;bottom:-8px;right:0;width:60px;height:4px;background:linear-gradient(-90deg,var(--wzkb-color-accent),var(--wzkb-color-accent-dark));border-radius:2px}.wzkb-product-title a{color:var(--wzkb-color-text);text-decoration:none;font-weight:800;transition:color var(--wzkb-transition-base) ease}.wzkb-product-title a:hover{color:var(--wzkb-color-primary)}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0;background:var(--wzkb-bg-section);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md);padding:20px;transition:all var(--wzkb-transition-base) ease}.wzkb-section:hover{border-color:var(--wzkb-border-medium);box-shadow:var(--wzkb-shadow-md)}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0;transition:color var(--wzkb-transition-base) ease}.wzkb .wzkb-section-name a:hover{color:var(--wzkb-color-primary)}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:16px;padding-bottom:12px;overflow:hidden;line-height:1.3;position:relative;border-bottom:2px solid var(--wzkb-border-light)}.wzkb-section-name-level-1{background:linear-gradient(-135deg,var(--wzkb-bg-lighter) 0,var(--wzkb-bg-white) 100%);border:2px solid var(--wzkb-border-accent);border-right-width:6px;padding:16px 20px;margin-bottom:24px;border-radius:var(--wzkb-border-radius-md);grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:28px;font-weight:800;letter-spacing:-.025em}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:8px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}.wzkb-articles-list li{margin:0;padding:0;position:relative;display:grid;grid-template-columns:20px 1fr;column-gap:10px;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;grid-column:1;grid-row:1;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-wrap:break-word;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li:hover:before{transform:translateX(-3px)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;line-height:1.6;position:relative;transition:color var(--wzkb-transition-base) ease;grid-column:2;grid-row:1;min-width:0}.wzkb-article-excerpt{grid-column:2;grid-row:2;margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 8px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0 0 20px 0;padding:0;line-height:1.5;border:none}.wzkb-products-list ul{list-style:none!important;margin:8px 0 0 0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:6px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:"→";position:relative;color:var(--wzkb-color-accent);font-weight:700;line-height:1.6;transition:transform var(--wzkb-transition-fast) ease}.wzkb-products-list ul li:hover::before{transform:translateX(-3px)}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-text);text-decoration:none;font-weight:700;font-size:17px;position:relative;display:inline-block;padding-bottom:8px;margin-bottom:8px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link::after,.wzkb-products-list>li>a::after{content:'';position:absolute;bottom:0;right:0;width:40px;height:3px;background:var(--wzkb-badge-bg);border-radius:2px;transition:width var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link:hover::after,.wzkb-products-list>li>a:hover::after{width:80px}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-right:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:16px;margin-bottom:16px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:16px;margin-bottom:12px;padding-bottom:8px}.wzkb-article-footer{margin-top:32px;padding-top:20px;border-top:2px solid var(--wzkb-border-light);font-size:16px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:color var(--wzkb-transition-base) ease;display:inline-flex;align-items:center;gap:6px}.wzkb-article-footer a::after{content:"→";transition:transform var(--wzkb-transition-fast) ease}.wzkb-article-footer a:hover{color:var(--wzkb-color-primary-dark)}.wzkb-article-footer a:hover::after{transform:translateX(-4px)}.wzkb .wzkb-section-count{display:inline-flex;align-items:center;justify-content:center;float:left;margin:0;padding:4px 12px;background:var(--wzkb-badge-bg);color:var(--wzkb-badge-color);border:none;border-radius:12px;text-align:center;font-size:13px;font-weight:700;min-width:28px;box-shadow:var(--wzkb-shadow-sm)}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-right:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:left;margin-right:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:12px;background:var(--wzkb-bg-white);padding:0;position:relative;margin:24px auto;font-size:1.2em;width:100%;box-shadow:var(--wzkb-shadow-md);overflow:hidden;transition:all var(--wzkb-transition-base) ease}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary);box-shadow:0 0 0 3px var(--wzkb-primary-alpha-10),var(--wzkb-shadow-lg)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;color:var(--wzkb-color-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:1em;font-weight:500;padding:14px 48px 14px 20px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:22px 22px;outline:0;transition:background-color var(--wzkb-transition-base) ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light)}input[type=search].wzkb-search-field::placeholder{color:var(--wzkb-color-text-light)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-search-submit-bg);color:var(--wzkb-search-submit-color);border:none;border-radius:10px 0 0 10px;padding:14px 24px;font-size:.9em;font-weight:700;cursor:pointer;transition:all var(--wzkb-transition-base) ease;min-width:80px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-search-submit-bg-hover);transform:translateY(-1px);box-shadow:var(--wzkb-shadow-md)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-search-submit-focus-ring);outline-offset:2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:20px 0;padding:20px 0;border-top:2px solid var(--wzkb-border-light);border-bottom:2px solid var(--wzkb-border-light);text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-left:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-lighter);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all var(--wzkb-transition-base) ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:var(--wzkb-border-radius-lg);border:1px solid var(--wzkb-border-light);box-shadow:var(--wzkb-shadow-sm)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;font-size:24px;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-border-light);transition:all var(--wzkb-transition-base) ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:var(--wzkb-shadow-md);transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:24px;background:var(--wzkb-breadcrumb-bg);padding:12px 20px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-breadcrumb-border);font-size:14px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:color var(--wzkb-transition-base) ease}.wzkb_breadcrumb-item a:hover{color:var(--wzkb-color-primary-dark)}.wzkb_breadcrumb-item:not(:last-child)::after{content:"›";margin:0 8px;color:var(--wzkb-breadcrumb-separator);font-weight:400;font-size:18px}.wzkb-product-grid-wrapper{background:linear-gradient(-135deg,var(--wzkb-product-grid-bg-start) 0,var(--wzkb-product-grid-bg-mid) 50%,var(--wzkb-product-grid-bg-end) 100%);padding:40px;border-radius:var(--wzkb-border-radius-xl);border:2px solid var(--wzkb-primary-alpha-10);box-shadow:var(--wzkb-shadow-xl);margin-top:32px;display:block!important;width:100%!important;grid-column:1/-1!important;position:relative;overflow:hidden}.wzkb-product-grid-wrapper::before{content:'';position:absolute;top:0;left:0;width:300px;height:300px;background:radial-gradient(circle,var(--wzkb-primary-alpha-08) 0,transparent 70%);pointer-events:none}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:28px;width:100%;position:relative;z-index:1}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white);border-radius:var(--wzkb-border-radius-lg);padding:28px;border:2px solid transparent;box-shadow:var(--wzkb-shadow-md);transition:all var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1);min-height:200px;overflow:hidden}.wzkb-product-card::before{content:"";position:absolute;top:0;right:0;left:0;height:4px;background:linear-gradient(-90deg,var(--wzkb-color-primary),var(--wzkb-color-primary-light));transform:scaleX(0);transform-origin:right;transition:transform var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1)}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:var(--wzkb-shadow-xl);border-color:var(--wzkb-primary-alpha-20)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{transform:scaleX(1)}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:22px;font-weight:700;color:var(--wzkb-color-text);line-height:1.3;letter-spacing:-.015em}.wzkb-product-card .wzkb-product-title::after{display:none}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium);font-size:15px;line-height:1.6;margin-bottom:20px;flex-grow:1}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--wzkb-color-primary);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.2em;transition:transform var(--wzkb-transition-base) ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(-6px)}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-right:0!important;margin-left:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md,6px);padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box}.wzkb-toc-title{font-weight:600;margin:0 0 .5rem}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-right:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-right:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color var(--wzkb-transition-base, .2s) ease}.wzkb-toc-list a:hover{text-decoration:underline}:root{--wzkb-space-xs:8px;--wzkb-space-sm:12px;--wzkb-space-md:16px;--wzkb-space-lg:24px;--wzkb-space-xl:32px;--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-lg)}.wzkb .wzkb-section-name{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:var(--wzkb-space-sm);row-gap:var(--wzkb-space-xs);overflow:visible}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1;min-width:0;word-break:break-word}.wzkb-section-count{float:none;grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;justify-self:end;line-height:1;margin:0}.wzkb-section{overflow-x:clip}.wzkb-search-form{align-items:stretch;flex-wrap:nowrap}.wzkb-search-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;flex:0 0 auto}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{box-sizing:border-box;margin:0;align-self:stretch;height:auto;min-height:44px;line-height:1.25;-webkit-appearance:none;appearance:none}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{flex:1 1 auto;min-width:0;width:auto}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{flex:0 0 auto;min-width:4.5rem}@media (max-width:782px){:root{--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-md)}.wzkb_breadcrumb{margin-block:var(--wzkb-space-md) 0;padding:10px 14px;font-size:14px}.wzkb-search-form{margin-block-start:var(--wzkb-space-lg);margin-block-end:var(--wzkb-space-lg);font-size:1rem}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{font-size:16px;padding-block:12px}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{padding-inline:44px 14px;background-size:20px 20px;background-position:12px center}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{padding-inline:14px}.wzkb-wrap .page-header{margin:0 0 var(--wzkb-space-lg)}.wzkb-wrap .page-title{margin:0;line-height:1.25}.wzkb{margin-block-start:0;gap:var(--wzkb-space-section-gap)}.wzkb .wzkb-section-name-level-1:first-child{margin-top:0}.wzkb-section-wrapper>.wzkb-section{margin-block-start:0}.wzkb .wzkb-section-name{grid-template-columns:1fr;align-items:start;margin-block-end:var(--wzkb-space-md)}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1}.wzkb-section-count{grid-column:1;grid-row:2;justify-self:start;margin-block-start:var(--wzkb-space-xs)}.wzkb .wzkb-section-name.wzkb-section-name-level-1,.wzkb .wzkb-section-name.wzkb-section-name-level-2{grid-template-columns:minmax(0,1fr) auto;align-items:center}.wzkb .wzkb-section-name.wzkb-section-name-level-1{margin-block-end:0;font-size:1.125rem;line-height:1.3;padding:10px 12px}.wzkb .wzkb-section-name.wzkb-section-name-level-2{font-size:1.0625rem;padding-bottom:6px}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-1>a,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-2>a{grid-column:1;grid-row:1}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin-block-start:0;font-size:12px;padding:4px 10px;min-width:28px}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{margin-bottom:0}}.wzkb-wrap #wzkb-content-primary,.wzkb-wrap #wzkb-content-primary.content-area{width:100%;max-width:100%;float:none;flex:1 1 auto;min-width:0}.wzkb-wrap #wzkb-content-primary>.wzkb,.wzkb-wrap>#wzkb-content-primary>.wzkb{width:100%;max-width:100%;margin-inline:0}body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)){display:block}body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px)}@media (max-width:1024px){body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{grid-template-columns:1fr}body.wzkb-sidebar-enabled .wzkb,body.wzkb-sidebar-enabled .wzkb-product-grid{--wzkb-columns:1}} \ No newline at end of file diff --git a/includes/frontend/css/styles/vibrant.css b/includes/frontend/css/styles/vibrant.css index 867f82f0..93a48568 100644 --- a/includes/frontend/css/styles/vibrant.css +++ b/includes/frontend/css/styles/vibrant.css @@ -9,12 +9,17 @@ /* CSS Variables for Vibrant Style */ :root { - /* Primary colours */ - --wzkb-color-primary: #2563eb; - --wzkb-color-primary-dark: #1e40af; - --wzkb-color-primary-light: #3b82f6; + /* Accent: bright borders; fill uses darker tone for WCAG AAA with white text */ --wzkb-color-accent: #f59e0b; --wzkb-color-accent-dark: #d97706; + --wzkb-fill-accent: #9a3412; + --wzkb-fill-accent-hover: #7c2d12; + --wzkb-color-on-accent: #ffffff; + + /* Primary colours — filled UI and links (contrast-safe on white) */ + --wzkb-color-primary: var(--wzkb-fill-accent); + --wzkb-color-primary-dark: var(--wzkb-fill-accent-hover); + --wzkb-color-primary-light: #c2410c; --wzkb-color-text: #1f2937; --wzkb-color-text-medium: #6b7280; --wzkb-color-text-light: #9ca3af; @@ -45,6 +50,20 @@ --wzkb-breadcrumb-separator: var(--wzkb-color-text-light); --wzkb-breadcrumb-border: var(--wzkb-border-light); + /* Interactive surfaces */ + --wzkb-search-submit-bg: var(--wzkb-fill-accent); + --wzkb-search-submit-bg-hover: var(--wzkb-fill-accent-hover); + --wzkb-search-submit-focus-ring: var(--wzkb-fill-accent); + --wzkb-search-submit-color: var(--wzkb-color-on-accent); + --wzkb-badge-bg: var(--wzkb-fill-accent); + --wzkb-badge-color: var(--wzkb-color-on-accent); + --wzkb-product-grid-bg-start: color-mix(in srgb, var(--wzkb-color-accent) 14%, var(--wzkb-bg-white)); + --wzkb-product-grid-bg-mid: color-mix(in srgb, var(--wzkb-color-accent) 8%, var(--wzkb-bg-lighter)); + --wzkb-product-grid-bg-end: color-mix(in srgb, var(--wzkb-color-accent) 14%, var(--wzkb-bg-white)); + --wzkb-primary-alpha-10: color-mix(in srgb, var(--wzkb-color-primary) 10%, transparent); + --wzkb-primary-alpha-20: color-mix(in srgb, var(--wzkb-color-primary) 20%, transparent); + --wzkb-primary-alpha-08: color-mix(in srgb, var(--wzkb-color-primary) 8%, transparent); + /* Layout variables */ --wzkb-wrapper-max-width: 1280px; --wzkb-border-radius-sm: 6px; @@ -388,7 +407,7 @@ left: 0; width: 40px; height: 3px; - background: var(--wzkb-color-accent); + background: var(--wzkb-badge-bg); border-radius: 2px; transition: width var(--wzkb-transition-base) ease; } @@ -483,15 +502,15 @@ } /* Section count badge */ -.wzkb-section-count { +.wzkb .wzkb-section-count { display: inline-flex; align-items: center; justify-content: center; float: right; margin: 0; padding: 4px 12px; - background: var(--wzkb-color-accent); - color: var(--wzkb-color-white) !important; + background: var(--wzkb-badge-bg); + color: var(--wzkb-badge-color); border: none; border-radius: 12px; text-align: center; @@ -579,7 +598,7 @@ body.single-wz_knowledgebase .nav-next { .wzkb-search-form:focus-within { border-color: var(--wzkb-color-primary); - box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), var(--wzkb-shadow-lg); + box-shadow: 0 0 0 3px var(--wzkb-primary-alpha-10), var(--wzkb-shadow-lg); } .wzkb-search-form label { @@ -612,8 +631,8 @@ input[type="search"].wzkb-search-field::placeholder { input[type="submit"].wzkb-search-submit { display: block; - background: var(--wzkb-color-primary); - color: var(--wzkb-color-white); + background: var(--wzkb-search-submit-bg); + color: var(--wzkb-search-submit-color); border: none; border-radius: 0 10px 10px 0; padding: 14px 24px; @@ -626,7 +645,7 @@ input[type="submit"].wzkb-search-submit { } input[type="submit"].wzkb-search-submit:hover { - background: var(--wzkb-color-primary-dark); + background: var(--wzkb-search-submit-bg-hover); transform: translateY(-1px); box-shadow: var(--wzkb-shadow-md); } @@ -636,7 +655,7 @@ input[type="submit"].wzkb-search-submit:active { } input[type="submit"].wzkb-search-submit:focus { - outline: 2px solid var(--wzkb-color-primary); + outline: 2px solid var(--wzkb-search-submit-focus-ring); outline-offset: 2px; } @@ -789,10 +808,10 @@ nav.pagination { /* Product Grid Layout */ .wzkb-product-grid-wrapper { - background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%); + background: linear-gradient(135deg, var(--wzkb-product-grid-bg-start) 0%, var(--wzkb-product-grid-bg-mid) 50%, var(--wzkb-product-grid-bg-end) 100%); padding: 40px; border-radius: var(--wzkb-border-radius-xl); - border: 2px solid rgba(37, 99, 235, 0.1); + border: 2px solid var(--wzkb-primary-alpha-10); box-shadow: var(--wzkb-shadow-xl); margin-top: 32px; display: block !important; @@ -809,7 +828,7 @@ nav.pagination { right: 0; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%); + background: radial-gradient(circle, var(--wzkb-primary-alpha-08) 0%, transparent 70%); pointer-events: none; } @@ -854,7 +873,7 @@ nav.pagination { .wzkb-product-card:focus-within { transform: translateY(-2px); box-shadow: var(--wzkb-shadow-xl); - border-color: rgba(37, 99, 235, 0.2); + border-color: var(--wzkb-primary-alpha-20); } .wzkb-product-card:hover::before, @@ -1146,4 +1165,255 @@ figure.wzkb-search-result-thumb-link { .wzkb-toc-list a:hover { text-decoration: underline; -} \ No newline at end of file +} + +/* Archive mobile spacing @since 3.3.1 */ +:root { + --wzkb-space-xs: 8px; + --wzkb-space-sm: 12px; + --wzkb-space-md: 16px; + --wzkb-space-lg: 24px; + --wzkb-space-xl: 32px; + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-lg); +} + +.wzkb .wzkb-section-name { + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + column-gap: var(--wzkb-space-sm); + row-gap: var(--wzkb-space-xs); + overflow: visible; +} + +.wzkb .wzkb-section-name > a, +.wzkb .wzkb-section-title-text { + grid-column: 1; + min-width: 0; + word-break: break-word; +} + +.wzkb-section-count { + float: none; + grid-column: 2; + grid-row: 1; + display: inline-flex; + align-items: center; + justify-content: center; + justify-self: end; + line-height: 1; + margin: 0; +} + +.wzkb-section { + overflow-x: clip; +} + +/* Search row: equal-height field and submit (all presets) */ +.wzkb-search-form { + align-items: stretch; + flex-wrap: nowrap; +} + +.wzkb-search-form label { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + clip-path: inset(50%); + white-space: nowrap; + border: 0; + flex: 0 0 auto; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field, +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + box-sizing: border-box; + margin: 0; + align-self: stretch; + height: auto; + min-height: 44px; + line-height: 1.25; + -webkit-appearance: none; + appearance: none; +} + +.wzkb-search-form input[type="search"].wzkb-search-field, +.wzkb-search-form .wzkb-search-field { + flex: 1 1 auto; + min-width: 0; + width: auto; +} + +.wzkb-search-form input[type="submit"].wzkb-search-submit, +.wzkb-search-form .wzkb-search-submit { + flex: 0 0 auto; + min-width: 4.5rem; +} + +@media (max-width: 782px) { + :root { + --wzkb-space-header-gap: var(--wzkb-space-md); + --wzkb-space-section-gap: var(--wzkb-space-md); + } + + .wzkb_breadcrumb { + margin-block: var(--wzkb-space-md) 0; + padding: 10px 14px; + font-size: 14px; + } + + .wzkb-search-form { + margin-block-start: var(--wzkb-space-lg); + margin-block-end: var(--wzkb-space-lg); + font-size: 1rem; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field, + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + font-size: 16px; + padding-block: 12px; + } + + .wzkb-search-form input[type="search"].wzkb-search-field, + .wzkb-search-form .wzkb-search-field { + padding-inline: 44px 14px; + background-size: 20px 20px; + background-position: 12px center; + } + + .wzkb-search-form input[type="submit"].wzkb-search-submit, + .wzkb-search-form .wzkb-search-submit { + padding-inline: 14px; + } + + .wzkb-wrap .page-header { + margin: 0 0 var(--wzkb-space-lg); + } + + .wzkb-wrap .page-title { + margin: 0; + line-height: 1.25; + } + + .wzkb { + margin-block-start: 0; + gap: var(--wzkb-space-section-gap); + } + + .wzkb .wzkb-section-name-level-1:first-child { + margin-top: 0; + } + + .wzkb-section-wrapper > .wzkb-section { + margin-block-start: 0; + } + + .wzkb .wzkb-section-name { + grid-template-columns: 1fr; + align-items: start; + margin-block-end: var(--wzkb-space-md); + } + + .wzkb .wzkb-section-name > a, + .wzkb .wzkb-section-title-text { + grid-column: 1; + } + + .wzkb-section-count { + grid-column: 1; + grid-row: 2; + justify-self: start; + margin-block-start: var(--wzkb-space-xs); + } + + /* Archive section headers: title | badge on one row (incl. nested). */ + .wzkb .wzkb-section-name.wzkb-section-name-level-1, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 { + margin-block-end: 0; + font-size: 1.125rem; + line-height: 1.3; + padding: 10px 12px; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-2 { + font-size: 1.0625rem; + padding-bottom: 6px; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-1 > a, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 > a { + grid-column: 1; + grid-row: 1; + } + + .wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count, + .wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count { + grid-column: 2; + grid-row: 1; + justify-self: end; + align-self: center; + margin-block-start: 0; + font-size: 12px; + padding: 4px 10px; + min-width: 28px; + } + + .wzkb-category-archive .wzkb-section-wrapper .wzkb-section { + margin-bottom: 0; + } +} +/* Desktop wrapper width @since 3.3.1 */ +/* Override theme .content-area widths (e.g. GeneratePress flex/grid sidebar layouts). */ +.wzkb-wrap #wzkb-content-primary, +.wzkb-wrap #wzkb-content-primary.content-area { + width: 100%; + max-width: 100%; + float: none; + flex: 1 1 auto; + min-width: 0; +} + +.wzkb-wrap > #wzkb-content-primary > .wzkb, +.wzkb-wrap #wzkb-content-primary > .wzkb { + width: 100%; + max-width: 100%; + margin-inline: 0; +} + +/* Two-column wrap only when the KB sidebar column exists (block themes may omit it). */ +body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)) { + display: block; +} + +body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); +} +/* Tablet: stack KB sidebar and use one archive column when the sidebar is on @since 3.3.1 */ +@media (max-width: 1024px) { + body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap { + grid-template-columns: 1fr; + } + + body.wzkb-sidebar-enabled .wzkb, + body.wzkb-sidebar-enabled .wzkb-product-grid { + --wzkb-columns: 1; + } +} + diff --git a/includes/frontend/css/styles/vibrant.min.css b/includes/frontend/css/styles/vibrant.min.css index 0e430cba..73f44826 100644 --- a/includes/frontend/css/styles/vibrant.min.css +++ b/includes/frontend/css/styles/vibrant.min.css @@ -1 +1 @@ -:root{--wzkb-color-primary:#2563eb;--wzkb-color-primary-dark:#1e40af;--wzkb-color-primary-light:#3b82f6;--wzkb-color-accent:#f59e0b;--wzkb-color-accent-dark:#d97706;--wzkb-color-text:#1f2937;--wzkb-color-text-medium:#6b7280;--wzkb-color-text-light:#9ca3af;--wzkb-color-white:#ffffff;--wzkb-color-success:#10b981;--wzkb-bg-white:#ffffff;--wzkb-bg-light:#f9fafb;--wzkb-bg-lighter:#f3f4f6;--wzkb-bg-section:#fefefe;--wzkb-border-light:#e5e7eb;--wzkb-border-medium:#d1d5db;--wzkb-border-accent:#fbbf24;--wzkb-shadow-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--wzkb-shadow-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--wzkb-shadow-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--wzkb-shadow-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--wzkb-breadcrumb-bg:var(--wzkb-bg-lighter);--wzkb-breadcrumb-text:var(--wzkb-color-text);--wzkb-breadcrumb-link:var(--wzkb-color-primary);--wzkb-breadcrumb-separator:var(--wzkb-color-text-light);--wzkb-breadcrumb-border:var(--wzkb-border-light);--wzkb-wrapper-max-width:1280px;--wzkb-border-radius-sm:6px;--wzkb-border-radius-md:10px;--wzkb-border-radius-lg:16px;--wzkb-border-radius-xl:20px;--wzkb-transition-fast:150ms;--wzkb-transition-base:250ms;--wzkb-transition-slow:350ms}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:24px}.wzkb{width:100%;max-width:100%;margin:16px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:24px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:20px}.wzkb-product-grid-wrapper{padding:24px 16px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 16px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:40px}.wzkb-product-header{margin-bottom:24px}.wzkb-product-description{font-size:18px;line-height:1.6;color:var(--wzkb-color-text-medium);margin-top:12px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:36px;line-height:1.2;font-weight:800;letter-spacing:-.025em;margin:0 0 16px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text);position:relative;display:inline-block}.wzkb-product-title::after{content:'';position:absolute;bottom:-8px;left:0;width:60px;height:4px;background:linear-gradient(90deg,var(--wzkb-color-accent),var(--wzkb-color-accent-dark));border-radius:2px}.wzkb-product-title a{color:var(--wzkb-color-text);text-decoration:none;font-weight:800;transition:color var(--wzkb-transition-base) ease}.wzkb-product-title a:hover{color:var(--wzkb-color-primary)}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0;background:var(--wzkb-bg-section);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md);padding:20px;transition:all var(--wzkb-transition-base) ease}.wzkb-section:hover{border-color:var(--wzkb-border-medium);box-shadow:var(--wzkb-shadow-md)}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0;transition:color var(--wzkb-transition-base) ease}.wzkb .wzkb-section-name a:hover{color:var(--wzkb-color-primary)}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:16px;padding-bottom:12px;overflow:hidden;line-height:1.3;position:relative;border-bottom:2px solid var(--wzkb-border-light)}.wzkb-section-name-level-1{background:linear-gradient(135deg,var(--wzkb-bg-lighter) 0,var(--wzkb-bg-white) 100%);border:2px solid var(--wzkb-border-accent);border-left-width:6px;padding:16px 20px;margin-bottom:24px;border-radius:var(--wzkb-border-radius-md);grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:28px;font-weight:800;letter-spacing:-.025em}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:8px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}.wzkb-articles-list li{margin:0;padding:0;position:relative;display:grid;grid-template-columns:20px 1fr;column-gap:10px;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;grid-column:1;grid-row:1;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-wrap:break-word;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li:hover:before{transform:translateX(3px)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;line-height:1.6;position:relative;transition:color var(--wzkb-transition-base) ease;grid-column:2;grid-row:1;min-width:0}.wzkb-article-excerpt{grid-column:2;grid-row:2;margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 8px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0 0 20px 0;padding:0;line-height:1.5;border:none}.wzkb-products-list ul{list-style:none!important;margin:8px 0 0 0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:6px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:"→";position:relative;color:var(--wzkb-color-accent);font-weight:700;line-height:1.6;transition:transform var(--wzkb-transition-fast) ease}.wzkb-products-list ul li:hover::before{transform:translateX(3px)}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-text);text-decoration:none;font-weight:700;font-size:17px;position:relative;display:inline-block;padding-bottom:8px;margin-bottom:8px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link::after,.wzkb-products-list>li>a::after{content:'';position:absolute;bottom:0;left:0;width:40px;height:3px;background:var(--wzkb-color-accent);border-radius:2px;transition:width var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link:hover::after,.wzkb-products-list>li>a:hover::after{width:80px}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-left:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:16px;margin-bottom:16px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:16px;margin-bottom:12px;padding-bottom:8px}.wzkb-article-footer{margin-top:32px;padding-top:20px;border-top:2px solid var(--wzkb-border-light);font-size:16px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:color var(--wzkb-transition-base) ease;display:inline-flex;align-items:center;gap:6px}.wzkb-article-footer a::after{content:"→";transition:transform var(--wzkb-transition-fast) ease}.wzkb-article-footer a:hover{color:var(--wzkb-color-primary-dark)}.wzkb-article-footer a:hover::after{transform:translateX(4px)}.wzkb-section-count{display:inline-flex;align-items:center;justify-content:center;float:right;margin:0;padding:4px 12px;background:var(--wzkb-color-accent);color:var(--wzkb-color-white)!important;border:none;border-radius:12px;text-align:center;font-size:13px;font-weight:700;min-width:28px;box-shadow:var(--wzkb-shadow-sm)}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-left:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:right;margin-left:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:12px;background:var(--wzkb-bg-white);padding:0;position:relative;margin:24px auto;font-size:1.2em;width:100%;box-shadow:var(--wzkb-shadow-md);overflow:hidden;transition:all var(--wzkb-transition-base) ease}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary);box-shadow:0 0 0 3px rgba(37,99,235,.1),var(--wzkb-shadow-lg)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;color:var(--wzkb-color-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:1em;font-weight:500;padding:14px 20px 14px 48px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:22px 22px;outline:0;transition:background-color var(--wzkb-transition-base) ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light)}input[type=search].wzkb-search-field::placeholder{color:var(--wzkb-color-text-light)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border:none;border-radius:0 10px 10px 0;padding:14px 24px;font-size:.9em;font-weight:700;cursor:pointer;transition:all var(--wzkb-transition-base) ease;min-width:80px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-color-primary-dark);transform:translateY(-1px);box-shadow:var(--wzkb-shadow-md)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-color-primary);outline-offset:2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:20px 0;padding:20px 0;border-top:2px solid var(--wzkb-border-light);border-bottom:2px solid var(--wzkb-border-light);text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-right:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-lighter);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all var(--wzkb-transition-base) ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:var(--wzkb-border-radius-lg);border:1px solid var(--wzkb-border-light);box-shadow:var(--wzkb-shadow-sm)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;font-size:24px;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-border-light);transition:all var(--wzkb-transition-base) ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:var(--wzkb-shadow-md);transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:24px;background:var(--wzkb-breadcrumb-bg);padding:12px 20px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-breadcrumb-border);font-size:14px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:color var(--wzkb-transition-base) ease}.wzkb_breadcrumb-item a:hover{color:var(--wzkb-color-primary-dark)}.wzkb_breadcrumb-item:not(:last-child)::after{content:"›";margin:0 8px;color:var(--wzkb-breadcrumb-separator);font-weight:400;font-size:18px}.wzkb-product-grid-wrapper{background:linear-gradient(135deg,#f0f9ff 0,#e0f2fe 50%,#f0f9ff 100%);padding:40px;border-radius:var(--wzkb-border-radius-xl);border:2px solid rgba(37,99,235,.1);box-shadow:var(--wzkb-shadow-xl);margin-top:32px;display:block!important;width:100%!important;grid-column:1/-1!important;position:relative;overflow:hidden}.wzkb-product-grid-wrapper::before{content:'';position:absolute;top:0;right:0;width:300px;height:300px;background:radial-gradient(circle,rgba(37,99,235,.08) 0,transparent 70%);pointer-events:none}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:28px;width:100%;position:relative;z-index:1}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white);border-radius:var(--wzkb-border-radius-lg);padding:28px;border:2px solid transparent;box-shadow:var(--wzkb-shadow-md);transition:all var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1);min-height:200px;overflow:hidden}.wzkb-product-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--wzkb-color-primary),var(--wzkb-color-primary-light));transform:scaleX(0);transform-origin:left;transition:transform var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1)}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:var(--wzkb-shadow-xl);border-color:rgba(37,99,235,.2)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{transform:scaleX(1)}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:22px;font-weight:700;color:var(--wzkb-color-text);line-height:1.3;letter-spacing:-.015em}.wzkb-product-card .wzkb-product-title::after{display:none}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium);font-size:15px;line-height:1.6;margin-bottom:20px;flex-grow:1}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--wzkb-color-primary);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.2em;transition:transform var(--wzkb-transition-base) ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(6px)}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md,6px);padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box}.wzkb-toc-title{font-weight:600;margin:0 0 .5rem}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-left:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-left:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color var(--wzkb-transition-base, .2s) ease}.wzkb-toc-list a:hover{text-decoration:underline} \ No newline at end of file +:root{--wzkb-color-accent:#f59e0b;--wzkb-color-accent-dark:#d97706;--wzkb-fill-accent:#9a3412;--wzkb-fill-accent-hover:#7c2d12;--wzkb-color-on-accent:#ffffff;--wzkb-color-primary:var(--wzkb-fill-accent);--wzkb-color-primary-dark:var(--wzkb-fill-accent-hover);--wzkb-color-primary-light:#c2410c;--wzkb-color-text:#1f2937;--wzkb-color-text-medium:#6b7280;--wzkb-color-text-light:#9ca3af;--wzkb-color-white:#ffffff;--wzkb-color-success:#10b981;--wzkb-bg-white:#ffffff;--wzkb-bg-light:#f9fafb;--wzkb-bg-lighter:#f3f4f6;--wzkb-bg-section:#fefefe;--wzkb-border-light:#e5e7eb;--wzkb-border-medium:#d1d5db;--wzkb-border-accent:#fbbf24;--wzkb-shadow-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--wzkb-shadow-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--wzkb-shadow-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--wzkb-shadow-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--wzkb-breadcrumb-bg:var(--wzkb-bg-lighter);--wzkb-breadcrumb-text:var(--wzkb-color-text);--wzkb-breadcrumb-link:var(--wzkb-color-primary);--wzkb-breadcrumb-separator:var(--wzkb-color-text-light);--wzkb-breadcrumb-border:var(--wzkb-border-light);--wzkb-search-submit-bg:var(--wzkb-fill-accent);--wzkb-search-submit-bg-hover:var(--wzkb-fill-accent-hover);--wzkb-search-submit-focus-ring:var(--wzkb-fill-accent);--wzkb-search-submit-color:var(--wzkb-color-on-accent);--wzkb-badge-bg:var(--wzkb-fill-accent);--wzkb-badge-color:var(--wzkb-color-on-accent);--wzkb-product-grid-bg-start:color-mix(in srgb, var(--wzkb-color-accent) 14%, var(--wzkb-bg-white));--wzkb-product-grid-bg-mid:color-mix(in srgb, var(--wzkb-color-accent) 8%, var(--wzkb-bg-lighter));--wzkb-product-grid-bg-end:color-mix(in srgb, var(--wzkb-color-accent) 14%, var(--wzkb-bg-white));--wzkb-primary-alpha-10:color-mix(in srgb, var(--wzkb-color-primary) 10%, transparent);--wzkb-primary-alpha-20:color-mix(in srgb, var(--wzkb-color-primary) 20%, transparent);--wzkb-primary-alpha-08:color-mix(in srgb, var(--wzkb-color-primary) 8%, transparent);--wzkb-wrapper-max-width:1280px;--wzkb-border-radius-sm:6px;--wzkb-border-radius-md:10px;--wzkb-border-radius-lg:16px;--wzkb-border-radius-xl:20px;--wzkb-transition-fast:150ms;--wzkb-transition-base:250ms;--wzkb-transition-slow:350ms}.wzkb-category-archive.wzkb{display:block;grid-template-columns:none}.wzkb-category-archive .wzkb-section{width:100%;max-width:100%}.wzkb-category-archive .wzkb-section-wrapper{display:block;width:100%}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{width:100%;max-width:100%;margin-bottom:24px}.wzkb{width:100%;max-width:100%;margin:16px 0;display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:24px}@media (max-width:1200px){.wzkb,.wzkb-product-grid{--wzkb-columns:2}}@media (max-width:768px){.wzkb,.wzkb-product-grid{--wzkb-columns:1}.wzkb-product-grid{grid-template-columns:1fr;gap:20px}.wzkb-product-grid-wrapper{padding:24px 16px}body.wzkb-sidebar-enabled .wzkb-wrap{grid-template-columns:1fr!important;margin:0 16px}}.section,.wzkb-master-section{display:contents}.wzkb-product{grid-column:1/-1;clear:both;display:block;margin-bottom:40px}.wzkb-product-header{margin-bottom:24px}.wzkb-product-description{font-size:18px;line-height:1.6;color:var(--wzkb-color-text-medium);margin-top:12px}.wzkb-product-grid{display:block}.wzkb-product-title{font-size:36px;line-height:1.2;font-weight:800;letter-spacing:-.025em;margin:0 0 16px 0;padding:0;grid-column:1/-1;color:var(--wzkb-color-text);position:relative;display:inline-block}.wzkb-product-title::after{content:'';position:absolute;bottom:-8px;left:0;width:60px;height:4px;background:linear-gradient(90deg,var(--wzkb-color-accent),var(--wzkb-color-accent-dark));border-radius:2px}.wzkb-product-title a{color:var(--wzkb-color-text);text-decoration:none;font-weight:800;transition:color var(--wzkb-transition-base) ease}.wzkb-product-title a:hover{color:var(--wzkb-color-primary)}.wzkb-section{display:block;position:relative;overflow:hidden;min-width:0;background:var(--wzkb-bg-section);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md);padding:20px;transition:all var(--wzkb-transition-base) ease}.wzkb-section:hover{border-color:var(--wzkb-border-medium);box-shadow:var(--wzkb-shadow-md)}.wzkb .wzkb-section-name a,.wzkb .wzkb-section-name a:visited{color:var(--wzkb-color-text);text-decoration:none;border:0;transition:color var(--wzkb-transition-base) ease}.wzkb .wzkb-section-name a:hover{color:var(--wzkb-color-primary)}.wzkb .wzkb-section-name{font-size:22px;font-weight:700;margin-bottom:16px;padding-bottom:12px;overflow:hidden;line-height:1.3;position:relative;border-bottom:2px solid var(--wzkb-border-light)}.wzkb-section-name-level-1{background:linear-gradient(135deg,var(--wzkb-bg-lighter) 0,var(--wzkb-bg-white) 100%);border:2px solid var(--wzkb-border-accent);border-left-width:6px;padding:16px 20px;margin-bottom:24px;border-radius:var(--wzkb-border-radius-md);grid-column:1/-1}.wzkb .wzkb-section-name-level-0,.wzkb .wzkb-section-name-level-1{font-size:28px;font-weight:800;letter-spacing:-.025em}.wzkb .wzkb-section-name-level-2{font-size:20px;font-weight:600}.wzkb-articles-list{margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:8px;list-style:none!important;box-sizing:border-box;overflow-x:hidden}.wzkb-articles-list li{margin:0;padding:0;position:relative;display:grid;grid-template-columns:20px 1fr;column-gap:10px;list-style-type:none!important}.wzkb-articles-list li:before{content:"›";display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;grid-column:1;grid-row:1;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;word-wrap:break-word;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li:hover:before{transform:translateX(3px)}.wzkb-articles-list li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;line-height:1.6;position:relative;transition:color var(--wzkb-transition-base) ease;grid-column:2;grid-row:1;min-width:0}.wzkb-article-excerpt{grid-column:2;grid-row:2;margin-top:4px;font-size:13px;line-height:1.5;color:var(--wzkb-color-text-medium)}.wzkb-articles-list li a:hover{color:var(--wzkb-color-primary)}.wzkb-products-list{margin:0 0 8px 0!important;padding:0!important;list-style:none!important}.wzkb-products-list>li{list-style:none!important;position:relative;margin:0 0 20px 0;padding:0;line-height:1.5;border:none}.wzkb-products-list ul{list-style:none!important;margin:8px 0 0 0;padding:0}.wzkb-products-list ul li{list-style:none!important;position:relative;margin:0;padding:6px 0;display:flex;align-items:flex-start;gap:8px}.wzkb-products-list ul li::before{content:"→";position:relative;color:var(--wzkb-color-accent);font-weight:700;line-height:1.6;transition:transform var(--wzkb-transition-fast) ease}.wzkb-products-list ul li:hover::before{transform:translateX(3px)}.wzkb-products-list>li>.wzkb-product-link,.wzkb-products-list>li>a{color:var(--wzkb-color-text);text-decoration:none;font-weight:700;font-size:17px;position:relative;display:inline-block;padding-bottom:8px;margin-bottom:8px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link::after,.wzkb-products-list>li>a::after{content:'';position:absolute;bottom:0;left:0;width:40px;height:3px;background:var(--wzkb-badge-bg);border-radius:2px;transition:width var(--wzkb-transition-base) ease}.wzkb-products-list>li>.wzkb-product-link:hover::after,.wzkb-products-list>li>a:hover::after{width:80px}.wzkb-products-list ul li a{color:var(--wzkb-color-text);text-decoration:none;font-weight:500;font-size:15px;transition:color var(--wzkb-transition-base) ease}.wzkb-products-list a:focus,.wzkb-products-list a:hover{color:var(--wzkb-color-primary)}#wzkb-sidebar-primary .widget .wzkb-products-list,#wzkb-sidebar-primary .widget .wzkb-products-list li,#wzkb-sidebar-primary .widget .wzkb-products-list ul,.sidebar .wzkb-products-list,.sidebar .wzkb-products-list li,.sidebar .wzkb-products-list ul{list-style:none!important;margin-left:0}#wzkb-sidebar-primary .wzkb,.sidebar .wzkb,.widget .wzkb{grid-template-columns:1fr!important;gap:16px}#wzkb-sidebar-primary .wzkb-product,.sidebar .wzkb-product,.widget .wzkb-product{grid-template-columns:1fr!important}#wzkb-sidebar-primary .wzkb-section,.sidebar .wzkb-section,.widget .wzkb-section{padding:16px;margin-bottom:16px}#wzkb-sidebar-primary .wzkb-section-name,.sidebar .wzkb-section-name,.widget .wzkb-section-name{font-size:16px;margin-bottom:12px;padding-bottom:8px}.wzkb-article-footer{margin-top:32px;padding-top:20px;border-top:2px solid var(--wzkb-border-light);font-size:16px;font-weight:600}.wzkb-article-footer a{color:var(--wzkb-color-primary);text-decoration:none;font-weight:700;transition:color var(--wzkb-transition-base) ease;display:inline-flex;align-items:center;gap:6px}.wzkb-article-footer a::after{content:"→";transition:transform var(--wzkb-transition-fast) ease}.wzkb-article-footer a:hover{color:var(--wzkb-color-primary-dark)}.wzkb-article-footer a:hover::after{transform:translateX(4px)}.wzkb .wzkb-section-count{display:inline-flex;align-items:center;justify-content:center;float:right;margin:0;padding:4px 12px;background:var(--wzkb-badge-bg);color:var(--wzkb-badge-color);border:none;border-radius:12px;text-align:center;font-size:13px;font-weight:700;min-width:28px;box-shadow:var(--wzkb-shadow-sm)}.wrap.wzkb-wrap{width:100%;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto;padding:0}body.wzkb-sidebar-enabled .wzkb-wrap{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start;max-width:var(--wzkb-wrapper-max-width,100%);margin:0 auto}@media (max-width:1200px){body.wzkb-sidebar-enabled .wzkb-wrap{padding:0 20px;max-width:none}}body.wzkb-sidebar-enabled #wzkb-content-primary{width:100%;max-width:none;min-width:0}body.wzkb-sidebar-enabled #wzkb-content-primary .wzkb{max-width:100%;width:100%}body.wzkb-sidebar-enabled #wzkb-sidebar-primary{width:100%;max-width:none;min-width:0}#wzkb-sidebar-primary .widget ul li{margin-left:10px;list-style-type:disc}body.single-wz_knowledgebase .nav-links{display:flex;justify-content:space-between;gap:1rem}body.single-wz_knowledgebase .nav-next{text-align:right;margin-left:auto}.wzkb-search-form{display:flex;border:2px solid var(--wzkb-border-medium);border-radius:12px;background:var(--wzkb-bg-white);padding:0;position:relative;margin:24px auto;font-size:1.2em;width:100%;box-shadow:var(--wzkb-shadow-md);overflow:hidden;transition:all var(--wzkb-transition-base) ease}.wzkb-search-form:focus-within{border-color:var(--wzkb-color-primary);box-shadow:0 0 0 3px var(--wzkb-primary-alpha-10),var(--wzkb-shadow-lg)}.wzkb-search-form label{flex:1;width:auto;margin:0}input[type=search].wzkb-search-field{border:none;color:var(--wzkb-color-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:1em;font-weight:500;padding:14px 20px 14px 48px;width:100%;background:url(../../images/search-icon.png) no-repeat 16px center;background-size:22px 22px;outline:0;transition:background-color var(--wzkb-transition-base) ease}input[type=search].wzkb-search-field:focus{background-color:var(--wzkb-bg-light)}input[type=search].wzkb-search-field::placeholder{color:var(--wzkb-color-text-light)}input[type=submit].wzkb-search-submit{display:block;background:var(--wzkb-search-submit-bg);color:var(--wzkb-search-submit-color);border:none;border-radius:0 10px 10px 0;padding:14px 24px;font-size:.9em;font-weight:700;cursor:pointer;transition:all var(--wzkb-transition-base) ease;min-width:80px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}input[type=submit].wzkb-search-submit:hover{background:var(--wzkb-search-submit-bg-hover);transform:translateY(-1px);box-shadow:var(--wzkb-shadow-md)}input[type=submit].wzkb-search-submit:active{transform:translateY(0)}input[type=submit].wzkb-search-submit:focus{outline:2px solid var(--wzkb-search-submit-focus-ring);outline-offset:2px}.wzkb-search-form .screen-reader-text{position:absolute;clip:rect(0 0 0 0)}nav.pagination{width:100%;margin:20px 0;padding:20px 0;border-top:2px solid var(--wzkb-border-light);border-bottom:2px solid var(--wzkb-border-light);text-align:center}.wzkb-tags{margin:40px 0 0;padding:24px 0 0;border-top:2px solid var(--wzkb-border-light);display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wzkb-tags-label{font-size:13px;font-weight:700;color:var(--wzkb-color-text-medium);text-transform:uppercase;letter-spacing:.05em;margin-right:4px}.wzkb-tags a{display:inline-flex;align-items:center;padding:8px 16px;background:var(--wzkb-bg-lighter);border:1px solid var(--wzkb-border-light);border-radius:24px;color:var(--wzkb-color-text);text-decoration:none;font-size:14px;font-weight:600;line-height:1;transition:all var(--wzkb-transition-base) ease}.wzkb-tags a:hover{background:var(--wzkb-color-primary);color:var(--wzkb-color-white);border-color:var(--wzkb-color-primary);transform:translateY(-1px)}.wzkb-related-articles{clear:both;margin-top:48px;padding:32px;background:var(--wzkb-bg-light);border-radius:var(--wzkb-border-radius-lg);border:1px solid var(--wzkb-border-light);box-shadow:var(--wzkb-shadow-sm)}.wzkb-related-articles h3{color:var(--wzkb-color-text);font-weight:700;font-size:24px;margin-bottom:24px}.wzkb-related-articles ul{list-style-type:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px}.wzkb-related-articles ul li{width:auto;background:var(--wzkb-bg-white);padding:16px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-border-light);transition:all var(--wzkb-transition-base) ease}.wzkb-related-articles ul li:hover{border-color:var(--wzkb-color-primary);box-shadow:var(--wzkb-shadow-md);transform:translateY(-2px)}.wzkb-related-articles a,.wzkb-related-articles img{display:block}.wzkb_breadcrumb{margin-bottom:24px;background:var(--wzkb-breadcrumb-bg);padding:12px 20px;border-radius:var(--wzkb-border-radius-md);border:1px solid var(--wzkb-breadcrumb-border);font-size:14px;max-width:100%}.wzkb_breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}.wzkb_breadcrumb-item{display:inline;color:var(--wzkb-breadcrumb-text);font-weight:500}.wzkb_breadcrumb-item a{color:var(--wzkb-breadcrumb-link);text-decoration:none;font-weight:600;transition:color var(--wzkb-transition-base) ease}.wzkb_breadcrumb-item a:hover{color:var(--wzkb-color-primary-dark)}.wzkb_breadcrumb-item:not(:last-child)::after{content:"›";margin:0 8px;color:var(--wzkb-breadcrumb-separator);font-weight:400;font-size:18px}.wzkb-product-grid-wrapper{background:linear-gradient(135deg,var(--wzkb-product-grid-bg-start) 0,var(--wzkb-product-grid-bg-mid) 50%,var(--wzkb-product-grid-bg-end) 100%);padding:40px;border-radius:var(--wzkb-border-radius-xl);border:2px solid var(--wzkb-primary-alpha-10);box-shadow:var(--wzkb-shadow-xl);margin-top:32px;display:block!important;width:100%!important;grid-column:1/-1!important;position:relative;overflow:hidden}.wzkb-product-grid-wrapper::before{content:'';position:absolute;top:0;right:0;width:300px;height:300px;background:radial-gradient(circle,var(--wzkb-primary-alpha-08) 0,transparent 70%);pointer-events:none}.wzkb-product-grid{display:grid;grid-template-columns:repeat(var(--wzkb-columns,2),1fr);gap:28px;width:100%;position:relative;z-index:1}.wzkb-product-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:var(--wzkb-bg-white);border-radius:var(--wzkb-border-radius-lg);padding:28px;border:2px solid transparent;box-shadow:var(--wzkb-shadow-md);transition:all var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1);min-height:200px;overflow:hidden}.wzkb-product-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--wzkb-color-primary),var(--wzkb-color-primary-light));transform:scaleX(0);transform-origin:left;transition:transform var(--wzkb-transition-slow) cubic-bezier(.4, 0, .2, 1)}.wzkb-product-card:focus-within,.wzkb-product-card:hover{transform:translateY(-2px);box-shadow:var(--wzkb-shadow-xl);border-color:var(--wzkb-primary-alpha-20)}.wzkb-product-card:focus-within::before,.wzkb-product-card:hover::before{transform:scaleX(1)}.wzkb-product-link{color:inherit!important;text-decoration:none!important;display:flex;flex-direction:column;height:100%}.wzkb-product-card .wzkb-product-title{margin:0 0 12px;font-size:22px;font-weight:700;color:var(--wzkb-color-text);line-height:1.3;letter-spacing:-.015em}.wzkb-product-card .wzkb-product-title::after{display:none}.wzkb-product-card .wzkb-product-description{color:var(--wzkb-color-text-medium);font-size:15px;line-height:1.6;margin-bottom:20px;flex-grow:1}.wzkb-product-card-image{margin-bottom:20px;overflow:hidden;border-radius:6px;aspect-ratio:16/9}.wzkb-product-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-section-thumbnail{margin:16px 0;overflow:hidden;border-radius:8px;aspect-ratio:16/9}.wzkb-section-thumbnail img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.wzkb-product-card-cta{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--wzkb-color-primary);text-transform:uppercase;letter-spacing:.05em}.wzkb-product-card-cta::after{content:"→";font-size:1.2em;transition:transform var(--wzkb-transition-base) ease}.wzkb-product-card:focus-within .wzkb-product-card-cta::after,.wzkb-product-card:hover .wzkb-product-card-cta::after{transform:translateX(6px)}.wp-block-query-title,.wp-block-term-title{padding-bottom:1.5rem!important}.wzkb-search-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;padding:0;list-style:none}@media (max-width:1024px){.wzkb-search-results-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.wzkb-search-results-grid{grid-template-columns:1fr}}.wzkb-search-result-card{background:var(--wzkb-bg-white);border:1px solid var(--wzkb-border-light);border-radius:12px;padding:24px!important;height:100%;box-shadow:0 1px 3px var(--wzkb-shadow-color);transition:border-color .2s ease,box-shadow .2s ease}.wzkb-search-result-card:hover{border-color:color-mix(in srgb,var(--wzkb-color-primary) 40%,transparent);box-shadow:0 4px 12px var(--wzkb-shadow-hover)}.wzkb-search-result-card:not(.wp-block-group){display:block}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link){display:grid;grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:12px 16px;align-items:start}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link)>*{margin-block-start:0;margin-block-end:0}.wzkb-search-result-card.wp-block-group>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}.wzkb-search-result-card .wzkb-search-result-thumb-link{grid-column:1;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-search-result-title{grid-column:2;grid-row:1}.wzkb-search-result-card:has(.wzkb-search-result-thumb-link) .wzkb-article-excerpt{grid-column:1/-1;grid-row:2}.wzkb-search-result-thumb-link{display:block;flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;margin:0!important}figure.wzkb-search-result-thumb-link{display:block}.wzkb-search-result-thumb-link a{display:block;width:100%;height:100%}.wzkb-search-result-thumb-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.wzkb-search-result-card:hover .wzkb-search-result-thumb-link img{transform:scale(1.05)}.wzkb-search-result-body{flex:1;min-width:0}.wzkb-search-result-title{font-size:18px;font-weight:600;margin:0 0 6px;line-height:1.4}.wzkb-search-result-title a{color:var(--wzkb-color-text);text-decoration:none;transition:color .2s ease}.wzkb-search-result-title a:hover{color:var(--wzkb-color-primary)}.wzkb-search-result-card .wzkb-article-excerpt,.wzkb-search-result-excerpt{font-size:14px;color:var(--wzkb-color-text-medium);line-height:1.6;margin:0}.wzkb-toc--block,.wzkb-toc--inline{margin-bottom:1rem;background:var(--wzkb-bg-light);border:1px solid var(--wzkb-border-light);border-radius:var(--wzkb-border-radius-md,6px);padding:1rem 1.5rem;display:inline-block;min-width:200px;max-width:100%;box-sizing:border-box}.wzkb-toc-title{font-weight:600;margin:0 0 .5rem}.wzkb-toc--widget .wzkb-toc-title{color:inherit;font-size:inherit}.wzkb-toc-list,.wzkb-toc-list ul{margin:0;padding-left:1.25rem;list-style:disc}.wzkb-toc-list ul{padding-left:1.5rem}.wzkb-toc-list li{margin:.2rem 0;line-height:1.5}.wzkb-toc-list a{color:var(--wzkb-color-primary);text-decoration:none;transition:color var(--wzkb-transition-base, .2s) ease}.wzkb-toc-list a:hover{text-decoration:underline}:root{--wzkb-space-xs:8px;--wzkb-space-sm:12px;--wzkb-space-md:16px;--wzkb-space-lg:24px;--wzkb-space-xl:32px;--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-lg)}.wzkb .wzkb-section-name{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:var(--wzkb-space-sm);row-gap:var(--wzkb-space-xs);overflow:visible}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1;min-width:0;word-break:break-word}.wzkb-section-count{float:none;grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;justify-self:end;line-height:1;margin:0}.wzkb-section{overflow-x:clip}.wzkb-search-form{align-items:stretch;flex-wrap:nowrap}.wzkb-search-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;flex:0 0 auto}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{box-sizing:border-box;margin:0;align-self:stretch;height:auto;min-height:44px;line-height:1.25;-webkit-appearance:none;appearance:none}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{flex:1 1 auto;min-width:0;width:auto}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{flex:0 0 auto;min-width:4.5rem}@media (max-width:782px){:root{--wzkb-space-header-gap:var(--wzkb-space-md);--wzkb-space-section-gap:var(--wzkb-space-md)}.wzkb_breadcrumb{margin-block:var(--wzkb-space-md) 0;padding:10px 14px;font-size:14px}.wzkb-search-form{margin-block-start:var(--wzkb-space-lg);margin-block-end:var(--wzkb-space-lg);font-size:1rem}.wzkb-search-form .wzkb-search-field,.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=search].wzkb-search-field,.wzkb-search-form input[type=submit].wzkb-search-submit{font-size:16px;padding-block:12px}.wzkb-search-form .wzkb-search-field,.wzkb-search-form input[type=search].wzkb-search-field{padding-inline:44px 14px;background-size:20px 20px;background-position:12px center}.wzkb-search-form .wzkb-search-submit,.wzkb-search-form input[type=submit].wzkb-search-submit{padding-inline:14px}.wzkb-wrap .page-header{margin:0 0 var(--wzkb-space-lg)}.wzkb-wrap .page-title{margin:0;line-height:1.25}.wzkb{margin-block-start:0;gap:var(--wzkb-space-section-gap)}.wzkb .wzkb-section-name-level-1:first-child{margin-top:0}.wzkb-section-wrapper>.wzkb-section{margin-block-start:0}.wzkb .wzkb-section-name{grid-template-columns:1fr;align-items:start;margin-block-end:var(--wzkb-space-md)}.wzkb .wzkb-section-name>a,.wzkb .wzkb-section-title-text{grid-column:1}.wzkb-section-count{grid-column:1;grid-row:2;justify-self:start;margin-block-start:var(--wzkb-space-xs)}.wzkb .wzkb-section-name.wzkb-section-name-level-1,.wzkb .wzkb-section-name.wzkb-section-name-level-2{grid-template-columns:minmax(0,1fr) auto;align-items:center}.wzkb .wzkb-section-name.wzkb-section-name-level-1{margin-block-end:0;font-size:1.125rem;line-height:1.3;padding:10px 12px}.wzkb .wzkb-section-name.wzkb-section-name-level-2{font-size:1.0625rem;padding-bottom:6px}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-1>a,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-title-text,.wzkb .wzkb-section-name.wzkb-section-name-level-2>a{grid-column:1;grid-row:1}.wzkb .wzkb-section-name.wzkb-section-name-level-1 .wzkb-section-count,.wzkb .wzkb-section-name.wzkb-section-name-level-2 .wzkb-section-count{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin-block-start:0;font-size:12px;padding:4px 10px;min-width:28px}.wzkb-category-archive .wzkb-section-wrapper .wzkb-section{margin-bottom:0}}.wzkb-wrap #wzkb-content-primary,.wzkb-wrap #wzkb-content-primary.content-area{width:100%;max-width:100%;float:none;flex:1 1 auto;min-width:0}.wzkb-wrap #wzkb-content-primary>.wzkb,.wzkb-wrap>#wzkb-content-primary>.wzkb{width:100%;max-width:100%;margin-inline:0}body.wzkb-sidebar-enabled .wzkb-wrap:not(:has(#wzkb-sidebar-primary)){display:block}body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px)}@media (max-width:1024px){body.wzkb-sidebar-enabled:has(#wzkb-sidebar-primary) .wzkb-wrap{grid-template-columns:1fr}body.wzkb-sidebar-enabled .wzkb,body.wzkb-sidebar-enabled .wzkb-product-grid{--wzkb-columns:1}} \ No newline at end of file diff --git a/includes/frontend/templates/archive-wz_knowledgebase.php b/includes/frontend/templates/archive-wz_knowledgebase.php index d6e2e4ed..38595459 100644 --- a/includes/frontend/templates/archive-wz_knowledgebase.php +++ b/includes/frontend/templates/archive-wz_knowledgebase.php @@ -42,7 +42,7 @@ diff --git a/includes/frontend/templates/single-wz_knowledgebase.php b/includes/frontend/templates/single-wz_knowledgebase.php index bd358979..47ec5650 100644 --- a/includes/frontend/templates/single-wz_knowledgebase.php +++ b/includes/frontend/templates/single-wz_knowledgebase.php @@ -136,7 +136,7 @@ diff --git a/includes/frontend/templates/taxonomy-wzkb_category.php b/includes/frontend/templates/taxonomy-wzkb_category.php index 9545f311..59f3ba6f 100644 --- a/includes/frontend/templates/taxonomy-wzkb_category.php +++ b/includes/frontend/templates/taxonomy-wzkb_category.php @@ -67,7 +67,7 @@ diff --git a/includes/frontend/templates/taxonomy-wzkb_product.php b/includes/frontend/templates/taxonomy-wzkb_product.php index 0099ea58..d38992d9 100644 --- a/includes/frontend/templates/taxonomy-wzkb_product.php +++ b/includes/frontend/templates/taxonomy-wzkb_product.php @@ -64,7 +64,7 @@ diff --git a/includes/frontend/templates/taxonomy-wzkb_tag.php b/includes/frontend/templates/taxonomy-wzkb_tag.php index c781af32..4b4c0ba6 100644 --- a/includes/frontend/templates/taxonomy-wzkb_tag.php +++ b/includes/frontend/templates/taxonomy-wzkb_tag.php @@ -98,7 +98,7 @@ diff --git a/includes/frontend/templates/wzkb-search.php b/includes/frontend/templates/wzkb-search.php index 40e3ad23..f21d5f39 100644 --- a/includes/frontend/templates/wzkb-search.php +++ b/includes/frontend/templates/wzkb-search.php @@ -107,7 +107,7 @@ diff --git a/includes/functions.php b/includes/functions.php index 7e2bc25d..b061acd5 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -256,6 +256,28 @@ function wzkb_the_kb_url() { echo wzkb_get_kb_url(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } +/** + * Whether the KB primary sidebar should be output on plugin templates. + * + * @since 3.3.1 + * + * @return bool True when the sidebar option is enabled and not filtered off. + */ +function wzkb_should_show_sidebar() { + if ( ! wzkb_get_option( 'show_sidebar' ) ) { + return false; + } + + /** + * Filters whether the KB primary sidebar markup is output. + * + * @since 3.3.1 + * + * @param bool $show_sidebar Whether to show the sidebar. + */ + return (bool) apply_filters( 'wzkb_show_sidebar', true ); +} + /** * Get a hierarchical list of KB sections for a given product. * diff --git a/languages/knowledgebase-en_US.po b/languages/knowledgebase-en_US.po index 9511077a..0431fddb 100644 --- a/languages/knowledgebase-en_US.po +++ b/languages/knowledgebase-en_US.po @@ -87,86 +87,82 @@ msgstr "" msgid "Shape a helpful support hub your users will love." msgstr "" -#: includes/admin/class-admin.php:221 -msgid "Jump to your most-used Knowledge Base tools, manage content faster, and explore more WebberZone plugins." -msgstr "" - -#: includes/admin/class-admin.php:225 +#: includes/admin/class-admin.php:224 msgid "View Knowledge Base" msgstr "" -#: includes/admin/class-admin.php:238 +#: includes/admin/class-admin.php:237 #: includes/admin/class-settings-wizard.php:597 msgid "Products" msgstr "" -#: includes/admin/class-admin.php:244 +#: includes/admin/class-admin.php:243 #: includes/admin/class-settings-wizard.php:599 msgid "Sections" msgstr "" -#: includes/admin/class-admin.php:249 +#: includes/admin/class-admin.php:248 msgid "Tags" msgstr "" -#: includes/admin/class-admin.php:254 +#: includes/admin/class-admin.php:253 #: includes/admin/class-tools-page.php:59 msgid "Tools" msgstr "" -#: includes/admin/class-admin.php:260 +#: includes/admin/class-admin.php:259 msgid "WebberZone Plugins" msgstr "" #. translators: 1. Link to admin page. -#: includes/admin/class-admin.php:428 +#: includes/admin/class-admin.php:427 #, php-format msgid "Knowledge Base settings for the slug have not been registered. Please visit the %s to update and save the options." msgstr "" -#: includes/admin/class-admin.php:429 +#: includes/admin/class-admin.php:428 msgid "admin page" msgstr "" #. translators: %s: HTML link to the plugin settings page. -#: includes/admin/class-admin.php:449 +#: includes/admin/class-admin.php:448 #, php-format msgid "The Products taxonomy is only available in multi-product mode. Please enable multi-product mode in the %s." msgstr "" -#: includes/admin/class-admin.php:450 +#: includes/admin/class-admin.php:449 msgid "plugin settings" msgstr "" -#: includes/admin/class-admin.php:479 +#: includes/admin/class-admin.php:478 msgid "Are you sure you want to clear the cache?" msgstr "" -#: includes/admin/class-admin.php:480 +#: includes/admin/class-admin.php:479 msgid "Are you sure you want to flush the permalinks?" msgstr "" -#: includes/admin/class-admin.php:481 +#: includes/admin/class-admin.php:480 msgid "Cache cleared successfully!" msgstr "" -#: includes/admin/class-admin.php:482 +#: includes/admin/class-admin.php:481 msgid "Failed to clear cache. Please try again." msgstr "" -#: includes/admin/class-admin.php:483 +#: includes/admin/class-admin.php:482 msgid "Request failed: " msgstr "" #. translators: 1. Number of articles -#: includes/admin/class-admin.php:538 +#: includes/admin/class-admin.php:537 #, php-format msgid "%s KB article" msgid_plural "%s KB articles" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-admin.php:818 +#: includes/admin/class-admin.php:817 msgid "Support the development - Send us a donation today." msgstr "" @@ -255,7 +251,7 @@ msgstr "" #: includes/admin/class-settings-wizard.php:1114 #: includes/admin/class-settings-wizard.php:1215 #: includes/admin/class-settings-wizard.php:1232 -#: includes/admin/class-settings.php:1918 +#: includes/admin/class-settings.php:1930 msgid "Insufficient permissions." msgstr "" @@ -622,7 +618,7 @@ msgstr "" msgid "Permalinks flushed successfully." msgstr "" -#: includes/admin/class-admin.php:485 +#: includes/admin/class-admin.php:484 #: includes/admin/class-plugin-importers.php:396 #: includes/admin/class-settings-wizard.php:1261 msgid "Flush Permalinks" @@ -734,16 +730,16 @@ msgstr "" #: includes/admin/class-settings.php:450 #: includes/admin/class-settings.php:452 #: includes/admin/class-settings.php:492 -#: includes/admin/class-settings.php:1541 +#: includes/admin/class-settings.php:1553 #: includes/blocks/build/kb/index.js:1 #: includes/blocks/src/kb/edit.js:134 msgid "Knowledge Base Settings" msgstr "" -#: includes/admin/class-admin.php:232 +#: includes/admin/class-admin.php:231 #: includes/admin/class-settings.php:451 #: includes/admin/class-settings.php:493 -#: includes/admin/class-settings.php:1475 +#: includes/admin/class-settings.php:1487 #: includes/blocks/build/products/index.js:1 #: includes/blocks/src/products/edit.js:60 #: includes/blocks/src/products/edit.js:117 @@ -1133,12 +1129,6 @@ msgstr "" msgid "Vote Tracking Method" msgstr "" -#. translators: %1$s: Opening link tag, %2$s: Closing link tag. -#: includes/admin/class-settings.php:1226 -#, php-format -msgid "Choose how to prevent duplicate votes. Each method has different privacy implications. %1$sLearn more about tracking methods and GDPR compliance%2$s." -msgstr "" - #: includes/admin/class-settings.php:1233 msgid "No Tracking (allows multiple votes)" msgstr "" @@ -1155,270 +1145,266 @@ msgstr "" msgid "Logged-in Users Only (best for authenticated sites)" msgstr "" -#: includes/admin/class-settings.php:1243 +#: includes/admin/class-settings.php:1250 msgid "Show Rating Statistics" msgstr "" -#: includes/admin/class-settings.php:1244 +#: includes/admin/class-settings.php:1251 msgid "Display the average rating and vote count below the rating buttons." msgstr "" -#: includes/admin/class-settings.php:1251 +#: includes/admin/class-settings.php:1258 msgid "Help Widget" msgstr "" -#: includes/admin/class-settings.php:1252 +#: includes/admin/class-settings.php:1259 msgid "A floating help widget that provides self-service support with search, suggested articles, and contact form." msgstr "" -#: includes/admin/class-settings.php:1257 +#: includes/admin/class-settings.php:1264 msgid "Enable Help Widget" msgstr "" -#: includes/admin/class-settings.php:1258 +#: includes/admin/class-settings.php:1265 msgid "Display a floating help widget on your site for self-service support." msgstr "" -#: includes/admin/class-settings.php:1265 +#: includes/admin/class-settings.php:1272 msgid "Display Location" msgstr "" -#: includes/admin/class-settings.php:1266 +#: includes/admin/class-settings.php:1273 msgid "Choose where the help widget appears on your site." msgstr "" -#: includes/admin/class-settings.php:1270 +#: includes/admin/class-settings.php:1277 msgid "Knowledge Base Only" msgstr "" -#: includes/admin/class-settings.php:1271 +#: includes/admin/class-settings.php:1278 msgid "Entire Site" msgstr "" -#: includes/admin/class-settings.php:1277 +#: includes/admin/class-settings.php:1284 msgid "Button Position" msgstr "" -#: includes/admin/class-settings.php:1278 +#: includes/admin/class-settings.php:1285 msgid "Choose where the help widget button appears on the screen." msgstr "" -#: includes/admin/class-settings.php:1282 +#: includes/admin/class-settings.php:1289 msgid "Bottom Right" msgstr "" -#: includes/admin/class-settings.php:1283 +#: includes/admin/class-settings.php:1290 msgid "Bottom Left" msgstr "" -#: includes/admin/class-settings.php:1289 +#: includes/admin/class-settings.php:1296 msgid "Button Style" msgstr "" -#: includes/admin/class-settings.php:1290 +#: includes/admin/class-settings.php:1297 msgid "Choose how the help widget button is displayed." msgstr "" -#: includes/admin/class-settings.php:1294 +#: includes/admin/class-settings.php:1301 msgid "Icon Only" msgstr "" -#: includes/admin/class-settings.php:1295 +#: includes/admin/class-settings.php:1302 msgid "Text Only" msgstr "" -#: includes/admin/class-settings.php:1296 +#: includes/admin/class-settings.php:1303 msgid "Icon and Text" msgstr "" -#: includes/admin/class-settings.php:1302 +#: includes/admin/class-settings.php:1309 #: includes/blocks/build/search/index.js:1 #: includes/blocks/src/search/edit.js:53 msgid "Button Text" msgstr "" -#: includes/admin/class-settings.php:1303 +#: includes/admin/class-settings.php:1310 msgid "Text to display on the help widget button (when text style is selected)." msgstr "" -#: includes/admin/class-settings.php:1311 +#: includes/admin/class-settings.php:1318 msgid "Help Widget Color" msgstr "" -#: includes/admin/class-settings.php:1312 +#: includes/admin/class-settings.php:1319 msgid "Primary color for the help widget button and interface elements." msgstr "" -#: includes/admin/class-settings.php:1320 +#: includes/admin/class-settings.php:1327 msgid "Help Widget Hover Color" msgstr "" -#: includes/admin/class-settings.php:1321 +#: includes/admin/class-settings.php:1328 msgid "Hover color for buttons and interactive elements." msgstr "" -#: includes/admin/class-settings.php:1329 +#: includes/admin/class-settings.php:1336 msgid "Help Widget Text Color" msgstr "" -#: includes/admin/class-settings.php:1330 +#: includes/admin/class-settings.php:1337 msgid "Text color for the help widget button and interface elements." msgstr "" -#: includes/admin/class-settings.php:1338 +#: includes/admin/class-settings.php:1345 msgid "Help Widget Hover Text Color" msgstr "" -#: includes/admin/class-settings.php:1339 +#: includes/admin/class-settings.php:1346 msgid "Text color for the help widget button on hover." msgstr "" -#: includes/admin/class-settings.php:1347 +#: includes/admin/class-settings.php:1354 msgid "Panel Background Color" msgstr "" -#: includes/admin/class-settings.php:1348 +#: includes/admin/class-settings.php:1355 msgid "Background color for the help widget panel." msgstr "" -#: includes/admin/class-settings.php:1356 +#: includes/admin/class-settings.php:1363 msgid "Panel Text Color" msgstr "" -#: includes/admin/class-settings.php:1357 +#: includes/admin/class-settings.php:1364 msgid "Default text color within the help widget panel." msgstr "" -#: includes/admin/class-settings.php:1365 +#: includes/admin/class-settings.php:1372 msgid "Link Hover Background" msgstr "" -#: includes/admin/class-settings.php:1366 +#: includes/admin/class-settings.php:1373 msgid "Background color when hovering over help widget links and list items." msgstr "" -#: includes/admin/class-settings.php:1374 +#: includes/admin/class-settings.php:1381 msgid "Greeting Message" msgstr "" -#: includes/admin/class-settings.php:1375 +#: includes/admin/class-settings.php:1382 msgid "Welcome message shown when the help widget opens." msgstr "" -#: includes/admin/class-settings.php:1383 +#: includes/admin/class-settings.php:1390 msgid "Search Placeholder" msgstr "" -#: includes/admin/class-settings.php:1384 +#: includes/admin/class-settings.php:1391 msgid "Placeholder text for the search input field." msgstr "" -#: includes/admin/class-settings.php:1392 +#: includes/admin/class-settings.php:1399 msgid "Enable Contact Form" msgstr "" -#: includes/admin/class-settings.php:1393 -msgid "Allow visitors to send messages through the help widget." -msgstr "" - -#: includes/admin/class-settings.php:1400 +#: includes/admin/class-settings.php:1412 msgid "Contact Email" msgstr "" -#: includes/admin/class-settings.php:1401 +#: includes/admin/class-settings.php:1413 msgid "Email address where help widget contact form submissions will be sent." msgstr "" -#: includes/admin/class-settings.php:1409 +#: includes/admin/class-settings.php:1421 msgid "Show on Mobile" msgstr "" -#: includes/admin/class-settings.php:1410 +#: includes/admin/class-settings.php:1422 msgid "Display the help widget on mobile devices." msgstr "" -#: includes/admin/class-settings.php:1417 +#: includes/admin/class-settings.php:1429 msgid "Enable button pulse" msgstr "" -#: includes/admin/class-settings.php:1418 +#: includes/admin/class-settings.php:1430 msgid "Enable a subtle pulsing animation on the help widget button to draw attention. Disable to keep the button static." msgstr "" -#: includes/admin/class-settings.php:1447 +#: includes/admin/class-settings.php:1459 msgid "Classic" msgstr "" -#: includes/admin/class-settings.php:1448 +#: includes/admin/class-settings.php:1460 msgid "Vibrant" msgstr "" -#: includes/admin/class-settings.php:1494 +#: includes/admin/class-settings.php:1506 #: includes/admin/sidebar.php:34 msgid "Support" msgstr "" -#: includes/admin/class-settings.php:1495 +#: includes/admin/class-settings.php:1507 msgid "Donate" msgstr "" -#: includes/admin/class-settings.php:1496 +#: includes/admin/class-settings.php:1508 msgid "Contribute" msgstr "" #. translators: 1: Plugin support site link. -#: includes/admin/class-settings.php:1512 +#: includes/admin/class-settings.php:1524 #, php-format msgid "For more information or how to get support visit the support site." msgstr "" #. translators: 1: WordPress.org support forums link. -#: includes/admin/class-settings.php:1514 +#: includes/admin/class-settings.php:1526 #, php-format msgid "Please report bugs, contribute or request features on GitHub." msgstr "" #. translators: 1: Github issues link, 2: Github plugin page link. -#: includes/admin/class-settings.php:1517 +#: includes/admin/class-settings.php:1529 #, php-format msgid "Post an issue on GitHub (bug reports only)." msgstr "" -#: includes/admin/class-settings.php:1543 +#: includes/admin/class-settings.php:1555 msgid "Configure every part of your docs experience from this screen. Use the sections on the left to move between General, Output, Styles, and Pro options." msgstr "" -#: includes/admin/class-settings.php:1544 +#: includes/admin/class-settings.php:1556 msgid "General covers Multi-Product Mode, URL slugs, caching, uninstall cleanup, and feed behaviour so links stay consistent and data is removed safely when required." msgstr "" -#: includes/admin/class-settings.php:1545 +#: includes/admin/class-settings.php:1557 msgid "Output controls how archives render—titles, hierarchy depth, article counts, excerpts, limits per section, sidebars, and related articles." msgstr "" -#: includes/admin/class-settings.php:1546 +#: includes/admin/class-settings.php:1558 msgid "Styles lets you switch layouts, set columns, and add custom CSS. Disable inbuilt styles if your theme already provides the styling you need." msgstr "" -#: includes/admin/class-settings.php:1547 +#: includes/admin/class-settings.php:1559 msgid "Pro features unlock article ratings, the floating help widget, and advanced layouts." msgstr "" #. translators: 1: Opening link tag, 2: Closing link tag. -#: includes/admin/class-settings.php:1550 +#: includes/admin/class-settings.php:1562 #, php-format msgid "%1$sRead the full settings guide%2$s" msgstr "" #. translators: 1: Opening achor tag with Plugin page link, 2: Closing anchor tag, 3: Opening anchor tag with review link. -#: includes/admin/class-settings.php:1619 +#: includes/admin/class-settings.php:1631 #, php-format msgid "Thank you for using %1$sWebberZone Knowledge_Base%2$s! Please %3$srate us%2$s on %3$sWordPress.org%2$s" msgstr "" -#: includes/admin/class-settings.php:1945 -#: includes/admin/class-settings.php:1955 -#: includes/admin/class-settings.php:1956 +#: includes/admin/class-settings.php:1957 +#: includes/admin/class-settings.php:1967 +#: includes/admin/class-settings.php:1968 msgid "Start Settings Wizard" msgstr "" @@ -2926,87 +2912,87 @@ msgstr "" msgid "Search suggestions" msgstr "" -#: includes/admin/class-admin.php:484 +#: includes/admin/class-admin.php:483 msgid "Unable to verify token." msgstr "" -#: includes/admin/class-admin.php:486 +#: includes/admin/class-admin.php:485 msgid "Please enter a Personal Access Token first." msgstr "" -#: includes/admin/class-admin.php:487 -#: includes/admin/class-settings.php:1932 +#: includes/admin/class-admin.php:486 +#: includes/admin/class-settings.php:1944 msgid "Repository list refreshed." msgstr "" -#: includes/admin/class-admin.php:488 +#: includes/admin/class-admin.php:487 msgid "Unable to refresh." msgstr "" -#: includes/admin/class-admin.php:489 -#: includes/admin/class-admin.php:630 +#: includes/admin/class-admin.php:488 +#: includes/admin/class-admin.php:629 msgid "Token valid." msgstr "" -#: includes/admin/class-admin.php:490 +#: includes/admin/class-admin.php:489 msgid "contents:read" msgstr "" -#: includes/admin/class-admin.php:491 +#: includes/admin/class-admin.php:490 msgid "contents:write" msgstr "" -#: includes/admin/class-admin.php:492 +#: includes/admin/class-admin.php:491 msgid "no accessible repository found to test" msgstr "" -#: includes/admin/class-admin.php:589 +#: includes/admin/class-admin.php:588 msgid "You do not have permission to perform this action." msgstr "" -#: includes/admin/class-admin.php:609 +#: includes/admin/class-admin.php:608 msgid "No GitHub Personal Access Token configured. Save a token first." msgstr "" #. translators: %s: GitHub username. -#: includes/admin/class-admin.php:627 +#: includes/admin/class-admin.php:626 #, php-format msgid "Token valid — connected as %s" msgstr "" -#: includes/admin/class-import-export.php:135 +#: includes/admin/class-import-export.php:148 msgid "Import failed: please upload a valid .json file." msgstr "" -#: includes/admin/class-import-export.php:148 +#: includes/admin/class-import-export.php:161 msgid "Import failed: no file was uploaded." msgstr "" -#: includes/admin/class-import-export.php:161 +#: includes/admin/class-import-export.php:171 msgid "Import failed: the file does not contain valid JSON settings." msgstr "" -#: includes/admin/class-import-export.php:112 +#: includes/admin/class-import-export.php:125 msgid "Settings imported successfully." msgstr "" -#: includes/admin/class-import-export.php:251 +#: includes/admin/class-import-export.php:259 msgid "Settings Import / Export" msgstr "" -#: includes/admin/class-import-export.php:254 +#: includes/admin/class-import-export.php:262 msgid "Export your Knowledge Base settings as a JSON file, or import a previously exported file to restore them." msgstr "" -#: includes/admin/class-import-export.php:255 +#: includes/admin/class-import-export.php:263 msgid "Note: sensitive values such as API keys and webhook secrets are excluded from the export and must be re-entered after import." msgstr "" -#: includes/admin/class-import-export.php:261 +#: includes/admin/class-import-export.php:269 msgid "Export Settings" msgstr "" -#: includes/admin/class-import-export.php:272 +#: includes/admin/class-import-export.php:280 msgid "Import Settings" msgstr "" @@ -3439,7 +3425,7 @@ msgid "Display the entire knowledge base as a three-column documentation site: a msgstr "" #: includes/admin/class-settings.php:997 -#: includes/admin/class-settings.php:1557 +#: includes/admin/class-settings.php:1569 msgid "GitHub Integration" msgstr "" @@ -3626,43 +3612,43 @@ msgstr "" msgid "Enabled" msgstr "" -#: includes/admin/class-settings.php:1559 +#: includes/admin/class-settings.php:1571 msgid "Automatically sync Markdown files from a GitHub repository into your Knowledge Base. Push events trigger the webhook and import or update articles in real time." msgstr "" -#: includes/admin/class-settings.php:1560 +#: includes/admin/class-settings.php:1572 msgid "Webhook Secret — a shared secret between GitHub and this site. Set the same value in your GitHub repository webhook settings under \"Secret\". All incoming payloads are verified via HMAC-SHA256." msgstr "" -#: includes/admin/class-settings.php:1561 +#: includes/admin/class-settings.php:1573 msgid "Personal Access Token — required for private repositories. Create a fine-grained PAT on GitHub with Contents: Read-only permission (add Metadata: Read-only for private repos). Leave empty for public repos." msgstr "" -#: includes/admin/class-settings.php:1562 +#: includes/admin/class-settings.php:1574 msgid "Repository Mappings — each row maps a GitHub repository (or a subfolder within one) to a Knowledge Base product. Required fields are marked with an asterisk (*). The folder path is relative to the repo root, e.g. docs/. Leave the branch field empty to use the repository's default branch." msgstr "" -#: includes/admin/class-settings.php:1563 +#: includes/admin/class-settings.php:1575 msgid "Your webhook endpoint URL is shown in the GitHub section header. Enter this URL in your GitHub repository under Settings → Webhooks, set the content type to application/json, and choose the Push event." msgstr "" #. translators: 1: Opening link tag, 2: Closing link tag. -#: includes/admin/class-settings.php:1566 +#: includes/admin/class-settings.php:1578 #, php-format msgid "%1$sRead the GitHub integration guide%2$s" msgstr "" -#: includes/admin/class-settings.php:1694 -#: includes/admin/class-settings.php:1702 +#: includes/admin/class-settings.php:1706 +#: includes/admin/class-settings.php:1714 msgid "Verify Token" msgstr "" -#: includes/admin/class-settings.php:1696 -#: includes/admin/class-settings.php:1704 +#: includes/admin/class-settings.php:1708 +#: includes/admin/class-settings.php:1716 msgid "Refresh Repository List" msgstr "" -#: includes/admin/class-settings.php:1839 +#: includes/admin/class-settings.php:1851 msgid "No GitHub Personal Access Token configured. Add a token to this row or the global setting." msgstr "" @@ -3988,3 +3974,35 @@ msgstr "" #: includes/admin/class-tools-page.php:280 msgid "Migrate your existing top-level sections into Products and reassign articles accordingly. This tool is deprecated and will be removed in 3.4.0." msgstr "" + +#: includes/admin/class-import-export.php:107 +msgid "Settings can only be imported from the Tools page." +msgstr "" + +#. translators: %1$s: Opening link tag, %2$s: Closing link tag. +#: includes/admin/class-settings.php:1226 +#, php-format +msgid "Choose how to prevent duplicate votes only. Optional feedback after a low rating uses separate short-lived server checks—see the note below. Each method has different privacy implications. %1$sLearn more about tracking methods and GDPR compliance%2$s." +msgstr "" + +#: includes/admin/class-settings.php:1244 +msgid "Vote tracking only controls whether someone can submit another vote (cookie, IP list, logged-in user ID, or none). It does not apply to the optional feedback step after a low rating." +msgstr "" + +#: includes/admin/class-settings.php:1244 +msgid "When a visitor rates an article as not useful (or 1–2 stars) and skips feedback on that first request, the plugin stores a short-lived, one-time server marker so only that visit can add feedback later. Logged-in visitors are keyed by user ID; guests use the same pseudonymised IP hash already used for rate limiting—not the long-term IP lists used when you choose IP vote tracking." +msgstr "" + +#: includes/admin/class-settings.php:1244 +msgid "Cookie-only tracking still does not store visitor IPs in the vote ledger. Saved feedback entries may still include a hashed IP for abuse review, as before." +msgstr "" + +#: includes/admin/class-settings.php:1244 +msgid "Developers can turn the server marker off with the wzkb_rating_feedback_eligibility filter (not recommended on public sites)." +msgstr "" + +#. translators: 1: opening anchor tag, 2: closing anchor tag. +#: includes/admin/class-settings.php:1402 +#, php-format +msgid "Allow visitors to send messages through the help widget. Anonymous visitors are rate-limited using a salted hash of their IP address, held only for the hour and never logged. %1$sSuggested privacy policy text%2$s." +msgstr "" diff --git a/languages/knowledgebase.pot b/languages/knowledgebase.pot index 17f6a156..8796e7d7 100644 --- a/languages/knowledgebase.pot +++ b/languages/knowledgebase.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: WebberZone Knowledge Base 3.3.0\n" +"Project-Id-Version: WebberZone Knowledge Base 3.3.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/knowledgebase\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2026-11-07T10:50:59+00:00\n" +"POT-Creation-Date: 2026-11-15T17:14:15+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: knowledgebase\n" @@ -82,186 +82,186 @@ msgstr "" msgid "Shape a helpful support hub your users will love." msgstr "" -#: includes/admin/class-admin.php:221 -msgid "Jump to your most-used Knowledge Base tools, manage content faster, and explore more WebberZone plugins." -msgstr "" - -#: includes/admin/class-admin.php:225 +#: includes/admin/class-admin.php:224 msgid "View Knowledge Base" msgstr "" -#: includes/admin/class-admin.php:232 +#: includes/admin/class-admin.php:231 #: includes/admin/class-settings.php:451 #: includes/admin/class-settings.php:493 -#: includes/admin/class-settings.php:1475 +#: includes/admin/class-settings.php:1487 #: includes/blocks/build/products/index.js:1 #: includes/blocks/src/products/edit.js:60 #: includes/blocks/src/products/edit.js:117 msgid "Settings" msgstr "" -#: includes/admin/class-admin.php:238 +#: includes/admin/class-admin.php:237 #: includes/admin/class-settings-wizard.php:597 msgid "Products" msgstr "" -#: includes/admin/class-admin.php:244 +#: includes/admin/class-admin.php:243 #: includes/admin/class-settings-wizard.php:599 msgid "Sections" msgstr "" -#: includes/admin/class-admin.php:249 +#: includes/admin/class-admin.php:248 msgid "Tags" msgstr "" -#: includes/admin/class-admin.php:254 +#: includes/admin/class-admin.php:253 #: includes/admin/class-tools-page.php:59 msgid "Tools" msgstr "" -#: includes/admin/class-admin.php:260 +#: includes/admin/class-admin.php:259 msgid "WebberZone Plugins" msgstr "" #. translators: 1. Link to admin page. -#: includes/admin/class-admin.php:428 +#: includes/admin/class-admin.php:427 #, php-format msgid "Knowledge Base settings for the slug have not been registered. Please visit the %s to update and save the options." msgstr "" -#: includes/admin/class-admin.php:429 +#: includes/admin/class-admin.php:428 msgid "admin page" msgstr "" #. translators: %s: HTML link to the plugin settings page. -#: includes/admin/class-admin.php:449 +#: includes/admin/class-admin.php:448 #, php-format msgid "The Products taxonomy is only available in multi-product mode. Please enable multi-product mode in the %s." msgstr "" -#: includes/admin/class-admin.php:450 +#: includes/admin/class-admin.php:449 msgid "plugin settings" msgstr "" -#: includes/admin/class-admin.php:479 +#: includes/admin/class-admin.php:478 msgid "Are you sure you want to clear the cache?" msgstr "" -#: includes/admin/class-admin.php:480 +#: includes/admin/class-admin.php:479 msgid "Are you sure you want to flush the permalinks?" msgstr "" -#: includes/admin/class-admin.php:481 +#: includes/admin/class-admin.php:480 msgid "Cache cleared successfully!" msgstr "" -#: includes/admin/class-admin.php:482 +#: includes/admin/class-admin.php:481 msgid "Failed to clear cache. Please try again." msgstr "" -#: includes/admin/class-admin.php:483 +#: includes/admin/class-admin.php:482 msgid "Request failed: " msgstr "" -#: includes/admin/class-admin.php:484 +#: includes/admin/class-admin.php:483 msgid "Unable to verify token." msgstr "" -#: includes/admin/class-admin.php:485 +#: includes/admin/class-admin.php:484 #: includes/admin/class-plugin-importers.php:396 #: includes/admin/class-settings-wizard.php:1261 msgid "Flush Permalinks" msgstr "" -#: includes/admin/class-admin.php:486 +#: includes/admin/class-admin.php:485 msgid "Please enter a Personal Access Token first." msgstr "" -#: includes/admin/class-admin.php:487 -#: includes/admin/class-settings.php:1932 +#: includes/admin/class-admin.php:486 +#: includes/admin/class-settings.php:1944 msgid "Repository list refreshed." msgstr "" -#: includes/admin/class-admin.php:488 +#: includes/admin/class-admin.php:487 msgid "Unable to refresh." msgstr "" -#: includes/admin/class-admin.php:489 -#: includes/admin/class-admin.php:630 +#: includes/admin/class-admin.php:488 +#: includes/admin/class-admin.php:629 msgid "Token valid." msgstr "" -#: includes/admin/class-admin.php:490 +#: includes/admin/class-admin.php:489 msgid "contents:read" msgstr "" -#: includes/admin/class-admin.php:491 +#: includes/admin/class-admin.php:490 msgid "contents:write" msgstr "" -#: includes/admin/class-admin.php:492 +#: includes/admin/class-admin.php:491 msgid "no accessible repository found to test" msgstr "" #. translators: 1. Number of articles -#: includes/admin/class-admin.php:538 +#: includes/admin/class-admin.php:537 #, php-format msgid "%s KB article" msgid_plural "%s KB articles" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-admin.php:589 +#: includes/admin/class-admin.php:588 msgid "You do not have permission to perform this action." msgstr "" -#: includes/admin/class-admin.php:609 +#: includes/admin/class-admin.php:608 msgid "No GitHub Personal Access Token configured. Save a token first." msgstr "" #. translators: %s: GitHub username. -#: includes/admin/class-admin.php:627 +#: includes/admin/class-admin.php:626 #, php-format msgid "Token valid — connected as %s" msgstr "" -#: includes/admin/class-admin.php:818 +#: includes/admin/class-admin.php:817 msgid "Support the development - Send us a donation today." msgstr "" -#: includes/admin/class-import-export.php:112 +#: includes/admin/class-import-export.php:107 +msgid "Settings can only be imported from the Tools page." +msgstr "" + +#: includes/admin/class-import-export.php:125 msgid "Settings imported successfully." msgstr "" -#: includes/admin/class-import-export.php:135 +#: includes/admin/class-import-export.php:148 msgid "Import failed: please upload a valid .json file." msgstr "" -#: includes/admin/class-import-export.php:148 +#: includes/admin/class-import-export.php:161 msgid "Import failed: no file was uploaded." msgstr "" -#: includes/admin/class-import-export.php:161 +#: includes/admin/class-import-export.php:171 msgid "Import failed: the file does not contain valid JSON settings." msgstr "" -#: includes/admin/class-import-export.php:251 +#: includes/admin/class-import-export.php:259 msgid "Settings Import / Export" msgstr "" -#: includes/admin/class-import-export.php:254 +#: includes/admin/class-import-export.php:262 msgid "Export your Knowledge Base settings as a JSON file, or import a previously exported file to restore them." msgstr "" -#: includes/admin/class-import-export.php:255 +#: includes/admin/class-import-export.php:263 msgid "Note: sensitive values such as API keys and webhook secrets are excluded from the export and must be re-entered after import." msgstr "" -#: includes/admin/class-import-export.php:261 +#: includes/admin/class-import-export.php:269 msgid "Export Settings" msgstr "" -#: includes/admin/class-import-export.php:272 +#: includes/admin/class-import-export.php:280 msgid "Import Settings" msgstr "" @@ -579,7 +579,7 @@ msgstr "" #: includes/admin/class-settings-wizard.php:1114 #: includes/admin/class-settings-wizard.php:1215 #: includes/admin/class-settings-wizard.php:1232 -#: includes/admin/class-settings.php:1918 +#: includes/admin/class-settings.php:1930 msgid "Insufficient permissions." msgstr "" @@ -1282,7 +1282,7 @@ msgstr "" #: includes/admin/class-settings.php:450 #: includes/admin/class-settings.php:452 #: includes/admin/class-settings.php:492 -#: includes/admin/class-settings.php:1541 +#: includes/admin/class-settings.php:1553 #: includes/blocks/build/kb/index.js:1 #: includes/blocks/src/kb/edit.js:134 msgid "Knowledge Base Settings" @@ -1758,7 +1758,7 @@ msgid "Enter any custom valid CSS without any wrapping <style> tags" msgstr "" #: includes/admin/class-settings.php:997 -#: includes/admin/class-settings.php:1557 +#: includes/admin/class-settings.php:1569 msgid "GitHub Integration" msgstr "" @@ -1977,7 +1977,7 @@ msgstr "" #. translators: %1$s: Opening link tag, %2$s: Closing link tag. #: includes/admin/class-settings.php:1226 #, php-format -msgid "Choose how to prevent duplicate votes. Each method has different privacy implications. %1$sLearn more about tracking methods and GDPR compliance%2$s." +msgid "Choose how to prevent duplicate votes only. Optional feedback after a low rating uses separate short-lived server checks—see the note below. Each method has different privacy implications. %1$sLearn more about tracking methods and GDPR compliance%2$s." msgstr "" #: includes/admin/class-settings.php:1233 @@ -2000,310 +2000,328 @@ msgstr "" msgid "Logged-in Users Only (best for authenticated sites)" msgstr "" -#: includes/admin/class-settings.php:1243 -msgid "Show Rating Statistics" +#: includes/admin/class-settings.php:1244 +msgid "Vote tracking only controls whether someone can submit another vote (cookie, IP list, logged-in user ID, or none). It does not apply to the optional feedback step after a low rating." msgstr "" #: includes/admin/class-settings.php:1244 -msgid "Display the average rating and vote count below the rating buttons." +msgid "When a visitor rates an article as not useful (or 1–2 stars) and skips feedback on that first request, the plugin stores a short-lived, one-time server marker so only that visit can add feedback later. Logged-in visitors are keyed by user ID; guests use the same pseudonymised IP hash already used for rate limiting—not the long-term IP lists used when you choose IP vote tracking." +msgstr "" + +#: includes/admin/class-settings.php:1244 +msgid "Cookie-only tracking still does not store visitor IPs in the vote ledger. Saved feedback entries may still include a hashed IP for abuse review, as before." +msgstr "" + +#: includes/admin/class-settings.php:1244 +msgid "Developers can turn the server marker off with the wzkb_rating_feedback_eligibility filter (not recommended on public sites)." +msgstr "" + +#: includes/admin/class-settings.php:1250 +msgid "Show Rating Statistics" msgstr "" #: includes/admin/class-settings.php:1251 +msgid "Display the average rating and vote count below the rating buttons." +msgstr "" + +#: includes/admin/class-settings.php:1258 msgid "Help Widget" msgstr "" -#: includes/admin/class-settings.php:1252 +#: includes/admin/class-settings.php:1259 msgid "A floating help widget that provides self-service support with search, suggested articles, and contact form." msgstr "" -#: includes/admin/class-settings.php:1257 +#: includes/admin/class-settings.php:1264 msgid "Enable Help Widget" msgstr "" -#: includes/admin/class-settings.php:1258 +#: includes/admin/class-settings.php:1265 msgid "Display a floating help widget on your site for self-service support." msgstr "" -#: includes/admin/class-settings.php:1265 +#: includes/admin/class-settings.php:1272 msgid "Display Location" msgstr "" -#: includes/admin/class-settings.php:1266 +#: includes/admin/class-settings.php:1273 msgid "Choose where the help widget appears on your site." msgstr "" -#: includes/admin/class-settings.php:1270 +#: includes/admin/class-settings.php:1277 msgid "Knowledge Base Only" msgstr "" -#: includes/admin/class-settings.php:1271 +#: includes/admin/class-settings.php:1278 msgid "Entire Site" msgstr "" -#: includes/admin/class-settings.php:1277 +#: includes/admin/class-settings.php:1284 msgid "Button Position" msgstr "" -#: includes/admin/class-settings.php:1278 +#: includes/admin/class-settings.php:1285 msgid "Choose where the help widget button appears on the screen." msgstr "" -#: includes/admin/class-settings.php:1282 +#: includes/admin/class-settings.php:1289 msgid "Bottom Right" msgstr "" -#: includes/admin/class-settings.php:1283 +#: includes/admin/class-settings.php:1290 msgid "Bottom Left" msgstr "" -#: includes/admin/class-settings.php:1289 +#: includes/admin/class-settings.php:1296 msgid "Button Style" msgstr "" -#: includes/admin/class-settings.php:1290 +#: includes/admin/class-settings.php:1297 msgid "Choose how the help widget button is displayed." msgstr "" -#: includes/admin/class-settings.php:1294 +#: includes/admin/class-settings.php:1301 msgid "Icon Only" msgstr "" -#: includes/admin/class-settings.php:1295 +#: includes/admin/class-settings.php:1302 msgid "Text Only" msgstr "" -#: includes/admin/class-settings.php:1296 +#: includes/admin/class-settings.php:1303 msgid "Icon and Text" msgstr "" -#: includes/admin/class-settings.php:1302 +#: includes/admin/class-settings.php:1309 #: includes/blocks/build/search/index.js:1 #: includes/blocks/src/search/edit.js:53 msgid "Button Text" msgstr "" -#: includes/admin/class-settings.php:1303 +#: includes/admin/class-settings.php:1310 msgid "Text to display on the help widget button (when text style is selected)." msgstr "" -#: includes/admin/class-settings.php:1311 +#: includes/admin/class-settings.php:1318 msgid "Help Widget Color" msgstr "" -#: includes/admin/class-settings.php:1312 +#: includes/admin/class-settings.php:1319 msgid "Primary color for the help widget button and interface elements." msgstr "" -#: includes/admin/class-settings.php:1320 +#: includes/admin/class-settings.php:1327 msgid "Help Widget Hover Color" msgstr "" -#: includes/admin/class-settings.php:1321 +#: includes/admin/class-settings.php:1328 msgid "Hover color for buttons and interactive elements." msgstr "" -#: includes/admin/class-settings.php:1329 +#: includes/admin/class-settings.php:1336 msgid "Help Widget Text Color" msgstr "" -#: includes/admin/class-settings.php:1330 +#: includes/admin/class-settings.php:1337 msgid "Text color for the help widget button and interface elements." msgstr "" -#: includes/admin/class-settings.php:1338 +#: includes/admin/class-settings.php:1345 msgid "Help Widget Hover Text Color" msgstr "" -#: includes/admin/class-settings.php:1339 +#: includes/admin/class-settings.php:1346 msgid "Text color for the help widget button on hover." msgstr "" -#: includes/admin/class-settings.php:1347 +#: includes/admin/class-settings.php:1354 msgid "Panel Background Color" msgstr "" -#: includes/admin/class-settings.php:1348 +#: includes/admin/class-settings.php:1355 msgid "Background color for the help widget panel." msgstr "" -#: includes/admin/class-settings.php:1356 +#: includes/admin/class-settings.php:1363 msgid "Panel Text Color" msgstr "" -#: includes/admin/class-settings.php:1357 +#: includes/admin/class-settings.php:1364 msgid "Default text color within the help widget panel." msgstr "" -#: includes/admin/class-settings.php:1365 +#: includes/admin/class-settings.php:1372 msgid "Link Hover Background" msgstr "" -#: includes/admin/class-settings.php:1366 +#: includes/admin/class-settings.php:1373 msgid "Background color when hovering over help widget links and list items." msgstr "" -#: includes/admin/class-settings.php:1374 +#: includes/admin/class-settings.php:1381 msgid "Greeting Message" msgstr "" -#: includes/admin/class-settings.php:1375 +#: includes/admin/class-settings.php:1382 msgid "Welcome message shown when the help widget opens." msgstr "" -#: includes/admin/class-settings.php:1383 +#: includes/admin/class-settings.php:1390 msgid "Search Placeholder" msgstr "" -#: includes/admin/class-settings.php:1384 +#: includes/admin/class-settings.php:1391 msgid "Placeholder text for the search input field." msgstr "" -#: includes/admin/class-settings.php:1392 +#: includes/admin/class-settings.php:1399 msgid "Enable Contact Form" msgstr "" -#: includes/admin/class-settings.php:1393 -msgid "Allow visitors to send messages through the help widget." +#. translators: 1: opening anchor tag, 2: closing anchor tag. +#: includes/admin/class-settings.php:1402 +#, php-format +msgid "Allow visitors to send messages through the help widget. Anonymous visitors are rate-limited using a salted hash of their IP address, held only for the hour and never logged. %1$sSuggested privacy policy text%2$s." msgstr "" -#: includes/admin/class-settings.php:1400 +#: includes/admin/class-settings.php:1412 msgid "Contact Email" msgstr "" -#: includes/admin/class-settings.php:1401 +#: includes/admin/class-settings.php:1413 msgid "Email address where help widget contact form submissions will be sent." msgstr "" -#: includes/admin/class-settings.php:1409 +#: includes/admin/class-settings.php:1421 msgid "Show on Mobile" msgstr "" -#: includes/admin/class-settings.php:1410 +#: includes/admin/class-settings.php:1422 msgid "Display the help widget on mobile devices." msgstr "" -#: includes/admin/class-settings.php:1417 +#: includes/admin/class-settings.php:1429 msgid "Enable button pulse" msgstr "" -#: includes/admin/class-settings.php:1418 +#: includes/admin/class-settings.php:1430 msgid "Enable a subtle pulsing animation on the help widget button to draw attention. Disable to keep the button static." msgstr "" -#: includes/admin/class-settings.php:1447 +#: includes/admin/class-settings.php:1459 msgid "Classic" msgstr "" -#: includes/admin/class-settings.php:1448 +#: includes/admin/class-settings.php:1460 msgid "Vibrant" msgstr "" -#: includes/admin/class-settings.php:1494 +#: includes/admin/class-settings.php:1506 #: includes/admin/sidebar.php:34 msgid "Support" msgstr "" -#: includes/admin/class-settings.php:1495 +#: includes/admin/class-settings.php:1507 msgid "Donate" msgstr "" -#: includes/admin/class-settings.php:1496 +#: includes/admin/class-settings.php:1508 msgid "Contribute" msgstr "" #. translators: 1: Plugin support site link. -#: includes/admin/class-settings.php:1512 +#: includes/admin/class-settings.php:1524 #, php-format msgid "For more information or how to get support visit the support site." msgstr "" #. translators: 1: WordPress.org support forums link. -#: includes/admin/class-settings.php:1514 +#: includes/admin/class-settings.php:1526 #, php-format msgid "Please report bugs, contribute or request features on GitHub." msgstr "" #. translators: 1: Github issues link, 2: Github plugin page link. -#: includes/admin/class-settings.php:1517 +#: includes/admin/class-settings.php:1529 #, php-format msgid "Post an issue on GitHub (bug reports only)." msgstr "" -#: includes/admin/class-settings.php:1543 +#: includes/admin/class-settings.php:1555 msgid "Configure every part of your docs experience from this screen. Use the sections on the left to move between General, Output, Styles, and Pro options." msgstr "" -#: includes/admin/class-settings.php:1544 +#: includes/admin/class-settings.php:1556 msgid "General covers Multi-Product Mode, URL slugs, caching, uninstall cleanup, and feed behaviour so links stay consistent and data is removed safely when required." msgstr "" -#: includes/admin/class-settings.php:1545 +#: includes/admin/class-settings.php:1557 msgid "Output controls how archives render—titles, hierarchy depth, article counts, excerpts, limits per section, sidebars, and related articles." msgstr "" -#: includes/admin/class-settings.php:1546 +#: includes/admin/class-settings.php:1558 msgid "Styles lets you switch layouts, set columns, and add custom CSS. Disable inbuilt styles if your theme already provides the styling you need." msgstr "" -#: includes/admin/class-settings.php:1547 +#: includes/admin/class-settings.php:1559 msgid "Pro features unlock article ratings, the floating help widget, and advanced layouts." msgstr "" #. translators: 1: Opening link tag, 2: Closing link tag. -#: includes/admin/class-settings.php:1550 +#: includes/admin/class-settings.php:1562 #, php-format msgid "%1$sRead the full settings guide%2$s" msgstr "" -#: includes/admin/class-settings.php:1559 +#: includes/admin/class-settings.php:1571 msgid "Automatically sync Markdown files from a GitHub repository into your Knowledge Base. Push events trigger the webhook and import or update articles in real time." msgstr "" -#: includes/admin/class-settings.php:1560 +#: includes/admin/class-settings.php:1572 msgid "Webhook Secret — a shared secret between GitHub and this site. Set the same value in your GitHub repository webhook settings under \"Secret\". All incoming payloads are verified via HMAC-SHA256." msgstr "" -#: includes/admin/class-settings.php:1561 +#: includes/admin/class-settings.php:1573 msgid "Personal Access Token — required for private repositories. Create a fine-grained PAT on GitHub with Contents: Read-only permission (add Metadata: Read-only for private repos). Leave empty for public repos." msgstr "" -#: includes/admin/class-settings.php:1562 +#: includes/admin/class-settings.php:1574 msgid "Repository Mappings — each row maps a GitHub repository (or a subfolder within one) to a Knowledge Base product. Required fields are marked with an asterisk (*). The folder path is relative to the repo root, e.g. docs/. Leave the branch field empty to use the repository's default branch." msgstr "" -#: includes/admin/class-settings.php:1563 +#: includes/admin/class-settings.php:1575 msgid "Your webhook endpoint URL is shown in the GitHub section header. Enter this URL in your GitHub repository under Settings → Webhooks, set the content type to application/json, and choose the Push event." msgstr "" #. translators: 1: Opening link tag, 2: Closing link tag. -#: includes/admin/class-settings.php:1566 +#: includes/admin/class-settings.php:1578 #, php-format msgid "%1$sRead the GitHub integration guide%2$s" msgstr "" #. translators: 1: Opening achor tag with Plugin page link, 2: Closing anchor tag, 3: Opening anchor tag with review link. -#: includes/admin/class-settings.php:1619 +#: includes/admin/class-settings.php:1631 #, php-format msgid "Thank you for using %1$sWebberZone Knowledge_Base%2$s! Please %3$srate us%2$s on %3$sWordPress.org%2$s" msgstr "" -#: includes/admin/class-settings.php:1694 -#: includes/admin/class-settings.php:1702 +#: includes/admin/class-settings.php:1706 +#: includes/admin/class-settings.php:1714 msgid "Verify Token" msgstr "" -#: includes/admin/class-settings.php:1696 -#: includes/admin/class-settings.php:1704 +#: includes/admin/class-settings.php:1708 +#: includes/admin/class-settings.php:1716 msgid "Refresh Repository List" msgstr "" -#: includes/admin/class-settings.php:1839 +#: includes/admin/class-settings.php:1851 msgid "No GitHub Personal Access Token configured. Add a token to this row or the global setting." msgstr "" -#: includes/admin/class-settings.php:1945 -#: includes/admin/class-settings.php:1955 -#: includes/admin/class-settings.php:1956 +#: includes/admin/class-settings.php:1957 +#: includes/admin/class-settings.php:1967 +#: includes/admin/class-settings.php:1968 msgid "Start Settings Wizard" msgstr "" diff --git a/readme.txt b/readme.txt index 514cdda1..d2fdb026 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: knowledge base, documentation, FAQ, support, wiki Requires at least: 6.9 Tested up to: 7.1 Requires PHP: 7.4 -Stable tag: 3.3.0 +Stable tag: 3.3.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -185,16 +185,32 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro = 3.3.1 = -Release date: 8 November 2026 +Release date: 15 November 2026 + +**Added** + +* Save Changes button beneath the settings tabs for quicker access while scrolling. + +**Changed** + +* [Pro] Article Rating settings describe how vote tracking relates to optional feedback after a low rating. +* The default style preset for new sites is Vibrant instead of Classic. **Security** * [Pro] Hardened optional low-rating feedback so standalone submissions required a one-time server eligibility marker instead of vote-tracking cookies. * [Pro] Hardened the help widget contact form with server-side rate limits. -**Changed** +**Fixed** -* [Pro] Article Rating settings describe how vote tracking relates to optional feedback after a low rating. +* Backslashes could be removed from settings values when saved or displayed. +* Archive layouts stayed at the configured column count on phones and tablets because inline CSS overrode the stylesheet responsive column rules. +* Mobile archive pages had cramped header spacing and section titles overlapping count badges. +* Desktop KB pages could show a large empty area on the right when a theme styled the standard `content-area` wrapper as a narrow column while the KB wrap stayed full width (for example GeneratePress with an inactive sidebar layout). +* With the KB sidebar enabled, tablet widths near 820px kept a two-column archive beside the sidebar column, squeezing section titles and counts. +* Settings import stored values without running them through the settings sanitizer. +* Several style presets paired accent-colored section-count badges with mismatched search button colors and hard-coded color fallbacks instead of shared CSS variables. +* Section-count badges and search buttons in Classic, Vibrant, Modern, Compact, and Gradient fell below WCAG AA contrast on bright orange and gradient fills. = 3.3.0 = @@ -221,4 +237,4 @@ For the changelog of earlier versions, please refer to the [releases page on Git == Upgrade Notice == = 3.3.1 = -Security release. Hardens low-rating feedback and help widget contact submissions. Update recommended. +Security and layout release. Hardens low-rating feedback and help widget submissions, fixes KB archive layout on mobile, tablet, and desktop, and improves style preset contrast. Update recommended.