/*
Theme Name: Brekzy WP
Author: Shahbaz Badar
Author URI: https://webarray.net/
Description: Specially designed for Brekzy
Version: 1.0
*/
html, body { min-height:100% !important; }
/* Smooth-scrolls any in-page anchor link (e.g. href="#some-section-id")
   site-wide, so no per-page JS or duplicated CSS is needed to get this --
   any current or future page just needs a real element id to jump to.
   Skipped for visitors who've asked their OS for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Grouped search autocomplete (js/search-autocomplete.js) -- wraps
   whichever <input data-brekzy-search-suggest> it's attached to (the
   header search box on every page, and the /?s= results page's own
   search field), so this needs to live in the global stylesheet rather
   than a page-scoped one. Kept deliberately plain (white panel, one
   border, one accent color) to match the existing site chrome instead of
   introducing a new visual style. */
.brekzy-search-ac-wrap {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.brekzy-search-ac-wrap input[type="search"] {
	width: 100%;
}

.brekzy-search-ac-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 70;
	background: #fff;
	border: 1.5px solid #E2E8F0;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
	max-height: 360px;
	overflow-y: auto;
	padding: 6px;
}

.brekzy-search-ac-loading {
	padding: 12px 10px;
	font-size: 14px;
	color: #64748B;
}

.brekzy-search-ac-group-label {
	padding: 8px 10px 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748B;
}

.brekzy-search-ac-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: #111827;
	text-decoration: none;
}

.brekzy-search-ac-option:hover,
.brekzy-search-ac-option.is-active {
	background: #F5F5FF;
	color: #4F46E5;
}

.brekzy-search-ac-icon {
	flex: none;
	font-size: 15px;
	line-height: 1;
}

.brekzy-search-ac-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 479px) {
	.brekzy-search-ac-panel {
		max-height: 300px;
	}
}
/**** Foundation.css ****/
*,:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*{outline:none}a{text-decoration:none; color:#353853;}img{max-width:100%;height:auto;}h1,h2,h3,h4,h5,h6{color:#565656; margin:0 0 22px;font-weight:600;line-height:1.1}p{margin:0 0 22px;line-height:1.8}ul{padding:0;margin:0;list-style:none}.row{width:1260px;max-width:100%;clear:both;margin:0 auto}.row:before,.row:after{content:"";display:table}.row:after{clear:both}.row .row{width:auto;max-width:none;min-width:0;margin:0 -15px}.row.collapse .column,.row.collapse .columns{padding:0}.row .row{width:auto;max-width:none;min-width:0;margin:0 -15px}.row .row.collapse{margin:0}.column,.columns{float:left;min-height:1px;padding:0 15px;position:relative}.column.centered,.columns.centered{float:none;margin:0 auto}/*[class*="column"] + [class*="column"]:last-child{float:left}*/[class*="column"] + [class*="column"].end{float:left}.one,.row .one{width:8.33333%}.two,.row .two{width:16.66667%}.three,.row .three{width:25%}.four,.row .four{width:33.33333%}.five,.row .five{width:41.66667%}.six,.row .six{width:50%}.seven,.row .seven{width:58.33333%}.eight,.row .eight{width:66.66667%}.nine,.row .nine{width:75%}.ten,.row .ten{width:83.33333%}.eleven,.row .eleven{width:91.66667%}.twelve,.row .twelve{width:100%}@media only screen and (max-width: 767px){.row{width:auto;min-width:0;margin-left:0;margin-right:0;clear:both}.column,.columns{width:auto!important;float:none}.column:last-child,.columns:last-child{float:none}[class*="column"] + [class*="column"]:last-child{float:none}.column:before,.columns:before,.column:after,.columns:after{content:"";display:table}.column:after,.columns:after{clear:both}}

:root {
  --wp--style--global--content-size:1260px;
}
.page-wrap {
	min-height:600px;
}
.page-wrap a { text-decoration:underline; }
.page-wrap a:hover { text-decoration:none; }
.df-row-section {
	max-width: 100%;
	width: 1260px;
	margin:0 auto;
	clear: both;
}

body {
	margin:0;
	color: #787878;
	font-size: 16px;
	background: #fff;
	line-height:27.2px;
	background: #fff;
	font-family: 'Poppins', sans-serif;
}
header {
	width: 100%;
	background: #fff;
	padding-top: 25px;
	padding-bottom: 19px;
	position:relative;
}
.main-logo {
	float: left;
	width: 160px;
	max-width: 100%;
}
.main-logo img {
	float: left;
}
.main-menu {
	float: right;
	margin-top: 9px;
}
.main-menu ul {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
}
.main-menu li {
	float: left;
	font-size: 16px;
	padding: 0 23px;
	line-height: 22px;
}
.main-menu li:last-child {
	padding-right: 0;
}
.main-menu li a {
	float: left;
	color: #404040;
	font-weight: 600;
	position: relative;
}
.main-menu li a:hover, .main-menu li.current-menu-item a {
	color: #4f46e5;
}

/* ---------- Header actions: search toggle + mobile menu toggle ---------- */
header { position: relative; }

.site-header-actions {
	float: right;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: 18px;
}

.header-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: none;
	background: transparent;
	border-radius: 8px;
	color: #111827;
	cursor: pointer;
}

