/**
 * Dokania theme styles.
 *
 * Deliberately small: page layout lives in Elementor. This file only covers the
 * theme widgets, the classic blog templates and a few resets Elementor does not
 * own. Colours fall back to the Elementor Global Colors so restyling the kit
 * restyles these too.
 */

:root {
	--dokania-primary: var( --e-global-color-primary, #5EBF9B );
	--dokania-secondary: var( --e-global-color-secondary, #0E1E37 );
	--dokania-text: var( --e-global-color-text, #4A4A4A );
	--dokania-accent: var( --e-global-color-accent, #34D69A );
	--dokania-surface: #F2F2F2;
	--dokania-muted: #7F7F7F;
	--dokania-wrap: 1200px;
}

/* ---------------------------------------------------------------- resets */

body {
	margin: 0;
	color: var( --dokania-text );
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

.dokania-site-content {
	display: block;
}

.dokania-wrap {
	width: 100%;
	max-width: var( --dokania-wrap );
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect( 1px, 1px, 1px, 1px );
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	background: #fff;
	color: var( --dokania-secondary );
	border-radius: 6px;
}

/* ---------------------------------------------------------------- nav menu widget */

.dokania-nav-wrap {
	position: relative;
	display: flex;
	justify-content: flex-start;
}

.dokania-nav > ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dokania-nav li {
	position: relative;
}

.dokania-nav a {
	display: block;
	color: #fff;
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.2s ease;
}

/* Submenus */

.dokania-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	display: block;
	min-width: 210px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var( --dokania-secondary );
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba( 14, 30, 55, 0.18 );
	opacity: 0;
	visibility: hidden;
	transform: translateY( 8px );
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dokania-nav li:hover > ul,
.dokania-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
}

.dokania-nav ul ul a {
	padding: 9px 20px;
	white-space: nowrap;
}

.dokania-nav-vertical > ul {
	flex-direction: column;
	align-items: stretch;
}

/* Toggle */

/* Two classes so this beats the Elementor kit's `.elementor-kit-N button` padding. */

.dokania-nav-wrap .dokania-nav-toggle {
	flex: 0 0 auto;
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 28px;
	height: 28px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.dokania-nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.dokania-nav-wrap.is-open .dokania-nav-toggle span:nth-child( 1 ) {
	transform: translateY( 7px ) rotate( 45deg );
}

.dokania-nav-wrap.is-open .dokania-nav-toggle span:nth-child( 2 ) {
	opacity: 0;
}

.dokania-nav-wrap.is-open .dokania-nav-toggle span:nth-child( 3 ) {
	transform: translateY( -7px ) rotate( -45deg );
}

@media ( max-width: 1024px ) {
	.dokania-nav-wrap.dokania-collapse-tablet .dokania-nav-toggle {
		display: flex;
	}

	.dokania-collapse-tablet .dokania-nav {
		position: absolute;
		top: calc( 100% + 16px );
		right: 0;
		z-index: 60;
		display: none;
		min-width: 240px;
		padding: 14px 20px;
		background: var( --dokania-secondary );
		border-radius: 10px;
		box-shadow: 0 20px 50px rgba( 14, 30, 55, 0.25 );
	}

	.dokania-collapse-tablet.is-open .dokania-nav {
		display: block;
	}

	.dokania-collapse-tablet .dokania-nav > ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px !important;
		justify-content: flex-start !important;
	}

	.dokania-collapse-tablet .dokania-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding: 6px 0 0 14px;
	}
}

@media ( max-width: 767px ) {
	.dokania-nav-wrap.dokania-collapse-mobile .dokania-nav-toggle {
		display: flex;
	}

	.dokania-collapse-mobile .dokania-nav {
		position: absolute;
		top: calc( 100% + 16px );
		right: 0;
		z-index: 60;
		display: none;
		min-width: 240px;
		padding: 14px 20px;
		background: var( --dokania-secondary );
		border-radius: 10px;
		box-shadow: 0 20px 50px rgba( 14, 30, 55, 0.25 );
	}

	.dokania-collapse-mobile.is-open .dokania-nav {
		display: block;
	}

	.dokania-collapse-mobile .dokania-nav > ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px !important;
		justify-content: flex-start !important;
	}
}

/* ---------------------------------------------------------------- form widget */

.dokania-form-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.dokania-form-field {
	flex: 1 1 100%;
	min-width: 0;
}

.dokania-form-grid > .dokania-col-50 {
	flex: 1 1 calc( 50% - 10px );
}

.dokania-form-grid > .dokania-col-33 {
	flex: 1 1 calc( 33.333% - 14px );
}

.dokania-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var( --dokania-secondary );
}

.dokania-form input,
.dokania-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 18px 22px;
	font: inherit;
	color: var( --dokania-secondary );
	background: var( --dokania-surface );
	border: 0;
	border-radius: 8px;
	outline-offset: 2px;
}

