/*
Theme Name: baikezhoukan
Theme URI: https://www.baikezhoukan.com/baikezhoukan/
Author: baikezhoukan
Author URI: https://www.baikezhoukan.com/
Description: 徐州佰科周勘基础工程机械企业官网主题。整屏纯图首页、居中企业简介、三栏业务卡片、数据展示、产品中心、工程案例、新闻动态与联系方式，适用于旋挖钻机、盾构机、压路机、摊铺机等基础与路面机械制造企业。支持自定义企业信息、轮播图片、配色与页脚小工具。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baikezhoukan
Domain Path: /languages
Tags: one-column, two-columns, right-sidebar, grid-layout, custom-logo, custom-menu, custom-colors, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks, news

baikezhoukan WordPress theme, Copyright 2026 baikezhoukan
baikezhoukan is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   1. Variables & reset
   ========================================================================== */
:root {
	--bkz-primary: #0b3b6f;
	--bkz-primary-dark: #072a52;
	--bkz-accent: #f2a900;
	--bkz-text: #1c2630;
	--bkz-muted: #5d6b78;
	--bkz-line: #e3e8ee;
	--bkz-bg: #f3f5f8;
	--bkz-white: #ffffff;
	--bkz-header-h: 84px;
	--bkz-container: 1240px;
	--bkz-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--bkz-header-h);
}

body {
	margin: 0;
	font-family: var(--bkz-font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--bkz-text);
	background: var(--bkz-white);
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--bkz-primary);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
	color: var(--bkz-accent);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	line-height: 1.35;
	font-weight: 700;
	color: var(--bkz-primary-dark);
}

p {
	margin: 0 0 1.2em;
}

ul, ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

th, td {
	padding: 10px 14px;
	border: 1px solid var(--bkz-line);
	text-align: left;
}

blockquote {
	margin: 1.5em 0;
	padding: 0.4em 1.4em;
	border-left: 4px solid var(--bkz-accent);
	background: var(--bkz-bg);
	color: var(--bkz-muted);
}

pre {
	overflow: auto;
	padding: 16px;
	background: var(--bkz-bg);
	font-size: 14px;
}

:focus-visible {
	outline: 3px solid var(--bkz-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: var(--bkz-primary-dark);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 14px 24px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	z-index: 100001;
}

.container {
	width: 100%;
	max-width: var(--bkz-container);
	margin: 0 auto;
	padding: 0 24px;
}

.container--narrow {
	max-width: 900px;
}

/* ==========================================================================
   2. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--bkz-header-h);
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--bkz-line);
	transition: box-shadow 0.25s ease;
}

.admin-bar .site-header {
	top: 32px;
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(7, 42, 82, 0.1);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: 1560px;
	margin: 0 auto;
	padding: 0 40px;
	gap: 24px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-branding a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--bkz-primary-dark);
}

.site-branding .custom-logo {
	max-height: 56px;
	width: auto;
}

.brand-mark {
	display: block;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand-name {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 2px;
	color: var(--bkz-primary-dark);
}

.brand-sub {
	margin-top: 4px;
	font-size: 11px;
	letter-spacing: 3px;
	color: var(--bkz-muted);
	text-transform: uppercase;
}

.main-navigation {
	margin-left: auto;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation > ul > li,
.main-navigation .menu > li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 0 20px;
	line-height: var(--bkz-header-h);
	font-size: 16px;
	font-weight: 600;
	color: var(--bkz-text);
	position: relative;
}

.main-navigation > ul > li > a::after,
.main-navigation .menu > li > a::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 22px;
	height: 3px;
	background: var(--bkz-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.main-navigation li:hover > a::after,
.main-navigation li:focus-within > a::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
	transform: scaleX(1);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--bkz-primary);
}

.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	display: block;
	min-width: 200px;
	padding: 10px 0;
	background: #fff;
	border-top: 3px solid var(--bkz-accent);
	box-shadow: 0 16px 36px rgba(7, 42, 82, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.22s ease;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-navigation ul ul a {
	padding: 0 22px;
	line-height: 2.8;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

.main-navigation ul ul a::after {
	display: none;
}

.main-navigation ul ul a:hover {
	background: var(--bkz-bg);
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.header-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 17px;
	color: var(--bkz-primary-dark);
	letter-spacing: 0.5px;
}

.header-phone svg {
	width: 20px;
	height: 20px;
	color: var(--bkz-accent);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: var(--bkz-primary);
	color: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	position: relative;
	transition: all 0.2s ease;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__bar::before {
	top: -7px;
}

.menu-toggle__bar::after {
	top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
	top: 0;
	transform: rotate(-45deg);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn,
.button,
button[type="submit"],
input[type="submit"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 34px;
	border: 2px solid var(--bkz-primary);
	background: var(--bkz-primary);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	border-radius: 0;
	transition: all 0.25s ease;
}

.btn:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--bkz-accent);
	border-color: var(--bkz-accent);
	color: var(--bkz-primary-dark);
}

.btn--accent {
	background: var(--bkz-accent);
	border-color: var(--bkz-accent);
	color: var(--bkz-primary-dark);
}

.btn--accent:hover {
	background: #fff;
	border-color: #fff;
	color: var(--bkz-primary-dark);
}

.btn--ghost {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--bkz-primary-dark);
}

.btn svg {
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   4. Home: hero (pure image slider, no title)
   ========================================================================== */
.hero {
	position: relative;
	height: calc(100vh - var(--bkz-header-h));
	min-height: 480px;
	max-height: 960px;
	overflow: hidden;
	background: #0a1a2b;
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}

.hero__slide.is-active img {
	animation: bkz-kenburns 9s ease-out forwards;
}

@keyframes bkz-kenburns {
	from { transform: scale(1.02); }
	to { transform: scale(1.1); }
}

.hero__dots {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 3;
	display: flex;
	gap: 12px;
	transform: translateX(-50%);
}

.hero__dot {
	width: 44px;
	height: 18px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.hero__dot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	height: 3px;
	background: rgba(255, 255, 255, 0.5);
	transition: background 0.2s ease;
}

.hero__dot.is-active::before,
.hero__dot:hover::before {
	background: var(--bkz-accent);
}

/* ==========================================================================
   5. Home: sections
   ========================================================================== */
.section {
	padding: 100px 0;
}

.section--gray {
	background: var(--bkz-bg);
}

.section__head {
	max-width: 760px;
	margin: 0 auto 56px;
	text-align: center;
}

.section__kicker {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 4px;
	color: var(--bkz-accent);
	text-transform: uppercase;
}

.section__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 3.2vw, 40px);
}