.header-icon-btn:hover {
	background: #F5F5FF;
}

.header-icon-btn:focus-visible {
	outline: 2px solid #4F46E5;
	outline-offset: 2px;
}

.header-search-toggle svg {
	width: 20px;
	height: 20px;
}

.header-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
}

.header-menu-toggle .bar {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.header-menu-toggle.is-active .bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.header-menu-toggle.is-active .bar:nth-child(2) {
	opacity: 0;
}

.header-menu-toggle.is-active .bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.site-search-panel {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-top: 1px solid #E2E8F0;
	box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
	padding: 16px 20px;
	z-index: 60;
}

.site-search-panel.is-open {
	display: block;
}

.site-search-panel form {
	max-width: 1260px;
	margin: 0 auto;
	display: flex;
	gap: 10px;
}

.site-search-panel input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	font-size: 15px;
	font-family: inherit;
	border: 1.5px solid #E2E8F0;
	border-radius: 10px;
}

.site-search-panel input[type="search"]:focus {
	outline: none;
	border-color: #4F46E5;
	box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.13);
}

.site-search-panel button {
	flex: none;
	height: 44px;
	padding: 0 22px;
	border: none;
	border-radius: 10px;
	background: #4F46E5;
	color: #fff;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}

.site-search-panel button:hover {
	background: #4338CA;
}

@media (max-width: 767px) {
	.header-menu-toggle {
		display: inline-flex;
	}

	header .main-menu {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		float: none;
		margin: 0;
		background: #fff;
		border-top: 1px solid #E2E8F0;
		box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
		padding: 8px 20px 16px;
		z-index: 50;
	}

	header .main-menu.is-open {
		display: block;
	}

	header .main-menu ul {
		float: none;
	}

	header .main-menu li {
		float: none;
		width: 100%;
		padding: 0;
		border-bottom: 1px solid #F1F5F9;
	}

	header .main-menu li:last-child {
		border-bottom: none;
	}

	header .main-menu li a {
		float: none;
		display: block;
		padding: 14px 4px;
	}

	.site-search-panel form {
		flex-direction: column;
	}
}
h2, h2.sd-heading {
	color: #404040;
	font-size: 40px;
	font-weight: 500;
	margin-bottom: 22px;
}
h3 {
	font-size:22px;
}
h2.sd-heading span, h2.sd-heading strong, h2 strong {
	font-weight: 600;
}

footer {
	float: left;
	width: 100%;
	padding-top: 60px;
	background: #353853;
	padding-bottom: 0px;
}
.ft-columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 40px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ft-brand .ft-logo {
	margin-bottom: 16px;
}
.ft-brand .ft-logo img {
	width: 160px;
}
.ft-brand-desc {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
	max-width: 34ch;
}
.ft-col p {
	color: #fff;
	font-size: 13px;
	
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 16px;
}
.ft-col p strong { font-weight: 700; }
.ft-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ft-col li {
	margin-bottom: 12px;
}
.ft-col a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-weight: 500;
}
.ft-col a:hover {
	color: #fff;
}
.ft-col a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.ft-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 0 0 24px;
}
.ft-bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}
.ft-bottom a {
	color: #fff;
	text-decoration: underline;
	font-weight: 500;
}
.ft-bottom a:hover {
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
	.ft-columns {
		grid-template-columns: 1fr 1fr;
		gap: 28px 24px;
	}
	.ft-brand {
		grid-column: 1 / -1;
	}
	.ft-brand-desc {
		max-width: 48ch;
	}
}

@media (max-width: 767px) {
	.ft-columns {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.ft-brand {
		grid-column: auto;
	}
	.ft-brand-desc {
		max-width: none;
	}
	/* Each nav column's own link list splits into two side-by-side
	   sub-columns on mobile (heading stays full-width above), so a
	   6-8 link list (Tools/Guides/Resources/Company) doesn't turn into
	   an unnecessarily tall single strip. */
	.ft-col ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
		row-gap: 10px;
	}
	.ft-col li {
		margin-bottom: 0;
	}
	.ft-bottom {
		justify-content: center;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 6px;
	}
}
