:root {
	--bip-accent: #6c2bff;
	--bip-button-bg: #4054B2;
	--bip-button-hover-text: #000000;
	--bip-accent-dark: #4312c9;
	--bip-ink: #111827;
	--bip-body-text: #111827;
	--bip-content-text: #263044;
	--bip-heading-text: #111827;
	--bip-nav-text: #111827;
	--bip-muted: #5b6475;
	--bip-soft: #f6f8fc;
	--bip-line: #e5e9f2;
	--bip-card: #ffffff;
	--bip-dark: #0f172a;
	--bip-footer-bg: #0f172a;
	--bip-footer-text: #dbe4f2;
	--bip-footer-columns: 4;
	--bip-container: 1180px;
	--bip-header-pad: 14px;
	--bip-body-font-size: 16px;
	--bip-nav-font-size: 14px;
	--bip-button-font-size: 14px;
	--bip-h1-font-size: 76px;
	--bip-h2-font-size: 56px;
	--bip-footer-font-size: 14px;
	--bip-footer-title-font-size: 18px;
	--bip-footer-menu-font-size: 14px;
	--bip-radius: 22px;
	--bip-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: var(--bip-body-font-size);
	line-height: 1.65;
	color: var(--bip-body-text);
	background: var(--bip-soft);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--bip-accent);
	text-decoration: none;
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

a:hover,
a:focus {
	color: var(--bip-accent-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.bip-button,
.wp-block-button__link {
	border: 0;
	border-radius: 0;
	background: var(--bip-button-bg);
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.01em;
	padding: 14px 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	font-size: var(--bip-button-font-size);
	box-shadow: 0 14px 30px rgba(64, 84, 178, 0.22);
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.bip-button:hover,
.wp-block-button__link:hover {
	color: var(--bip-button-hover-text);
	background: var(--bip-button-bg);
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(64, 84, 178, 0.3);
}

.bip-button-small {
	min-height: 48px;
	padding: 13px 22px;
	font-size: 14px;
}

.bip-container {
	width: min(calc(100% - 44px), var(--bip-container));
	margin-inline: auto;
}

.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,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	color: var(--bip-ink);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 16px;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.site-header {
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid rgba(229, 233, 242, 0.85);
	backdrop-filter: blur(16px);
	z-index: 999;
}

.bip-sticky-header .site-header {
	position: sticky;
	top: 0;
}

.site-header.is-scrolled {
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px;
	align-items: center;
	padding: var(--bip-header-pad) 0;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 150px;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 58px;
	width: auto;
	display: block;
}

.site-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: var(--bip-heading-text);
}

.site-title:hover {
	color: var(--bip-ink);
}

.site-mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--bip-accent), #233ae8);
	color: #fff;
	font-size: 20px;
	box-shadow: 0 14px 30px rgba(108, 43, 255, 0.24);
}

.main-navigation {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.main-navigation .menu,
.main-navigation ul {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--bip-nav-text);
	font-size: var(--bip-nav-font-size);
	font-weight: 800;
	line-height: 1.2;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: rgba(108, 43, 255, 0.08);
	color: var(--bip-accent);
}