.section__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 18px auto 0;
	background: var(--bkz-accent);
}

.section__desc {
	margin: 0;
	color: var(--bkz-muted);
}

.intro {
	padding: 110px 0 90px;
	text-align: center;
}

.intro__text {
	max-width: 980px;
	margin: 0 auto;
	font-size: clamp(18px, 2vw, 25px);
	font-weight: 300;
	line-height: 2;
	color: var(--bkz-text);
}

.intro__text strong {
	font-weight: 700;
	color: var(--bkz-primary);
}

/* pillars */
.pillar-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.pillar {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	color: #fff;
	background: var(--bkz-primary-dark);
}

.pillar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.pillar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(7, 42, 82, 0) 30%, rgba(7, 42, 82, 0.92) 100%);
}

.pillar:hover img {
	transform: scale(1.08);
}

.pillar__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 34px 32px;
}

.pillar__title {
	margin: 0 0 10px;
	font-size: 26px;
	color: #fff;
}

.pillar__desc {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.88);
}

.pillar__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--bkz-accent);
	color: var(--bkz-accent);
	transition: all 0.25s ease;
}

.pillar:hover .pillar__arrow {
	background: var(--bkz-accent);
	color: var(--bkz-primary-dark);
}

.pillar__arrow svg {
	width: 20px;
	height: 20px;
}

/* products */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.card-grid--4 {
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.product-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 4px 22px rgba(7, 42, 82, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(7, 42, 82, 0.16);
}

.product-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bkz-bg);
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.product-card:hover .product-card__media img {
	transform: scale(1.06);
}

.product-card__body {
	flex: 1;
	padding: 26px 28px 30px;
}

.product-card__title {
	margin: 0 0 8px;
	font-size: 21px;
}

.product-card__title a {
	color: var(--bkz-primary-dark);
}

.product-card__desc {
	margin: 0 0 16px;
	font-size: 15px;
	color: var(--bkz-muted);
}

.more-link {
	font-size: 15px;
	font-weight: 700;
	color: var(--bkz-primary);
}

.more-link::after {
	content: " \2192";
	color: var(--bkz-accent);
}

.section__foot {
	margin-top: 48px;
	text-align: center;
}

