
/* Developerlog Premier Header */
.dlph-root,
.dlph-root * {
	box-sizing: border-box;
}

.dlph-root {
	width: 100%;
	position: relative;
	z-index: 1;
}

.dlph-header {
	width: 100%;
	position: relative;
	background: #232347;
	color: #fff;
}

.dlph-header.dlph-sticky {
	position: sticky;
	top: 0;
}

.dlph-header-inner {
	width: 100%;
	max-width: 1440px;
	min-height: 82px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.dlph-brand {
	flex: 0 0 auto;
	min-width: 0;
	display: flex;
	align-items: center;
}

.dlph-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.dlph-logo img {
	display: block;
	width: 150px;
	max-width: 100%;
	height: auto;
	max-height: 56px;
	object-fit: contain;
}

.dlph-site-name {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.dlph-desktop-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dlph-desktop-menu,
.dlph-desktop-menu > ul,
.dlph-mobile-menu,
.dlph-mobile-menu > ul {
	margin: 0;
	padding: 0;
}

.dlph-desktop-menu > ul,
.dlph-mobile-menu > ul {
	list-style: none;
}

.dlph-desktop-menu > ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

.dlph-desktop-menu li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dlph-desktop-menu a {
	text-decoration: none !important;
}

.dlph-desktop-menu > ul > li > a {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 10px 0;
	color: #fff;
	font-family: "Sora","Poppins",sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	transition: color .2s ease;
	white-space: nowrap;
}

.dlph-desktop-menu li.menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	margin-left: 2px;
}

.dlph-desktop-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 100;
	min-width: 230px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	overflow: visible;
}

.dlph-desktop-menu li:hover > .sub-menu,
.dlph-desktop-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.dlph-desktop-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	width: 100%;
	height: 14px;
}

.dlph-desktop-menu .sub-menu li {
	position: relative;
}

.dlph-desktop-menu .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 10px 15px;
	color: #232347;
	font-family: "Poppins",sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-transform: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}

.dlph-desktop-menu .sub-menu .sub-menu {
	top: -8px;
	left: calc(100% + 4px);
}

.dlph-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.dlph-search-toggle,
.dlph-mobile-toggle,
.dlph-search-close,
.dlph-search-backdrop,
.dlph-search-submit {
	-webkit-appearance: none;
	appearance: none;
}

.dlph-search-toggle {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border: 0;
	border-radius: 50%;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	transition: background-color .2s ease, transform .2s ease;
}

.dlph-search-toggle:hover,
.dlph-search-toggle:focus-visible {
	background: #E02B4B;
	outline: none;
}

.dlph-search-toggle svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.dlph-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 24px 10px 28px;
	border: 2px solid #E02B4B;
	border-radius: 50px;
	background: #E02B4B;
	color: #fff;
	text-decoration: none !important;
	font-family: "Poppins",sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.dlph-cta:hover,
.dlph-cta:focus-visible {
	background: #fff;
	color: #E02B4B;
	outline: none;
}

.dlph-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.dlph-cta-icon svg,
.dlph-cta-icon i {
	width: 1em;
	height: 1em;
	font-size: 1em;
}