.main-navigation .sub-menu,
.main-navigation .children {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	display: block;
	min-width: 220px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--bip-line);
	border-radius: 18px;
	box-shadow: var(--bip-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.16s ease;
	z-index: 20;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li:hover > .children,
.main-navigation li:focus-within > .children {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .sub-menu a,
.main-navigation .children a {
	justify-content: flex-start;
	border-radius: 12px;
	white-space: nowrap;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	min-height: 46px;
	padding: 0;
	border-radius: 14px;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 999px;
	content: "";
}

.menu-toggle-bars {
	position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
	position: absolute;
	left: 0;
}

.menu-toggle-bars::before {
	top: -7px;
}

.menu-toggle-bars::after {
	top: 7px;
}

.site-main {
	min-height: 52vh;
}

.front-page-main {
	background: linear-gradient(180deg, #f7f9ff 0%, #edf3ff 52%, #f6f8fc 100%);
}

.bip-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 42px;
	background: radial-gradient(circle at 18% 18%, rgba(108, 43, 255, 0.16), transparent 28%), linear-gradient(135deg, #0b1741 0%, #0b2f87 45%, #5d8bf5 100%);
	color: #fff;
}

.bip-hero-bg {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 75% 28%, rgba(255, 255, 255, 0.18) 0 12%, transparent 13%), radial-gradient(circle at 12% 70%, rgba(255, 255, 255, 0.09) 0 1px, transparent 2px);
	background-size: auto, 18px 18px;
	opacity: 0.9;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 42px;
	align-items: center;
	min-height: 410px;
}

.hero-copy {
	max-width: 760px;
}

.hero-kicker,
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-kicker {
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.hero-copy h1 {
	font-size: clamp(44px, 7vw, var(--bip-h1-font-size));
	line-height: 0.96;
	letter-spacing: -0.065em;
	margin: 0 0 22px;
	max-width: 850px;
}

.hero-text {
	max-width: 720px;
	font-size: clamp(17px, 1.8vw, 21px);
	font-weight: 500;
	line-height: 1.6;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, 0.88);
}

.hero-card {
	position: relative;
	min-height: 330px;
	border-radius: 30px;
	padding: 28px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 34px 70px rgba(3, 7, 18, 0.32);
	transform: rotate(2deg);
	overflow: hidden;
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 70% 15%, rgba(108, 43, 255, 0.2), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(239, 244, 255, 0.95));
}

.hero-card-top {
	position: relative;
	height: 14px;
	border-radius: 99px;
	background: #dfe6f5;
	box-shadow: 0 35px 0 #eff3fa, 0 70px 0 #eff3fa, 0 105px 0 #eff3fa;
}

.badge-preview-mark {
	position: absolute;
	right: 34px;
	top: 84px;
	display: grid;
	place-items: center;
	width: 116px;
	height: 116px;
	border-radius: 34px;
	background: linear-gradient(135deg, var(--bip-accent), #1749ff);
	color: #fff;
	font-size: 64px;
	font-weight: 900;
	box-shadow: 0 24px 38px rgba(108, 43, 255, 0.35);
}

.badge-preview-lines {
	position: absolute;
	left: 34px;
	bottom: 34px;
	right: 34px;
	display: grid;
	gap: 12px;
}

.badge-preview-lines span {
	display: block;
	height: 14px;
	border-radius: 999px;
	background: #d8e0ef;
}

.badge-preview-lines span:nth-child(1) {
	width: 68%;
}

.badge-preview-lines span:nth-child(2) {
	width: 86%;
}

.badge-preview-lines span:nth-child(3) {
	width: 52%;
}

.compact-section {
	padding: 56px 0 74px;
}

.section-heading {
	max-width: 820px;
	margin-bottom: 28px;
}

.eyebrow {
	color: var(--bip-accent);
}

.section-heading h2,
.compact-page-header h1,
.entry-title,
.page-title {
	font-size: clamp(34px, 4.5vw, var(--bip-h2-font-size));
	line-height: 1.03;
	letter-spacing: -0.055em;
	margin: 0;
	color: var(--bip-heading-text);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.feature-card,
.bip-card,
.post-card,
.sidebar-area .widget,
.comments-area,
.single-entry,
.page-entry,
.no-results {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(229, 233, 242, 0.9);
	border-radius: var(--bip-radius);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.feature-card {
	padding: 26px;
}

.feature-card h3 {
	font-size: 21px;
	line-height: 1.2;
	letter-spacing: -0.035em;
	margin: 0 0 10px;
}

.feature-card p {
	margin: 0;
	color: var(--bip-muted);
}

.bip-page-shell,
.bip-layout {
	padding: 44px 0 72px;
}

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

.bip-layout.has-sidebar {
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
}

.content-area {
	min-width: 0;
}

.compact-page-header {
	margin-bottom: 26px;
}

.archive-description {
	max-width: 760px;
	margin-top: 14px;
	color: var(--bip-muted);
}

.page-entry,
.single-entry {
	padding: clamp(24px, 4vw, 46px);
}

.front-page-content > .wp-block-cover:first-child,
.front-page-content > .wp-block-group:first-child {
	margin-top: 0;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

body:not(.elementor-page):not(.elementor-editor-active) .entry-content h1,
body:not(.elementor-page):not(.elementor-editor-active) .entry-content h2,
body:not(.elementor-page):not(.elementor-editor-active) .entry-content h3,
body:not(.elementor-page):not(.elementor-editor-active) .entry-content h4,
body:not(.elementor-page):not(.elementor-editor-active) .entry-content h5,
body:not(.elementor-page):not(.elementor-editor-active) .entry-content h6 {
	letter-spacing: -0.04em;
	line-height: 1.12;
	margin-top: 1.6em;
	margin-bottom: 0.6em;
}

body:not(.elementor-page):not(.elementor-editor-active) .entry-content h1 {
	font-size: clamp(32px, 4vw, var(--bip-h1-font-size));
}

body:not(.elementor-page):not(.elementor-editor-active) .entry-content h2 {
	font-size: clamp(28px, 3vw, var(--bip-h2-font-size));
}

body:not(.elementor-page):not(.elementor-editor-active) .entry-content h3 {
	font-size: clamp(22px, 2.4vw, 34px);
}

body:not(.elementor-page):not(.elementor-editor-active) .entry-content p,
body:not(.elementor-page):not(.elementor-editor-active) .entry-content li {
	color: var(--bip-content-text);
}

body.elementor-page .entry-content,
body[class*="elementor-page-"] .entry-content,
.elementor-editor-active .entry-content {
	color: inherit;
}

body:not(.elementor-page):not(.elementor-editor-active) .entry-content a {
	font-weight: 700;
}

.entry-content .alignwide {
	margin-left: calc((min(100vw, var(--bip-container)) - 100%) / -2);
	margin-right: calc((min(100vw, var(--bip-container)) - 100%) / -2);
	max-width: var(--bip-container);
}

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


/* Page width modes */
.bip-page-shell-layout-wide,
.wide-width-shell {
	width: min(calc(100% - 44px), calc(var(--bip-container) + 260px));
}

.bip-page-layout-wide .page-entry,
.page-entry-wide-width {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding-inline: 0;
}

.bip-full-width-shell,
.bip-page-shell-layout-full_width,
.full-width-shell,
body.bip-page-layout-full_width .bip-page-shell,
body.elementor-page .bip-page-shell,
body[class*="elementor-page-"] .bip-page-shell {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}

body.bip-page-layout-full_width .page-entry,
.page-entry-full-width,
body.elementor-page .page-entry,
body[class*="elementor-page-"] .page-entry {
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}

body.bip-page-layout-full_width .entry-content,
.page-entry-full-width .entry-content,
body.elementor-page .entry-content,
body[class*="elementor-page-"] .entry-content {
	width: 100%;
	max-width: none;
}

body.bip-page-layout-full_width .comments-area,
body.elementor-page .comments-area,
body[class*="elementor-page-"] .comments-area {
	width: min(calc(100% - 44px), var(--bip-container));
	margin-inline: auto;
}



/* bip-elementor-color-fix: keep theme layout friendly to Elementor editing and color controls. */
body.elementor-page .entry-content > .elementor,
body[class*="elementor-page-"] .entry-content > .elementor,
.elementor-editor-active .entry-content > .elementor {
	width: 100%;
	max-width: none;
}

body.elementor-page .entry-content .elementor-section-wrap,
body[class*="elementor-page-"] .entry-content .elementor-section-wrap,
.elementor-editor-active .entry-content .elementor-section-wrap {
	width: 100%;
}

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

.post-card {
	overflow: hidden;
}

.post-thumbnail {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #dbe4f2;
}

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

.post-card:hover .post-thumbnail img {
	transform: scale(1.03);
}

.post-card-body {
	padding: 24px;
}

.post-card .entry-title {
	font-size: clamp(22px, 2.5vw, 30px);
	line-height: 1.15;
	margin-bottom: 8px;
}

.post-card .entry-title a {
	color: var(--bip-ink);
}

.post-card .entry-title a:hover {
	color: var(--bip-accent);
}

.entry-meta {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--bip-muted);
}

.entry-summary {
	color: var(--bip-muted);
}

.single-featured-image {
	margin: 0 0 28px;
	border-radius: 24px;
	overflow: hidden;
}

.sidebar-area {
	display: grid;
	gap: 18px;
}

.sidebar-area .widget {
	padding: 22px;
}

.widget-title {
	font-size: 18px;
	line-height: 1.25;
	margin: 0 0 14px;
	letter-spacing: -0.025em;
}

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

.widget li + li {
	margin-top: 8px;
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

.search-form label {
	flex: 1;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select {
	width: 100%;
	border: 1px solid var(--bip-line);
	border-radius: 14px;
	background: #fff;
	color: var(--bip-ink);
	padding: 13px 15px;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus,
select:focus {
	border-color: rgba(108, 43, 255, 0.65);
	box-shadow: 0 0 0 4px rgba(108, 43, 255, 0.12);
}

.comments-area {
	padding: 28px;
	margin-top: 30px;
}

.comment-list {
	margin: 0;
	padding-left: 18px;
}

.navigation.pagination,
.post-navigation {
	margin-top: 28px;
}

.nav-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	min-width: 40px;
	padding: 8px 13px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--bip-line);
	font-weight: 800;
}

.nav-links .current {
	background: var(--bip-accent);
	border-color: var(--bip-accent);
	color: #fff;
}

.site-footer {
	background: var(--bip-footer-bg);
	color: var(--bip-footer-text);
	padding: 34px 0 24px;
	font-size: var(--bip-footer-font-size);
}

.footer-inner {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 42px;
	align-items: start;
}

.footer-layout-centered .footer-inner {
	display: block;
	text-align: center;
}

.footer-layout-centered .footer-brand,
.footer-layout-centered .footer-brand-text p {
	margin-inline: auto;
}

.footer-layout-centered .footer-widgets {
	margin-top: 24px;
}

.footer-layout-minimal {
	padding-top: 24px;
}

.site-footer .site-title,
.site-footer a {
	color: #fff;
}

.footer-brand-text p {
	margin: 16px 0 0;
	max-width: 310px;
	color: color-mix(in srgb, var(--bip-footer-text) 78%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, transparent)) {
	.footer-brand-text p {
		color: rgba(255, 255, 255, 0.68);
	}
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(var(--bip-footer-columns), minmax(0, 1fr));
	gap: 28px;
}

.footer-widget-count-1 { grid-template-columns: minmax(0, 1fr); }
.footer-widget-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-widget-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-widget-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.footer-widget-column .widget {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.footer-widget-column .widget + .widget {
	margin-top: 20px;
}

.footer-widget-style-cards .footer-widget-column .widget {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px;
}

.site-footer .widget-title {
	color: #fff;
	font-size: var(--bip-footer-title-font-size);
	line-height: 1.25;
	margin-bottom: 12px;
}

.site-footer .widget p,
.site-footer .widget li,
.footer-custom-content p {
	color: color-mix(in srgb, var(--bip-footer-text) 88%, transparent);
}

.site-footer .widget p,
.footer-custom-content p {
	margin: 0 0 8px;
}

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

.site-footer .widget li + li,
.site-footer .widget .menu li + li {
	margin-top: 7px;
}

.site-footer .widget a,
.footer-custom-content a {
	color: var(--bip-footer-text);
	font-weight: 400;
}

.site-footer .widget a:hover,
.footer-custom-content a:hover,
.footer-menu a:hover {
	color: #fff;
}

@supports not (color: color-mix(in srgb, white 50%, transparent)) {
	.site-footer .widget p,
	.site-footer .widget li,
	.footer-custom-content p {
		color: rgba(255, 255, 255, 0.78);
	}
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: 26px;
	padding-top: 20px;
	font-size: var(--bip-footer-font-size);
	color: color-mix(in srgb, var(--bip-footer-text) 72%, transparent);
}

@supports not (color: color-mix(in srgb, white 50%, transparent)) {
	.footer-bottom {
		color: rgba(255, 255, 255, 0.62);
	}
}

.footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
}

.footer-menu a,
.site-footer .widget .menu a,
.site-footer .widget_nav_menu a {
	font-size: var(--bip-footer-menu-font-size);
	font-weight: 400;
	line-height: 1.45;
}

.site-footer .widget,
.site-footer .widget p,
.site-footer .widget li,
.footer-custom-content,
.footer-custom-content p {
	font-weight: 400;
}

.wp-block-group,
.wp-block-columns,
.wp-block-cover,
.wp-block-media-text {
	border-radius: 0;
}

.wp-block-cover.alignfull,
.wp-block-group.alignfull {
	border-radius: 0;
}

.wp-block-column > *:first-child {
	margin-top: 0;
}

.wp-block-column > *:last-child {
	margin-bottom: 0;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: var(--bip-accent);
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--bip-accent);
	border-color: var(--bip-accent);
	color: #fff;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: #fff;
	border: 1px solid var(--bip-line);
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--bip-button-bg);
	color: #fff;
	border-radius: 0;
	font-weight: 800;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--bip-button-bg);
	color: var(--bip-button-hover-text);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: 14px 14px 0 0;
}

.bip-blank-canvas .site-main,
.blank-canvas-main {
	min-height: 100vh;
}

@media (max-width: 1024px) {
	.header-inner {
		grid-template-columns: auto auto 1fr;
		gap: 16px;
	}

	.main-navigation {
		order: 3;
		justify-content: flex-end;
	}

	.header-actions {
		order: 2;
	}

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

	.main-navigation .menu,
	.main-navigation ul {
		position: absolute;
		top: 100%;
		left: 22px;
		right: 22px;
		display: none;
		background: #fff;
		border: 1px solid var(--bip-line);
		border-radius: 20px;
		box-shadow: var(--bip-shadow);
		padding: 12px;
		z-index: 50;
	}

	.main-navigation.toggled .menu,
	.main-navigation.toggled ul {
		display: grid;
		justify-content: stretch;
		align-items: stretch;
		gap: 4px;
	}

	.main-navigation a {
		justify-content: flex-start;
		border-radius: 12px;
	}

	.main-navigation .sub-menu,
	.main-navigation .children {
		position: static;
		display: grid;
		min-width: 0;
		padding: 0 0 0 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.hero-card {
		max-width: 520px;
	}

	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-widgets,
	.footer-widget-count-3,
	.footer-widget-count-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bip-layout.has-sidebar {
		grid-template-columns: 1fr;
	}

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

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

@media (max-width: 700px) {
	.bip-container {
		width: min(calc(100% - 28px), var(--bip-container));
	}

	.header-inner {
		grid-template-columns: 1fr auto;
	}

	.site-branding {
		min-width: 0;
	}

	.custom-logo {
		max-height: 48px;
	}

	.header-actions {
		display: none;
	}

	.main-navigation {
		order: initial;
	}

	.bip-hero {
		padding: 52px 0 34px;
	}

	.hero-copy h1 {
		font-size: clamp(42px, 13vw, 62px);
	}

	.hero-card {
		min-height: 260px;
		transform: none;
	}

	.feature-grid,
	.post-grid,
	.footer-widgets {
		grid-template-columns: 1fr;
	}

	.page-entry,
	.single-entry {
		padding: 22px;
	}

	body.bip-page-layout-full_width .page-entry,
	.page-entry-full-width,
	body.elementor-page .page-entry,
	body[class*="elementor-page-"] .page-entry {
		padding: 0;
	}

	body.bip-page-layout-full_width .comments-area,
	body.elementor-page .comments-area,
	body[class*="elementor-page-"] .comments-area {
		width: min(calc(100% - 28px), var(--bip-container));
	}

	.search-form,
	.footer-bottom {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