/* facts */
.facts {
	position: relative;
	padding: 110px 0;
	color: #fff;
	background-color: var(--bkz-primary-dark);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	isolation: isolate;
}

.facts::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(7, 34, 68, 0.84);
}

.facts .section__title,
.facts .section__desc {
	color: #fff;
}

.facts .section__desc {
	opacity: 0.85;
}

.facts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	text-align: center;
}

.fact {
	padding: 10px 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.fact:first-child {
	border-left: 0;
}

.fact__num {
	display: block;
	font-size: clamp(44px, 5.4vw, 72px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--bkz-accent);
	font-variant-numeric: tabular-nums;
}

.fact__num small {
	margin-left: 4px;
	font-size: 0.4em;
	font-weight: 700;
}

.fact__label {
	display: block;
	margin-top: 10px;
	font-size: 18px;
	font-weight: 700;
}

.fact__note {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	opacity: 0.75;
}

/* about */
.about {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 70px;
	align-items: center;
}

.about__media {
	position: relative;
}

.about__media img {
	width: 100%;
	aspect-ratio: 14 / 10;
	object-fit: cover;
}

.about__badge {
	position: absolute;
	right: -24px;
	bottom: -24px;
	padding: 22px 30px;
	background: var(--bkz-accent);
	color: var(--bkz-primary-dark);
	text-align: center;
	line-height: 1.3;
}

.about__badge strong {
	display: block;
	font-size: 38px;
	font-weight: 800;
}

.about__badge span {
	font-size: 14px;
	font-weight: 700;
}

.about__content .section__title::after {
	margin-left: 0;
}

.about__list {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.about__list li {
	position: relative;
	padding: 6px 0 6px 28px;
}

.about__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 17px;
	width: 14px;
	height: 3px;
	background: var(--bkz-accent);
}

/* cases */
.case-card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	color: #fff;
	background: var(--bkz-primary-dark);
}

.case-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.case-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(7, 42, 82, 0.05) 35%, rgba(7, 42, 82, 0.92) 100%);
}

.case-card:hover img {
	transform: scale(1.08);
}

.case-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 24px;
}

.case-card__tag {
	display: inline-block;
	margin-bottom: 8px;
	padding: 2px 10px;
	background: var(--bkz-accent);
	color: var(--bkz-primary-dark);
	font-size: 12px;
	font-weight: 700;
}

.case-card__title {
	margin: 0 0 4px;
	font-size: 19px;
	color: #fff;
}

.case-card__meta {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.82);
}

/* news */
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bkz-line);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px rgba(7, 42, 82, 0.12);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bkz-bg);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.post-card:hover .post-card__media img {
	transform: scale(1.06);
}

.post-card__body {
	flex: 1;
	padding: 24px 26px 28px;
}

.post-card__date {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--bkz-accent);
}

.post-card__title {
	margin: 0 0 10px;
	font-size: 19px;
}

.post-card__title a {
	color: var(--bkz-primary-dark);
}

.post-card__title a:hover {
	color: var(--bkz-primary);
}

.post-card__excerpt {
	margin: 0;
	font-size: 15px;
	color: var(--bkz-muted);
}

.post-card.sticky {
	border-top: 4px solid var(--bkz-accent);
}

.post-card__excerpt p {
	margin: 0;
}

.section--pillars {
	padding-top: 20px;
}

.pillar__title,
.pillar__desc,
.case-card__title,
.case-card__meta {
	display: block;
}

/* call to action */
.cta {
	position: relative;
	padding: 100px 0;
	color: #fff;
	text-align: center;
	background-color: var(--bkz-primary-dark);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(7, 34, 68, 0.9), rgba(11, 59, 111, 0.74));
}

.cta__title {
	margin: 0 0 18px;
	font-size: clamp(26px, 3.4vw, 40px);
	color: #fff;
}

.cta__text {
	max-width: 760px;
	margin: 0 auto 34px;
	opacity: 0.9;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

/* contact block */
.contact-block {
	text-align: center;
}

.contact-block__company {
	margin: 0 0 40px;
	font-size: 18px;
	font-weight: 700;
	color: var(--bkz-primary-dark);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: left;
}

.contact-item {
	display: flex;
	gap: 18px;
	padding: 30px 28px;
	background: var(--bkz-bg);
	border-bottom: 4px solid var(--bkz-accent);
}

.contact-item svg {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	color: var(--bkz-primary);
}

.contact-item h3 {
	margin: 0 0 4px;
	font-size: 16px;
	color: var(--bkz-muted);
	font-weight: 600;
}

.contact-item p {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--bkz-primary-dark);
}

