/* Bokang site styles — loaded after GeneratePress */
:root {
	--bk-blue: #17407e;
	--bk-blue-dark: #0e2a55;
	--bk-red: #d7262e;
	--bk-red-dark: #b51e25;
	--bk-ink: #1d2330;
	--bk-muted: #5b6474;
	--bk-line: #e3e7ee;
	--bk-soft: #f4f6fa;
	--bk-radius: 10px;
	--bk-wrap: 1240px;
}
body { color: var(--bk-ink); font-size: 17px; line-height: 1.65; background: #fff; }
a { color: var(--bk-blue); }
a:hover { color: var(--bk-red); }
h1, h2, h3, h4 { color: var(--bk-blue-dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: .6em; }
h3 { font-size: 21px; }
.bk-wrap { max-width: var(--bk-wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* Full-width page canvas: sections handle their own width */
.bk-page .site-content { padding: 0; display: block; }
.bk-page .site.grid-container, .bk-page .site-content > .content-area { max-width: none; width: 100%; }
.bk-page .inside-article { padding: 0; }
.bk-page .entry-content { margin-top: 0; }
.bk-page .entry-content > * { max-width: var(--bk-wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.bk-page .entry-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
.bk-page .entry-content > .alignfull > .wp-block-group__inner-container,
.bk-page .entry-content > .alignfull.is-layout-constrained > *,
.bk-page .entry-content > .alignfull.is-layout-flow > * { max-width: var(--bk-wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.bk-page .entry-content > .alignfull > .wp-block-columns { padding-left: 20px; padding-right: 20px; }

/* Top bar & header */
.bk-topbar { background: var(--bk-blue-dark); color: #cfd8e8; font-size: 13.5px; }
.bk-topbar .bk-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.bk-topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.bk-topbar a:hover { color: #ffd2d4; }
.site-header { border-bottom: 1px solid var(--bk-line); }
.inside-header { padding-top: 14px; padding-bottom: 14px; }
.site-logo img, .header-image { height: 54px; width: auto; }
.bk-footer__logo { display: inline-block; background: #fff; border-radius: 8px; padding: 10px 14px; }
.bk-footer__logo img { height: 44px; width: auto; display: block; }
.main-navigation, .main-navigation ul ul, .main-navigation .main-nav ul ul { background: #fff; }
.main-navigation .menu-toggle { color: var(--bk-blue-dark); background: transparent; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .main-nav ul ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a { background: transparent; color: var(--bk-red); }
.main-navigation .main-nav ul ul li a { color: var(--bk-ink); }
.main-navigation .main-nav ul li a { font-weight: 600; color: var(--bk-ink); padding-left: 14px; padding-right: 14px; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li.current-menu-item > a, .main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--bk-red); }
.main-navigation .main-nav ul ul { box-shadow: 0 10px 30px rgba(14,42,85,.12); border-top: 3px solid var(--bk-red); width: 260px; }
.main-navigation .main-nav ul ul li a { font-weight: 500; font-size: 15px; }
.main-navigation .main-nav ul li.bk-menu-cta > a { background: var(--bk-red); color: #fff; border-radius: 6px; line-height: 40px; margin: 10px 0 10px 10px; }
.main-navigation .main-nav ul li.bk-menu-cta > a:hover { background: var(--bk-red-dark); color: #fff; }
.bk-crumbs { background: var(--bk-soft); font-size: 14px; color: var(--bk-muted); }
.bk-crumbs .bk-wrap { padding-top: 10px; padding-bottom: 10px; }
.bk-crumbs a { color: var(--bk-muted); text-decoration: none; }

/* Hero */
.bk-hero { background: linear-gradient(120deg, var(--bk-blue-dark) 0%, var(--bk-blue) 70%); color: #fff; padding: 56px 0 60px; margin-bottom: 0; }
.bk-hero h1, .bk-hero h2, .bk-hero p { color: #fff; }
.bk-hero p { font-size: 19px; color: #dbe4f3; }
.bk-hero .wp-block-columns { align-items: center; gap: 48px; }
.bk-hero img { border-radius: var(--bk-radius); background: #fff; }
.bk-hero--product { background: var(--bk-soft); color: var(--bk-ink); padding: 40px 0; }
.bk-hero--product h1 { color: var(--bk-blue-dark); }
.bk-hero--product p { color: var(--bk-muted); font-size: 18px; }
.bk-hero--product img { box-shadow: 0 8px 30px rgba(14,42,85,.10); }
.bk-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px !important; font-weight: 700; color: var(--bk-red) !important; margin-bottom: 8px; }
.bk-hero .bk-kicker { color: #ffb3b6 !important; }
.bk-hero--product .bk-kicker { color: var(--bk-red) !important; }
.entry-content > .wp-block-shortcode > .bk-video, .entry-content > .bk-video { max-width: 820px; }
.bk-keyfacts { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.bk-keyfacts li { padding-left: 22px; position: relative; font-size: 16px; }
.bk-keyfacts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--bk-red); }

/* Buttons */
.wp-block-button__link, .bk-btn { border-radius: 6px; font-weight: 700; padding: 13px 26px; text-decoration: none; display: inline-block; border: 2px solid transparent; cursor: pointer; font-size: 16px; }
.bk-btn--primary, .wp-block-button.is-style-fill .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--bk-red); color: #fff; }
.bk-btn--primary:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--bk-red-dark); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { border-color: currentColor; color: var(--bk-blue); background: transparent; }
.bk-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }
.bk-hero--product .wp-block-button.is-style-outline .wp-block-button__link { color: var(--bk-blue); }

/* Sections */
.bk-section { padding: 56px 0; }
.bk-section--soft { background: var(--bk-soft); }
.bk-section--dark { background: var(--bk-blue-dark); color: #dbe4f3; }
.bk-section--dark h2, .bk-section--dark h3 { color: #fff; }
.entry-content > h2 { margin-top: 48px; }
.bk-lead { font-size: 19px; color: var(--bk-muted); max-width: 820px; }

/* Cards */
.bk-cards { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px auto 8px; }
.bk-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); overflow: hidden; text-decoration: none; color: var(--bk-ink); transition: box-shadow .2s, transform .2s; }
.bk-card:hover { box-shadow: 0 12px 32px rgba(14,42,85,.12); transform: translateY(-2px); color: var(--bk-ink); }
.bk-card__img { aspect-ratio: 4 / 3; background: #fff; display: block; border-bottom: 1px solid var(--bk-line); }
.bk-card__img img { width: 100%; height: 100%; object-fit: contain; }
.bk-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bk-card__title { font-weight: 700; font-size: 18px; color: var(--bk-blue-dark); }
.bk-card__text { color: var(--bk-muted); font-size: 15px; flex: 1; }
.bk-card__more { color: var(--bk-red); font-weight: 700; font-size: 14px; }
.bk-feature { background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 22px 24px; height: 100%; }
.bk-feature > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.bk-feature h3 { margin-top: 0; }
.wp-block-columns { margin-bottom: 22px; }
.bk-feature h3 { margin-bottom: 8px; font-size: 19px; }
.bk-feature p { margin-bottom: 0; color: var(--bk-muted); font-size: 16px; }
.bk-stats { text-align: center; }
.bk-stats strong { display: block; font-size: 36px; color: #fff; line-height: 1.1; }

/* Tables */
.wp-block-table { overflow-x: auto; }
.wp-block-table table, .bk-page .entry-content table { border-collapse: collapse; width: 100%; font-size: 15.5px; border: 1px solid var(--bk-line); }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--bk-line); padding: 10px 14px; text-align: left; vertical-align: top; }
.wp-block-table thead th { background: var(--bk-blue); color: #fff; font-weight: 600; }
.wp-block-table tbody tr:nth-child(even) { background: var(--bk-soft); }
.wp-block-table tbody td:first-child { font-weight: 600; color: var(--bk-blue-dark); white-space: nowrap; }
.wp-block-table figcaption { font-size: 14px; color: var(--bk-muted); }

/* Process steps */
.bk-steps { list-style: none; counter-reset: s; padding: 0; margin: 20px auto; display: flex; flex-wrap: wrap; gap: 10px; }
.bk-steps li { counter-increment: s; background: #fff; border: 1px solid var(--bk-line); border-radius: 30px; padding: 8px 18px 8px 12px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.bk-steps li::before { content: counter(s); background: var(--bk-blue); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* FAQ (core details block) */
.wp-block-details { border: 1px solid var(--bk-line); border-radius: 8px; padding: 0; margin-bottom: 10px; background: #fff; }
.wp-block-details summary { cursor: pointer; padding: 15px 20px; font-weight: 700; color: var(--bk-blue-dark); }
.wp-block-details[open] summary { border-bottom: 1px solid var(--bk-line); }
.wp-block-details > *:not(summary) { padding: 12px 20px 2px; margin: 0; }

/* Video facade */
.bk-video { margin: 0; }
.bk-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; border-radius: var(--bk-radius); overflow: hidden; }
.bk-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.bk-yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); background: var(--bk-red); border-radius: 12px; }
.bk-yt__play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.bk-yt:hover .bk-yt__play { background: #f00; }
.bk-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--bk-radius); }
.bk-video figcaption { font-size: 14px; color: var(--bk-muted); margin-top: 6px; }
.bk-videos { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bk-videos > * { max-width: none !important; margin: 0 !important; }

/* CTA band */
.bk-cta { background: linear-gradient(120deg, var(--bk-red) 0%, #a81b22 100%); color: #fff; padding: 44px 0; }
.bk-cta h2, .bk-cta p { color: #fff; }
.bk-cta .wp-block-button__link { background: #fff !important; color: var(--bk-red) !important; }
.bk-cta .wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; color: #fff !important; }

/* Form */
.bk-form { background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 26px; box-shadow: 0 10px 30px rgba(14,42,85,.06); }
.bk-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 14px; color: var(--bk-blue-dark); }
.bk-form input[type=text], .bk-form input[type=email], .bk-form input[type=tel], .bk-form textarea { width: 100%; margin-top: 5px; border: 1px solid #cbd3df; border-radius: 6px; padding: 11px 12px; font-size: 16px; background: #fff; }
.bk-form input:focus, .bk-form textarea:focus { border-color: var(--bk-blue); outline: 2px solid rgba(23,64,126,.15); }
.bk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bk-form__consent { font-weight: 400 !important; font-size: 14px !important; color: var(--bk-muted) !important; display: flex !important; gap: 8px; align-items: flex-start; }
.bk-form__consent input { margin-top: 5px; }
.bk-form__note { font-size: 14px; color: var(--bk-muted); margin: 12px 0 0; }
.bk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-alert { background: #fff3f3; border: 1px solid #f3b7ba; color: #8f1d22; padding: 12px 16px; border-radius: 6px; max-width: var(--bk-wrap); margin: 16px auto; }

/* Placeholder notice for stock images */
.bk-note { font-size: 13px; color: var(--bk-muted); }

/* Footer */
.bk-footer { background: var(--bk-blue-dark); color: #b9c6dc; padding: 52px 0 30px; font-size: 15px; }
.bk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.bk-footer h3 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.bk-footer ul { list-style: none; margin: 0; padding: 0; }
.bk-footer li { margin-bottom: 8px; }
.bk-footer a { color: #dbe4f3; text-decoration: none; }
.bk-footer a:hover { color: #fff; text-decoration: underline; }
.bk-footer p { margin: 14px 0 0; }
.site-info { background: #0a1f40; color: #8fa0bd; font-size: 14px; }
.site-info a { color: #b9c6dc; }

/* Floating WhatsApp */
.bk-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.bk-wa-float:hover { color: #fff; background: #1eb455; }
.generate-back-to-top { bottom: 84px !important; }

/* Responsive */
@media (max-width: 1024px) {
	.bk-cards, .bk-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bk-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	body { font-size: 16px; }
	.bk-topbar .bk-wrap > span:first-child, .bk-topbar a[href^="mailto"] { display: none; }
	.inside-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 10px 20px; }
	.site-header .main-navigation { width: auto; margin-left: auto; }
	.site-header .main-navigation.toggled { width: 100%; }
	.site-header .main-navigation .menu-toggle { padding: 0 6px; line-height: 44px; }
	.site-logo img, .header-image { height: 40px; }
	.bk-topbar a { margin: 0 14px 0 0; }
	.bk-cards, .bk-cards--2, .bk-cards--4, .bk-videos { grid-template-columns: 1fr; }
	.bk-keyfacts { grid-template-columns: 1fr; }
	.bk-form__row { grid-template-columns: 1fr; }
	.bk-footer__grid { grid-template-columns: 1fr; }
	.bk-hero { padding: 36px 0 40px; }
	.bk-section { padding: 40px 0; }
	.main-navigation .main-nav ul li.bk-menu-cta > a { margin: 8px 20px; display: inline-block; }
	.wp-block-table tbody td:first-child { white-space: normal; }
}
.site-logo .header-image { aspect-ratio: 408 / 120; }

/* Product template (bk_product) */
.bk-pp__hero { display: grid; grid-template-columns: 45% 1fr; gap: 48px; align-items: center; }
.bk-pp__hero-img img { width: 100%; height: auto; border-radius: var(--bk-radius); background: #fff; box-shadow: 0 8px 30px rgba(14,42,85,.10); }
.bk-pp__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.bk-btn--outline { border-color: var(--bk-blue); color: var(--bk-blue); background: transparent; }
.bk-btn--outline:hover { background: var(--bk-blue); color: #fff; }
.bk-pp > .bk-wrap > h2 { margin-top: 48px; }
.bk-pp__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.bk-pp__gallery figure { margin: 0; }
.bk-pp__gallery img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--bk-line); }
.bk-pp__gallery figcaption { font-size: 14px; color: var(--bk-muted); margin-top: 6px; }
.bk-pp__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bk-pp__video { max-width: 820px; }
.bk-pp__quote { display: grid; grid-template-columns: 40% 1fr; gap: 40px; }
.bk-pp .bk-section { margin-top: 56px; }
@media (max-width: 1024px) { .bk-pp__features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
	.bk-pp__hero, .bk-pp__quote { grid-template-columns: 1fr; gap: 24px; }
	.bk-pp__gallery, .bk-pp__features { grid-template-columns: 1fr; }
}
.bk-pp__features .bk-feature { height: auto; }
.bk-pp__features .bk-feature p { margin-bottom: 0; }

/* Guides (posts) */
.bk-guide .site-content { padding-top: 32px; }
.bk-guide .inside-article { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; }
.bk-guide .entry-title { font-size: clamp(28px, 3.6vw, 40px); }
.bk-guide .entry-meta { color: var(--bk-muted); font-size: 14px; margin-top: 8px; }
.bk-guide .post-image, .bk-guide .featured-image { margin-bottom: 24px; }
.bk-guide .featured-image img, .bk-guide .post-image img { border-radius: var(--bk-radius); }
.bk-guide .entry-content h2 { margin-top: 44px; scroll-margin-top: 20px; }
.bk-guide .entry-content h3 { margin-top: 28px; }
.bk-guide .entry-content .bk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-toc { background: var(--bk-soft); border: 1px solid var(--bk-line); border-radius: 8px; padding: 16px 22px; margin: 24px 0; }
.bk-toc__title { font-weight: 700; color: var(--bk-blue-dark); margin: 0 0 6px; }
.bk-toc ul { margin: 0 0 0 20px; }
.bk-toc a { text-decoration: none; }
.bk-callout { background: #fff7e6; border-left: 4px solid #f0a020; padding: 14px 18px; border-radius: 6px; }
.bk-guide-cta { background: var(--bk-soft); border-radius: var(--bk-radius); padding: 24px 28px; margin-top: 44px; }
.bk-guide-cta h2 { margin-top: 0 !important; }
.bk-guide pre, .bk-guide code { background: var(--bk-soft); font-size: 15px; }
@media (max-width: 768px) { .bk-guide .entry-content .bk-cards { grid-template-columns: 1fr; } }