.dlph-mobile-toggle {
	display: none;
	width: 44px;
	height: 44px;
	min-width: 44px;
	border: 0;
	padding: 0;
	border-radius: 8px;
	background: #E02B4B;
	color: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.dlph-mobile-toggle span {
	display: block;
	width: 21px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.dlph-root.dlph-menu-open .dlph-mobile-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.dlph-root.dlph-menu-open .dlph-mobile-toggle span:nth-child(2) {
	opacity: 0;
}
.dlph-root.dlph-menu-open .dlph-mobile-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.dlph-mobile-menu-panel {
	display: none;
}

.dlph-editor-note {
	padding: 8px 12px;
	border: 1px dashed rgba(255,255,255,.35);
	border-radius: 6px;
	color: rgba(255,255,255,.85);
	font-size: 12px;
}

/* Search popup */
.dlph-search-popup {
	position: fixed;
	inset: 0;
	z-index: 2147482000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s ease, visibility .22s ease;
}

.dlph-search-popup.dlph-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.dlph-search-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(15,15,34,.72);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	cursor: pointer;
}

.dlph-search-panel {
	position: relative;
	width: 100%;
	background: #232347;
	padding: 78px 30px 64px;
	box-shadow: 0 22px 60px rgba(0,0,0,.25);
	transform: translateY(-24px);
	transition: transform .25s ease;
}

.dlph-search-popup.dlph-open .dlph-search-panel {
	transform: translateY(0);
}

.dlph-search-inner {
	width: min(900px, 100%);
	margin: 0 auto;
}

.dlph-search-label {
	margin: 0 0 12px;
	color: #fff;
	opacity: .72;
	font-family: "Sora","Poppins",sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .16em;
}

.dlph-search-field {
	width: 100%;
	min-height: 66px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 7px 7px 20px;
	background: #fff;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 15px;
	box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.dlph-search-field > svg {
	width: 23px;
	height: 23px;
	flex: 0 0 auto;
	fill: none;
	stroke: #232347;
	stroke-width: 2;
	stroke-linecap: round;
}

.dlph-search-input {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 7px !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	color: #232347 !important;
	box-shadow: none !important;
	font-family: "Poppins",sans-serif !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
}

.dlph-search-input::placeholder {
	color: #7e7e8c;
	opacity: 1;
}

.dlph-search-submit {
	flex: 0 0 auto;
	min-width: 128px;
	height: 50px;
	border: 0;
	border-radius: 11px;
	padding: 0 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #E02B4B;
	color: #fff;
	font-family: "Poppins",sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.dlph-search-submit svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dlph-search-close {
	position: absolute;
	top: 20px;
	right: 26px;
	width: 44px;
	height: 44px;
	min-width: 44px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 50%;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,.08);
	color: #fff;
	cursor: pointer;
}

.dlph-search-close:hover,
.dlph-search-close:focus-visible {
	background: #E02B4B;
	outline: none;
}

.dlph-search-close svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

body.dlph-body-lock {
	overflow: hidden !important;
}

/* Tablet/mobile breakpoint intentionally hard-coded in plugin CSS:
   frontend and Elementor editor use the exact same CSS. */
@media (max-width: 1024px) {
	.dlph-header-inner {
		min-height: 76px;
	}

	.dlph-desktop-nav {
		display: none !important;
	}

	.dlph-mobile-toggle {
		display: inline-flex !important;
	}

	.dlph-actions {
		margin-left: auto;
	}

	.dlph-cta:not(.dlph-mobile-cta) {
		display: none !important;
	}

	.dlph-mobile-menu-panel {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 500;
		width: 100%;
		max-height: calc(100vh - 70px);
		overflow-y: auto;
		background: #fff;
		box-shadow: 0 12px 24px rgba(0,0,0,.14);
	}

	.dlph-mobile-menu-panel[hidden] {
		display: none !important;
	}

	.dlph-mobile-menu-panel:not([hidden]) {
		display: block !important;
	}

	.dlph-mobile-menu > ul {
		display: block;
		width: 100%;
	}

	.dlph-mobile-menu li {
		position: relative;
		list-style: none;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid rgba(35,35,71,.08);
	}

	.dlph-mobile-menu li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		padding: 13px 18px;
		color: #232347;
		text-decoration: none !important;
		font-family: "Poppins",sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 1.35;
	}

	.dlph-mobile-menu .sub-menu {
		display: none;
		margin: 0;
		padding: 0;
		list-style: none;
		background: rgba(35,35,71,.035);
	}

	.dlph-mobile-menu li.dlph-submenu-open > .sub-menu {
		display: block;
	}

	.dlph-mobile-menu .sub-menu a {
		padding-left: 32px;
		font-size: .95em;
	}

	.dlph-mobile-menu li.menu-item-has-children > a {
		padding-right: 50px;
	}

	.dlph-mobile-menu .dlph-submenu-button {
		position: absolute;
		top: 4px;
		right: 8px;
		width: 38px;
		height: 38px;
		border: 0;
		padding: 0;
		border-radius: 7px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		color: #232347;
		cursor: pointer;
	}

	.dlph-mobile-menu .dlph-submenu-button::before {
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translate(-1px,-1px);
		transition: transform .2s ease;
	}

	.dlph-mobile-menu li.dlph-submenu-open > .dlph-submenu-button::before {
		transform: rotate(225deg) translate(-1px,-1px);
	}

	.dlph-mobile-cta-wrap {
		padding: 14px 18px 18px;
	}

	.dlph-mobile-cta {
		width: 100%;
	}

	.dlph-search-panel {
		padding: 70px 20px 34px;
	}
}

@media (max-width: 767px) {
	.dlph-header {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		background: #232347;
	}

	.dlph-header-inner {
		width: 100% !important;
		min-height: 70px;
		padding-left: 14px;
		padding-right: 14px;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 10px !important;
		overflow: visible !important;
	}

	.dlph-brand {
		flex: 1 1 auto;
		min-width: 0;
		max-width: calc(100% - 100px);
	}

	.dlph-logo img {
		width: 140px;
		max-width: 100%;
	}

	.dlph-actions {
		flex: 0 0 auto;
		margin-left: auto;
		gap: 6px;
	}

	.dlph-search-toggle {
		width: 40px;
		height: 40px;
		min-width: 40px;
	}

	.dlph-mobile-toggle {
		width: 44px;
		height: 44px;
		min-width: 44px;
	}

	.dlph-mobile-menu-panel {
		max-height: calc(100dvh - 70px);
	}

	.dlph-search-panel {
		padding: 66px 14px 24px;
	}

	.dlph-search-close {
		top: 14px;
		right: 14px;
		width: 40px;
		height: 40px;
		min-width: 40px;
	}

	.dlph-search-label {
		margin-bottom: 9px;
		font-size: 10px;
	}

	.dlph-search-field {
		display: grid;
		grid-template-columns: 22px minmax(0,1fr);
		gap: 8px;
		min-height: 58px;
		padding: 7px 8px 7px 14px;
		border-radius: 13px;
	}

	.dlph-search-field > svg {
		width: 21px;
		height: 21px;
	}

	.dlph-search-input {
		width: 100% !important;
		height: 43px !important;
		padding: 0 3px !important;
		font-size: 16px !important;
	}

	.dlph-search-submit {
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
		height: 47px;
		margin-top: 2px;
	}
}

/* =========================================================
   V1.1 FRONTEND SAFETY LAYER
   Prevents raw widget markup if theme/plugin styles conflict.
   ========================================================= */
.dlph-root[hidden],
.dlph-root [hidden],
.dlph-search-popup[hidden],
.dlph-mobile-menu-panel[hidden] {
	display: none !important;
}

.dlph-root {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.dlph-root .dlph-header {
	display: block !important;
	width: 100% !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.dlph-root .dlph-header-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
}

.dlph-root ul.dlph-menu-list {
	list-style: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
}

.dlph-root ul.dlph-menu-list > li {
	list-style: none !important;
}

.dlph-root svg {
	max-width: 100%;
}

.dlph-root .dlph-search-toggle svg {
	width: 22px !important;
	height: 22px !important;
}

.dlph-root .dlph-search-close svg {
	width: 21px !important;
	height: 21px !important;
}

.dlph-root .dlph-search-submit svg {
	width: 17px !important;
	height: 17px !important;
}

.dlph-root .dlph-cta-icon svg {
	width: 1em !important;
	height: 1em !important;
	max-width: 1em !important;
	max-height: 1em !important;
}

@media (max-width: 1024px) {
	.dlph-root .dlph-desktop-nav {
		display: none !important;
	}

	.dlph-root .dlph-mobile-toggle {
		display: inline-flex !important;
	}

	.dlph-root .dlph-actions {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-end !important;
	}

	.dlph-root .dlph-mobile-menu-panel:not([hidden]) {
		display: block !important;
	}
}

@media (max-width: 767px) {
	.dlph-root .dlph-header-inner {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		min-height: 70px !important;
		overflow: visible !important;
	}

	.dlph-root .dlph-brand {
		display: flex !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
		max-width: calc(100% - 96px) !important;
	}

	.dlph-root .dlph-actions {
		flex: 0 0 auto !important;
		width: auto !important;
		margin-left: auto !important;
	}

	.dlph-root .dlph-logo img {
		display: block !important;
		width: 140px;
		max-width: 100% !important;
		height: auto !important;
	}

	.dlph-root .dlph-search-popup:not([hidden]) {
		display: flex !important;
	}
}