.contact-item a {
	color: inherit;
}

/* reveal animation */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   6. Floating side actions & contact dialog
   ========================================================================== */
.side-actions {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 900;
	display: flex;
	flex-direction: column;
	gap: 2px;
	transform: translateY(-50%);
}

.side-actions__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 58px;
	padding: 12px 0;
	border: 0;
	background: var(--bkz-primary);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.side-actions__item svg {
	width: 22px;
	height: 22px;
}

.side-actions__item:hover {
	background: var(--bkz-accent);
	color: var(--bkz-primary-dark);
}

.side-actions__top {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
}

.side-actions__top.is-visible {
	opacity: 1;
	visibility: visible;
}

.contact-dialog {
	width: min(520px, calc(100% - 32px));
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--bkz-text);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.contact-dialog::backdrop {
	background: rgba(7, 26, 48, 0.72);
}

.contact-dialog__head {
	padding: 28px 32px 22px;
	background: var(--bkz-primary-dark);
	color: #fff;
}

.contact-dialog__kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 4px;
	color: var(--bkz-accent);
}

.contact-dialog__title {
	margin: 6px 0 0;
	font-size: 24px;
	color: #fff;
}

.contact-dialog__body {
	padding: 28px 32px 34px;
}

.contact-dialog__body p {
	color: var(--bkz-muted);
}

.contact-dialog__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-dialog__list li {
	padding: 10px 0;
	border-top: 1px solid var(--bkz-line);
	font-weight: 600;
}

.contact-dialog__list span {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: var(--bkz-muted);
}

.contact-dialog__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

/* ==========================================================================
   7. Inner pages
   ========================================================================== */
.page-banner {
	position: relative;
	padding: 90px 0 70px;
	color: #fff;
	background-color: var(--bkz-primary-dark);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(7, 34, 68, 0.92), rgba(11, 59, 111, 0.7));
}

.page-banner__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 44px);
	color: #fff;
}

.page-banner__desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs {
	margin-top: 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
	color: #fff;
}

.breadcrumbs a:hover {
	color: var(--bkz-accent);
}

.breadcrumbs .sep {
	margin: 0 8px;
	opacity: 0.6;
}

.content-wrap {
	padding: 70px 0 90px;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
}

.content-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.content-layout--full .post-grid {
	grid-template-columns: repeat(3, 1fr);
}

.entry-meta {
	margin-bottom: 24px;
	font-size: 14px;
	color: var(--bkz-muted);
}

.entry-meta span + span::before {
	content: "\00b7";
	margin: 0 10px;
}

.entry-thumbnail {
	margin-bottom: 32px;
}

.entry-thumbnail img {
	width: 100%;
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.8em;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content .alignwide {
	margin-left: -60px;
	margin-right: -60px;
	max-width: none;
	width: auto;
}

.page-template-template-fullwidth .entry-content .alignfull,
.entry-content .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	clear: both;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--bkz-muted);
}

.bypostauthor > .comment-body .fn::after {
	content: " \2605";
	color: var(--bkz-accent);
}

.page-links {
	clear: both;
	margin: 24px 0;
	font-weight: 700;
}

.entry-footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--bkz-line);
	font-size: 14px;
	color: var(--bkz-muted);
}

.entry-footer a {
	margin-right: 8px;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
}

.post-navigation a {
	display: block;
	padding: 16px 20px;
	background: var(--bkz-bg);
	font-weight: 700;
}

.pagination,
.posts-navigation {
	margin-top: 50px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.pagination .page-numbers {
	min-width: 44px;
	padding: 8px 14px;
	border: 1px solid var(--bkz-line);
	text-align: center;
	font-weight: 700;
	color: var(--bkz-text);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--bkz-primary);
	border-color: var(--bkz-primary);
	color: #fff;
}

/* forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #cfd7e0;
	background: #fff;
	font-family: inherit;
	font-size: 16px;
	color: var(--bkz-text);
	border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--bkz-primary);
	outline: 2px solid var(--bkz-accent);
	outline-offset: 0;
}

.search-form {
	display: flex;
	gap: 0;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit {
	padding: 12px 26px;
}

/* sidebar & widgets */
.widget-area .widget {
	margin-bottom: 36px;
	padding: 28px;
	background: var(--bkz-bg);
}