.dokania-form textarea {
	resize: vertical;
	min-height: 140px;
}

.dokania-form button {
	--dokania-btn-hover-bg: var( --dokania-secondary );
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 40px;
	font: inherit;
	font-weight: 600;
	color: var( --dokania-secondary );
	background: var( --dokania-primary );
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.dokania-form button:hover {
	background-color: var( --dokania-btn-hover-bg );
}

.dokania-form button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.dokania-form--block-button .dokania-form-actions,
.dokania-form--block-button .dokania-form button {
	width: 100%;
}

/* Inline (newsletter) layout: field and button sit on one row. */

.dokania-form--inline .dokania-form-grid {
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
}

.dokania-form--inline .dokania-form-field {
	flex: 1 1 auto;
}

.dokania-form--inline .dokania-form-actions {
	flex: 0 0 auto;
}

.dokania-form--inline input {
	height: 100%;
	border-radius: 0;
}

.dokania-form--inline button {
	height: 100%;
	border-radius: 0;
}

.dokania-form-message {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.5;
}

.dokania-form-message.is-success {
	color: #1B7A56;
}

.dokania-form-message.is-error {
	color: #C0392B;
}

@media ( max-width: 767px ) {
	.dokania-form-grid > .dokania-col-50,
	.dokania-form-grid > .dokania-col-33 {
		flex: 1 1 100%;
	}

	.dokania-form--inline .dokania-form-grid {
		flex-wrap: wrap;
	}

	.dokania-form--inline .dokania-form-field {
		flex: 1 1 100%;
	}
}

/* ---------------------------------------------------------------- post grid */

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

.dokania-post-card {
	display: flex;
	flex-direction: column;
	padding: 20px 20px 26px;
	background: var( --dokania-surface );
	border-radius: 10px;
}

.dokania-post-thumb {
	position: relative;
	display: block;
	width: 100%;
	padding-bottom: 60%;
	margin-bottom: 18px;
	overflow: hidden;
	border-radius: 8px;
}

.dokania-post-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dokania-post-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 15px;
	color: var( --dokania-text );
}

.dokania-post-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var( --dokania-primary );
}

.dokania-post-title {
	margin: 0 0 14px;
	font-size: 21px;
	line-height: 1.3;
	color: var( --dokania-secondary );
}

.dokania-post-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dokania-post-excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}

.dokania-post-more {
	margin-top: 16px;
	font-weight: 600;
	color: var( --dokania-primary );
	text-decoration: none;
}

.dokania-post-more span {
	margin-left: 6px;
}