.widget-title {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--bkz-accent);
	font-size: 18px;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px dashed #d3dbe4;
}

.widget li:last-child {
	border-bottom: 0;
}

/* comments */
.comments-area {
	margin-top: 60px;
}

.comments-title,
.comment-reply-title {
	font-size: 22px;
}

.comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 32px;
	list-style: none;
}

.comment-body {
	margin-bottom: 20px;
	padding: 22px 24px;
	background: var(--bkz-bg);
}

.comment-meta {
	margin-bottom: 8px;
	font-size: 14px;
}

.comment-author .avatar {
	margin-right: 10px;
	border-radius: 50%;
}

.comment-form p {
	margin-bottom: 16px;
}

.no-results,
.error-404 {
	padding: 40px 0;
	text-align: center;
}

.error-404__action {
	margin-top: 30px;
}

.error-404__code {
	display: block;
	font-size: clamp(80px, 14vw, 160px);
	font-weight: 800;
	line-height: 1;
	color: var(--bkz-accent);
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
	background: #061f3d;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
	color: var(--bkz-accent);
}

.footer-main {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 50px;
	padding: 80px 0 60px;
}

.footer-brand .brand-name,
.footer-brand .brand-sub {
	color: #fff;
}

.footer-brand p {
	margin: 20px 0 0;
	line-height: 1.9;
}

.footer-title,
.site-footer .widget-title {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	font-size: 17px;
	color: #fff;
}

.footer-menu,
.site-footer .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li,
.site-footer .widget li {
	padding: 5px 0;
	border: 0;
}

.footer-contact li {
	position: relative;
	padding: 5px 0 5px 0;
}

.footer-contact span {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}

.site-footer .widget {
	margin: 0 0 24px;
	padding: 0;
	background: transparent;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 30px;
	padding: 24px 0;
	font-size: 14px;
}

.footer-bottom__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.site-header__inner {
		padding: 0 24px;
	}

	.main-navigation a {
		padding: 0 14px;
	}

	.card-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 1024px) {
	:root {
		--bkz-header-h: 72px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.header-phone span {
		display: none;
	}

	.main-navigation {
		position: fixed;
		top: var(--bkz-header-h);
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 12px 24px 40px;
		overflow-y: auto;
		background: #fff;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.3s ease, visibility 0.3s;
	}

	.admin-bar .main-navigation {
		top: calc(var(--bkz-header-h) + 46px);
	}

	.main-navigation.is-open {
		transform: none;
		visibility: visible;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
	}

	.main-navigation a {
		padding: 0;
		line-height: 3.4;
		border-bottom: 1px solid var(--bkz-line);
		font-size: 18px;
	}

	.main-navigation > ul > li > a::after,
	.main-navigation .menu > li > a::after {
		display: none;
	}

	.main-navigation ul ul {
		position: static;
		min-width: 0;
		padding: 0 0 0 18px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-navigation ul ul a {
		font-size: 16px;
		line-height: 3;
	}

	.pillar-grid,
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pillar:last-child {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 8;
	}

	.facts {
		background-attachment: scroll;
	}

	.facts-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 40px;
	}

	.fact:nth-child(3) {
		border-left: 0;
	}

	.about {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.about__badge {
		right: 16px;
		bottom: -24px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.content-layout {
		grid-template-columns: 1fr;
	}

	.content-layout--full .post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.entry-content .alignwide {
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.section {
		padding: 70px 0;
	}

	.intro {
		padding: 70px 0 60px;
	}

	.site-header__inner {
		padding: 0 16px;
	}

	.brand-name {
		font-size: 22px;
	}

	.brand-sub {
		display: none;
	}

	.hero {
		height: 62vh;
		min-height: 320px;
	}

	.pillar-grid,
	.card-grid,
	.card-grid--4,
	.post-grid,
	.content-layout--full .post-grid {
		grid-template-columns: 1fr;
	}

	.pillar:last-child {
		aspect-ratio: 4 / 5;
	}

	.case-card {
		aspect-ratio: 4 / 3;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 56px 0 40px;
	}

	.side-actions__item {
		width: 48px;
		font-size: 11px;
	}

	.facts-grid {
		grid-template-columns: 1fr 1fr;
	}

	.fact {
		padding: 4px 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.side-actions,
	.hero__dots,
	.site-footer {
		display: none;
	}
}