@media ( max-width: 1024px ) {
	.dokania-posts {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 767px ) {
	.dokania-posts {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- classic templates */

.dokania-page-banner {
	padding: 175px 0 80px;
	background: var( --dokania-secondary );
	background-size: cover;
	background-position: center;
}

/* Out-specify the Elementor kit's `.elementor-kit-N h1` colour rule. */

.dokania-page-banner .dokania-page-banner-title {
	margin: 0;
	font-size: 48px;
	line-height: 1.2;
	color: #fff;
}

.dokania-archive,
.dokania-entry {
	padding-block: 80px;
}

.dokania-single {
	max-width: 860px;
}

.dokania-single-thumb {
	margin: 0 0 30px;
}

.dokania-single-thumb img {
	border-radius: 12px;
}

.dokania-entry h1,
.dokania-entry h2,
.dokania-entry h3,
.dokania-entry h4 {
	color: var( --dokania-secondary );
}

.dokania-entry p,
.dokania-entry li {
	line-height: 1.7;
}

.dokania-entry a {
	color: var( --dokania-primary );
}

.dokania-pagination {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.dokania-pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 10px 12px;
	margin: 0 4px;
	text-align: center;
	text-decoration: none;
	color: var( --dokania-secondary );
	background: var( --dokania-surface );
	border-radius: 6px;
}

.dokania-pagination .page-numbers.current {
	color: #fff;
	background: var( --dokania-primary );
}

.dokania-entry a.dokania-btn,
.dokania-btn {
	display: inline-block;
	padding: 16px 34px;
	font-weight: 600;
	color: var( --dokania-secondary );
	background: var( --dokania-primary );
	border-radius: 6px;
	text-decoration: none;
}

/* Fallback header/footer, only visible if the Elementor templates are missing. */

.dokania-fallback-header,
.dokania-fallback-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding-block: 24px;
	background: var( --dokania-secondary );
	color: #fff;
}

.dokania-fallback-header a,
.dokania-fallback-footer a {
	color: #fff;
	text-decoration: none;
}

@media ( max-width: 767px ) {
	.dokania-page-banner {
		padding: 130px 0 55px;
	}

	.dokania-page-banner .dokania-page-banner-title {
		font-size: 34px;
	}
}

/* ----------------------------------------------------------------
   The header floats over the hero / page banner, as in the design.
   ---------------------------------------------------------------- */

.dokania-site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 99;
}

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

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

/* Footer menu rendered with pipe separators, as in the design. */

.dokania-nav--pipes .dokania-nav > ul {
	gap: 0 0;
	row-gap: 6px;
	flex-wrap: wrap;
}

.dokania-nav--pipes .dokania-nav > ul > li + li::before {
	content: "|";
	margin: 0 18px;
	opacity: 0.45;
}

.dokania-nav--pipes .dokania-nav > ul > li {
	display: flex;
	align-items: center;
}

@media ( max-width: 767px ) {
	.dokania-nav--pipes .dokania-nav > ul > li + li::before {
		margin: 0 10px;
	}
}

/* ----------------------------------------------------------------
   Elementor content helpers
   ---------------------------------------------------------------- */

/* Let container gaps control vertical rhythm instead of stray <p> margins. */

.elementor-widget-text-editor p:first-child {
	margin-top: 0;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/*
 * Makes an Image widget fill the height of its container, cropping to cover.
 * Add the class to the widget and set the height on the parent container, so
 * the crop stays adjustable from the Elementor panel.
 */

/*
 * The parent container is a column flex, so height is the MAIN axis:
 * align-items:stretch does not size it. The widget has to grow instead, and the
 * chain down to the <img> grows with it. The selectors out-specify Elementor's
 * own `.e-con > .elementor-widget` sizing rule.
 */

.e-con > .elementor-widget.dokania-media-fill,
.e-con-inner > .elementor-widget.dokania-media-fill {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
}

.dokania-media-fill .elementor-widget-container,
.dokania-media-fill .elementor-image,
.dokania-media-fill figure,
.dokania-media-fill a {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	margin: 0;
}

.dokania-media-fill img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Long unbroken strings (emails, URLs) must wrap inside narrow cards. */

.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
	overflow-wrap: break-word;
}

/* In-page links (Investment Solutions, Insurance) land with a little breathing room. */

html {
	scroll-behavior: smooth;
}

[id="investment-solutions"],
[id="insurance"],
[id="platforms"],
[id="mutual-fund-companies"],
[id="wealth-elite"] {
	scroll-margin-top: 24px;
}

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}
}

/*
 * Partner / company logo grid. Tiles show the name in type until the approved
 * logo files arrive; drop an Image widget into a tile to swap it.
 */

.dokania-logo-tile {
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.dokania-logo-tile:hover {
	border-color: var( --dokania-primary ) !important;
	box-shadow: 0 14px 34px rgba( 14, 30, 55, 0.08 );
	transform: translateY( -2px );
}

.dokania-logo-tile img {
	max-height: 64px;
	width: auto;
	object-fit: contain;
}

/* Service / solution cards: a quiet lift on hover. */

.dokania-card-lift {
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.dokania-card-lift:hover {
	box-shadow: 0 18px 40px rgba( 14, 30, 55, 0.08 );
	transform: translateY( -3px );
}

/* ----------------------------------------------------------------
   Home: full-width Technology / Wealth Elite band
   ---------------------------------------------------------------- */

.dokania-tech-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/*
 * Soft green glow behind the copy. `.e-con.` prefix: Elementor uses every
 * container's ::before for its background overlay and would otherwise win.
 */
.e-con.dokania-tech-band::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 1;
	mix-blend-mode: normal;
	border-radius: 0;
	pointer-events: none;
	background:
		radial-gradient( circle at 6% 10%, rgba( 94, 191, 155, 0.16 ), transparent 30% ),
		radial-gradient( circle at 0% 100%, rgba( 52, 214, 154, 0.07 ), transparent 26% );
}

/* Faint dot grid that fades out towards the photo. */
.e-con.dokania-tech-band::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 55%;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient( rgba( 255, 255, 255, 0.08 ) 1px, transparent 1px );
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient( 90deg, #000 0%, transparent 85% );
	mask-image: linear-gradient( 90deg, #000 0%, transparent 85% );
}

.dokania-tech-band > .e-con {
	position: relative;
	z-index: 1;
}

/* Photo fades into the navy instead of meeting it at a hard edge. */
.dokania-tech-media {
	position: relative;
}

.e-con.dokania-tech-media::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 1;
	mix-blend-mode: normal;
	border-radius: 0;
	pointer-events: none;
	background:
		linear-gradient( 90deg, #0E1E37 0%, rgba( 14, 30, 55, 0.8 ) 14%, rgba( 14, 30, 55, 0.25 ) 45%, rgba( 14, 30, 55, 0 ) 68% ),
		linear-gradient( 0deg, #0E1E37 0%, rgba( 14, 30, 55, 0 ) 26% ),
		linear-gradient( 180deg, rgba( 14, 30, 55, 0.7 ) 0%, rgba( 14, 30, 55, 0 ) 22% ),
		linear-gradient( rgba( 14, 30, 55, 0.22 ), rgba( 14, 30, 55, 0.22 ) );
}

.dokania-tech-media > .dokania-tech-badge-wrap {
	position: absolute;
	left: 56px;
	bottom: 56px;
	z-index: 2;
	width: auto;
}

.dokania-tech-badge {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 22px 14px 14px;
	color: #fff;
	background: rgba( 14, 30, 55, 0.55 );
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	border-radius: 14px;
	-webkit-backdrop-filter: blur( 10px );
	backdrop-filter: blur( 10px );
	box-shadow: 0 18px 40px rgba( 0, 0, 0, 0.3 );
}

.dokania-tech-badge__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var( --dokania-secondary );
	background: var( --dokania-primary );
	border-radius: 10px;
}

.dokania-tech-badge__text {
	display: grid;
	gap: 2px;
	line-height: 1.3;
}

.dokania-tech-badge__text strong {
	font-size: 16px;
	font-weight: 600;
}

.dokania-tech-badge__text small {
	font-size: 13px;
	color: #B9C4D2;
}

.dokania-tech-feature {
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.dokania-tech-feature:hover {
	background-color: rgba( 255, 255, 255, 0.07 ) !important;
	border-color: rgba( 94, 191, 155, 0.5 ) !important;
}

/* Eyebrow preceded by a short green rule. */
.dokania-eyebrow-line .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.dokania-eyebrow-line .elementor-heading-title::before {
	content: "";
	width: 30px;
	height: 2px;
	background: var( --dokania-primary );
	border-radius: 2px;
}

@media ( max-width: 1024px ) {
	.e-con.dokania-tech-band::after {
		width: 100%;
	}

	.e-con.dokania-tech-media::before {
		background:
			linear-gradient( 180deg, #0E1E37 0%, rgba( 14, 30, 55, 0 ) 38% ),
			linear-gradient( 0deg, #0E1E37 0%, rgba( 14, 30, 55, 0 ) 30% ),
			linear-gradient( rgba( 14, 30, 55, 0.22 ), rgba( 14, 30, 55, 0.22 ) );
	}

	.dokania-tech-media > .dokania-tech-badge-wrap {
		left: 20px;
		bottom: 20px;
	}
}

/* ----------------------------------------------------------------
   Contact page: navy info panel, form card, map
   ---------------------------------------------------------------- */

.e-con.dokania-contact-panel {
	position: relative;
	isolation: isolate;
}

.e-con.dokania-contact-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 1;
	mix-blend-mode: normal;
	border-radius: 0;
	pointer-events: none;
	background:
		radial-gradient( circle at 0% 0%, rgba( 94, 191, 155, 0.22 ), transparent 45% ),
		radial-gradient( circle at 100% 100%, rgba( 52, 214, 154, 0.08 ), transparent 40% );
}

.e-con.dokania-contact-panel > .elementor-element {
	position: relative;
	z-index: 1;
}

.dokania-contact-panel .elementor-widget-text-editor a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dokania-contact-panel .elementor-widget-text-editor a:hover,
.dokania-contact-panel .elementor-widget-text-editor a:focus-visible {
	color: var( --dokania-primary );
}

.dokania-contact-item .elementor-widget-text-editor {
	overflow-wrap: break-word;
}

.dokania-map .elementor-custom-embed,
.dokania-map iframe {
	display: block;
	border-radius: 16px;
}

.dokania-map .elementor-custom-embed {
	overflow: hidden;
	box-shadow: 0 24px 60px rgba( 14, 30, 55, 0.12 );
}

/* Card photo sits flush at the top of the card and eases in on hover. */

.dokania-card-media {
	overflow: hidden;
	line-height: 0;
}

.dokania-card-media img {
	display: block;
	transition: transform 0.5s ease;
}

.dokania-card-lift:hover .dokania-card-media img {
	transform: scale( 1.04 );
}

@media ( prefers-reduced-motion: reduce ) {
	.dokania-logo-tile,
	.dokania-card-lift,
	.dokania-card-media img {
		transition: none;
	}

	.dokania-card-lift:hover .dokania-card-media img {
		transform: none;
	}

	.dokania-logo-tile:hover,
	.dokania-card-lift:hover {
		transform: none;
	}
}

/* ----------------------------------------------------------------
   Service enquiry popup (MetForm inside a theme modal)
   ---------------------------------------------------------------- */

html.dokania-enquiry-open {
	overflow: hidden;
}

.dokania-enquiry {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.dokania-enquiry[hidden] {
	display: none;
}

.dokania-enquiry__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 9, 18, 34, 0.62 );
	backdrop-filter: blur( 3px );
	opacity: 0;
	transition: opacity 0.22s ease;
}

.dokania-enquiry__dialog {
	position: relative;
	display: grid;
	grid-template-columns: 300px minmax( 0, 1fr );
	width: 100%;
	max-width: 920px;
	max-height: calc( 100vh - 48px );
	overflow: hidden;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba( 9, 18, 34, 0.35 );
	opacity: 0;
	transform: translateY( 14px ) scale( 0.985 );
	transition: opacity 0.22s ease, transform 0.22s ease;
	outline: none;
}

.dokania-enquiry.is-open .dokania-enquiry__overlay,
.dokania-enquiry.is-open .dokania-enquiry__dialog {
	opacity: 1;
}

.dokania-enquiry.is-open .dokania-enquiry__dialog {
	transform: none;
}

/* Close button: two-class selector beats the kit's `.elementor-kit-N button`. */

.dokania-enquiry .dokania-enquiry__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	background: #F2F4F6;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.dokania-enquiry .dokania-enquiry__close:hover,
.dokania-enquiry .dokania-enquiry__close:focus-visible {
	background: var( --dokania-mint, #A6DFC7 );
}

.dokania-enquiry__close span,
.dokania-enquiry__close span::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: var( --dokania-secondary );
	border-radius: 2px;
	transform: translate( -50%, -50% ) rotate( 45deg );
}

.dokania-enquiry__close span::before {
	content: "";
	transform: translate( -50%, -50% ) rotate( 90deg );
}

/* Left panel */

.dokania-enquiry__aside {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 40px 32px;
	color: #C9D2DE;
	background:
		radial-gradient( circle at 0% 100%, rgba( 94, 191, 155, 0.22 ), transparent 55% ),
		var( --dokania-secondary );
}

.dokania-enquiry__logo img {
	display: block;
	width: 190px;
	height: auto;
}

.dokania-enquiry__aside-title {
	margin: 10px 0 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.dokania-enquiry__points {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.5;
}

.dokania-enquiry__points li {
	position: relative;
	padding-left: 30px;
}

.dokania-enquiry__points li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	background: var( --dokania-primary );
	border-radius: 50%;
}

.dokania-enquiry__points li::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 6px;
	width: 5px;
	height: 8px;
	border: solid var( --dokania-secondary );
	border-width: 0 2px 2px 0;
	transform: rotate( 45deg );
}

.dokania-enquiry__contact {
	display: grid;
	gap: 6px;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
	font-size: 14px;
}

.dokania-enquiry__contact-label {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var( --dokania-primary );
}

.dokania-enquiry__contact a {
	color: #fff;
	text-decoration: none;
	overflow-wrap: break-word;
}

.dokania-enquiry__contact a:hover {
	color: var( --dokania-primary );
}

/* Right: heading + form */

.dokania-enquiry__main {
	padding: 40px 40px 30px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.dokania-enquiry__eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var( --dokania-secondary );
}

.dokania-enquiry .dokania-enquiry__title {
	margin: 0 48px 8px 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var( --dokania-secondary );
}

.dokania-enquiry__intro {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var( --dokania-text );
}

.dokania-enquiry__privacy {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	color: var( --dokania-muted );
}

/* Thank-you state shown after a successful submit. */

.dokania-enquiry__done {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	text-align: center;
}

.dokania-enquiry__done[hidden],
.dokania-enquiry__step[hidden] {
	display: none;
}

.dokania-enquiry__done .dokania-enquiry__title {
	margin: 18px 0 8px;
	outline: none;
}

.dokania-enquiry__done .dokania-enquiry__intro {
	max-width: 360px;
}

.dokania-enquiry__done-icon {
	position: relative;
	width: 72px;
	height: 72px;
	background: #EEF8F3;
	border-radius: 50%;
}

.dokania-enquiry__done-icon::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 28px;
	width: 14px;
	height: 24px;
	border: solid var( --dokania-primary );
	border-width: 0 4px 4px 0;
	transform: rotate( 45deg );
}

.dokania-enquiry .dokania-enquiry__done-close {
	padding: 15px 44px;
	font: inherit;
	font-weight: 600;
	color: var( --dokania-secondary );
	background: var( --dokania-primary );
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.dokania-enquiry .dokania-enquiry__done-close:hover,
.dokania-enquiry .dokania-enquiry__done-close:focus-visible {
	color: #fff;
	background: var( --dokania-secondary );
}

/* MetForm details the widget panel cannot reach. */

:is( .dokania-enquiry, .dokania-mf ) .mf_select__control {
	min-height: 48px;
	background: #F7F9FA;
	border-color: #DDE3EA;
	border-radius: 8px;
	box-shadow: none;
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__control--is-focused,
:is( .dokania-enquiry, .dokania-mf ) .mf_select__control:hover {
	background: #fff;
	border-color: var( --dokania-primary );
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__value-container {
	padding: 0 14px;
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__placeholder {
	color: #8A94A3;
	font-size: 14px;
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__single-value {
	color: var( --dokania-secondary );
	font-size: 15px;
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__indicator-separator {
	display: none;
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__menu {
	z-index: 5;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba( 14, 30, 55, 0.16 );
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__option {
	padding: 11px 16px;
	font-size: 15px;
	color: var( --dokania-secondary );
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__option--is-focused {
	background: #EEF8F3;
}

:is( .dokania-enquiry, .dokania-mf ) .mf_select__option--is-selected {
	background: var( --dokania-primary );
	color: var( --dokania-secondary );
}

.dokania-enquiry .metform-btn {
	transition: background-color 0.25s ease, color 0.25s ease;
}

.dokania-enquiry .mf-success-res,
.dokania-enquiry .mf-main-response-wrap {
	font-family: inherit;
}

@media ( max-width: 860px ) {
	.dokania-enquiry {
		padding: 0;
		align-items: stretch;
	}

	.dokania-enquiry__dialog {
		grid-template-columns: 1fr;
		max-height: none;
		height: 100%;
		border-radius: 0;
	}

	.dokania-enquiry__aside {
		display: none;
	}

	.dokania-enquiry__main {
		padding: 30px 20px 28px;
	}

	.dokania-enquiry .dokania-enquiry__title {
		font-size: 24px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.dokania-enquiry__overlay,
	.dokania-enquiry__dialog {
		transition: none;
	}
}

/* Search form on the 404 and search-results templates. */

.dokania-entry .search-form,
.dokania-archive .search-form {
	display: flex;
	gap: 10px;
	max-width: 460px;
	margin-bottom: 26px;
}

.dokania-entry .search-form label,
.dokania-archive .search-form label {
	flex: 1 1 auto;
}

.dokania-entry .search-field,
.dokania-archive .search-field {
	width: 100%;
	box-sizing: border-box;
	padding: 15px 18px;
	font: inherit;
	color: var( --dokania-secondary );
	background: var( --dokania-surface );
	border: 0;
	border-radius: 6px;
}

.dokania-entry .search-submit,
.dokania-archive .search-submit {
	padding: 15px 26px;
	font: inherit;
	font-weight: 600;
	color: var( --dokania-secondary );
	background: var( --dokania-primary );
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}
