/*
Theme Name: D3 Lite
Author: Vinit Sharma, d3logics
Author URI: https://profiles.wordpress.org/vinit-sharma/
Description: d3 Lite is a fast, lightweight and multipurpose WordPress theme built for speed. It works beautifully with every major page builder (Elementor, Beaver Builder, Brizy and the block editor), ships with a clean accessible mobile menu, and gives you just the options you need — logo, colors, layout width, sidebar and typography — with no bloat.
Version: 1.0.1
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: d3-lite
Tags: blog, e-commerce, custom-menu, custom-logo, custom-background, custom-colors, editor-style, featured-images, footer-widgets, full-width-template, right-sidebar, left-sidebar, threaded-comments, translation-ready, block-styles, wide-blocks, sticky-post

d3 Lite, (C) 2026 d3logics, GPL v2 or later.
*/
/* ============================ Fonts ============================ */

/* Manrope fonts family */

@font-face { 
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url("assets/fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* MuseoSans fonts family */

@font-face{
    font-family: 'MuseoSans';
    src: url("assets/fonts/MuseoSansCyrl.otf") format("opentype");
	font-weight: 100;
	font-style: normal;
}
@font-face{
    font-family: 'MuseoSans';
    src: url("assets/fonts/MuseoSansCyrl_0.otf") format("opentype");
	font-weight: 300;
	font-style: normal;
}
@font-face{
    font-family: 'MuseoSans';
    src: url("assets/fonts/MuseoSansCyrl_1.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
}
@font-face{
    font-family: 'MuseoSans';
    src: url("assets/fonts/MuseoSansCyrl_2.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
}
@font-face{
    font-family: 'MuseoSans';
    src: url("assets/fonts/MuseoSansCyrl_3.otf") format("opentype");
	font-weight: 900;
	font-style: normal;
}

/* Roboto fonts family */

@font-face{
    font-family: 'Roboto'; 
    src: url("assets/fonts/Robotothin.ttf") format("truetype");
	font-weight: 100;
	font-style: normal;
}
@font-face{
    font-family: 'Roboto'; 
    src: url("assets/fonts/Robotolight.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
}
@font-face{
    font-family: 'Roboto'; 
    src: url("assets/fonts/Roboto.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}
@font-face{
    font-family: 'Roboto'; 
    src: url("assets/fonts/Robotomedium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
}
@font-face{
    font-family: 'Roboto'; 
    src: url("assets/fonts/Robotobold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}
@font-face{
    font-family: 'Roboto';
    src: url("assets/fonts/Robotoblack.ttf") format("truetype");
	font-weight: 900;
	font-style: normal;
}

/* ============================ Variables ============================ */
:root {
	--d3-container: 1200px;
	--d3-sidebar-width: 30%;
	--d3-primary: #2563eb;
	--d3-text: #2b2b2b;
	--d3-heading: #15171a;
	--d3-border: #e6e8ec;
	--d3-muted: #6b7280;
	--d3-radius: 8px;
	--d3-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--d3-font-size: 17px;
	--d3-heading-font: var(--d3-font);
}

/* ============================ Reset / base ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Manrope';
	font-size: var(--d3-font-size);
	line-height: 1.7;
	color: var(--d3-text);
	background: #fff;
}
img, embed, object, video { max-width: 100%; height: auto; }
a { color: var(--d3-primary); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: 'Manrope'; color: var(--d3-heading); line-height: 1.25; margin: 0 0 .5em; }
p, ul, ol, blockquote, pre, table { margin: 0px 0px 15px 0px; }
blockquote { border-left: 4px solid var(--d3-primary); padding-left: 1em; color: var(--d3-muted); }
hr { border: 0; border-top: 1px solid var(--d3-border); margin: 2em 0; }
:focus-visible { outline: 2px solid var(--d3-primary); outline-offset: 2px; }

/* ============================ Layout ============================ */
.d3-container { width: 100%; max-width: var(--d3-container); margin: 0 auto; padding: 0 20px; }
.site-content { padding: 60px 0; }
.site-content.white { background-color: #ffffff; }
.site-content.gray { background-color: #F2F2F2; }
.content-area { display: flex; gap: 40px; align-items: flex-start; }
.content-main { flex: 1 1 auto; min-width: 0; }
.widget-area { flex: 0 0 var(--d3-sidebar-width); }
body.d3-no-sidebar .widget-area { display: none; }
body.d3-no-sidebar .content-main { width: 100%; }
body.d3-sidebar-left .content-area { flex-direction: row-reverse; }

/* Full-width / page-builder templates: no container padding, no sidebar */
.d3-builder .site-content { padding: 0; }
.d3-builder .content-area { display: block; }
.d3-builder .d3-container { max-width: 100%; padding: 0; }

/* ============================ Header ============================ */
.site-header { 
	/* border-bottom: 1px solid #ff0076; */
    /* background: #fff; */
    /* border-bottom: 1px solid #ffffff; */
	transition: background-color 0.5s ease-in-out, color 1s ease-in-out;
	background-color: transparent;
    margin-bottom: -70px;
    position: sticky;
	top: 0;
    z-index: 100;
}
.site-header p.site-title a{color: #ffffff; text-decoration: none; cursor: pointer;}
.site-header p.site-description{color: #ffffff; text-decoration: none; cursor: pointer;}
.site-header .main-navigation a{color: #ffffff;}
.site-header .main-navigation ul.sub-menu a{color: #15171a;}

.site-header.scrolled { 
    background-color: #ffffff;
    margin-bottom: 0px;
    position: sticky;
	top: 0px;
    z-index: 100;
	box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 0.1);
	/* color: #15171a; */
}

.site-header.scrolled p.site-title a{color: #15171a; text-decoration: none; cursor: pointer;}
.site-header.scrolled p.site-description{color: #2e2e2e; text-decoration: none; cursor: pointer;}
.site-header.scrolled .main-navigation a{color: #15171a;}
.site-header.scrolled .current-menu-item > a{background: rgba(37,99,235,.06);}

.site-header.is-sticky { position: sticky; top: 0; z-index: 100; }
.d3-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.custom-logo-link img { display: block; max-height: 48px; width: auto; }
.site-title { font-size: 1.4rem; margin: 0;  font-family: 'MuseoSans'; }
.site-title a { color: var(--d3-heading); }
.site-description { margin: 0; font-size: .85rem; color: var(--d3-muted); }

@media (max-width: 921px) {
	.site-header {background: #fff;}
	.site-header.scrolled{top: 0px;}
	.site-header p.site-title a{color: #15171a; text-decoration: none; cursor: pointer;}
	.site-header p.site-description{color: #2e2e2e; text-decoration: none; cursor: pointer;}
	.site-header .main-navigation a{color: #15171a;}	
}


/* ============================ Navigation ============================ */
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px;  font-family: 'MuseoSans'; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 10px 14px; color: var(--d3-heading); font-weight: 500; border-radius: var(--d3-radius); }
.main-navigation a:hover, .main-navigation .current-menu-item > a { /* color: #2563eb; */ color: #f17e18; text-decoration: none;}
.site-header.scrolled .main-navigation a:hover{background: rgba(37,99,235,.06);}
/* Desktop dropdown sub-menus only (mobile uses the slide-in drill-down) */
@media (min-width: 922px) {
	.main-navigation ul ul {
		display: block; position: absolute; left: 0; top: 100%;
		min-width: 200px; background: #fff; border: 1px solid var(--d3-border);
		border-radius: var(--d3-radius); box-shadow: 0 10px 30px rgba(0,0,0,.08);
		padding: 6px; flex-direction: column; gap: 2px;
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 50;
	}
	.main-navigation li:hover > ul, .main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
	.main-navigation ul ul ul { left: 100%; top: 0; }
}

/* On desktop the panel is just a transparent wrapper around the menu */
.d3-menu-panel { display: contents; }
.d3-menu-close, .d3-mobile-contact, .d3-submenu-toggle { display: none; }
.d3-menu-overlay { display: none; }

.menu-toggle {
	display: none; align-items: center; gap: 8px;
	background: none; border: 1px solid var(--d3-border); border-radius: 5px;
	padding: 15px 12px; cursor: pointer; font: inherit; color: var(--d3-heading);
}
.menu-toggle .bars { width: 20px; height: 2px; background: #15171a; position: relative; display: block; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #15171a; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }

.menu-toggle:hover .bars, .menu-toggle:hover .bars::before, .menu-toggle:hover .bars::after{background: #f17e18;}

@media (max-width: 921px) {
	.menu-toggle { display: inline-flex; }
	.site-header { position: relative; }

	/* Off-canvas slide-in panel */
	.d3-menu-panel {
		display: block;
		position: fixed; top: 0; right: 0; bottom: 0;
		width: min(330px, 86vw);
		background: #fff;
		z-index: 1000;
		padding: 64px 22px 24px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .28s ease;
		box-shadow: -12px 0 40px rgba(0,0,0,.18);
	}
	.main-navigation.toggled .d3-menu-panel { transform: none; }

	.d3-menu-panel .menu { display: flex; flex-direction: column; gap: 2px; }
	.main-navigation a { padding: 12px 12px; border-bottom: 1px solid var(--d3-border); border-radius: 0; }

	/* Mobile sub-menu: slide-in drill-down with back button */
	.main-navigation .menu li { position: relative; }
	.main-navigation .menu .menu-item-has-children > a { padding-right: 46px; }
	.d3-submenu-toggle {
		position: absolute; top: 0; right: 0; width: 46px; height: 47px;
		background: none; border: 0; cursor: pointer; display: inline-flex;
		align-items: center; justify-content: center; color: var(--d3-heading);
	}
	.d3-caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

	/* Each sub-menu becomes a full panel that slides in from the right */
	.main-navigation .menu .sub-menu {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw);
		background: #fff; z-index: 1001; display: block;
		padding: 8px 22px 24px; overflow-y: auto;
		transform: translateX(100%); transition: transform .28s ease;
		box-shadow: -12px 0 40px rgba(0,0,0,.18);
		opacity: 1; visibility: visible; border: 0; min-width: 0;
	}
	.main-navigation .menu .sub-menu.is-active { transform: none; }
	.main-navigation .menu .sub-menu .sub-menu { z-index: 1002; }
	.main-navigation .menu .sub-menu .sub-menu .sub-menu { z-index: 1003; }

	/* Back row */
	.d3-submenu-back-wrap { position: relative; }
	.d3-submenu-back {
		display: flex; align-items: center; gap: 10px; width: 100%;
		background: none; border: 0; border-bottom: 2px solid var(--d3-border);
		padding: 14px 4px; cursor: pointer; font: inherit; font-weight: 700;
		color: var(--d3-primary); text-align: left;
	}
	.d3-back-caret { width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }

	/* Close button (stays above sliding sub-menus) */
	.d3-menu-close {
		display: block; position: absolute; top: 12px; right: 14px; z-index: 1100;
		width: 40px; height: 40px; border: 0; background: rgba(0,0,0,.05);
		border-radius: 50%; font-size: 26px; line-height: 1; color: var(--d3-heading); cursor: pointer;
		padding: 8px 10px 20px 10px;
	}
	.d3-menu-close:hover { background: rgba(0,0,0,.1); }

	/* Contact block */
	.d3-mobile-contact { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--d3-border); }
	.d3-contact-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--d3-heading); font-weight: 600; text-decoration: none; }
	.d3-contact-item:hover { color: var(--d3-primary); }
	.d3-contact-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(37,99,235,.1); color: var(--d3-primary); font-size: 16px; }

	/* Overlay + body lock */
	.d3-menu-overlay {
		display: block; position: fixed; inset: 0; z-index: 999;
		background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s;
	}
	body.d3-menu-open .d3-menu-overlay { opacity: 1; visibility: visible; }
	body.d3-menu-open { overflow: hidden; }
}

/* ============================ Content ============================ */
.entry-header { margin-bottom: 20px; }
.entry-title { font-size: 2rem; }
.entry-meta { color: var(--d3-muted); font-size: .9rem; margin-bottom: 10px; }
.entry-meta a { color: var(--d3-muted); }
.post-thumbnail { display: block; margin-bottom: 20px; }
.post-thumbnail img { width: 100%; border-radius: var(--d3-radius); }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content a { text-decoration: underline; }

/* Blog list */
.d3-post { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--d3-border); }
.d3-post:last-child { border-bottom: 0; }
.d3-post .entry-title { font-size: 1.6rem; }
.d3-post .entry-title a { color: var(--d3-heading); }
.d3-read-more { display: inline-block; margin-top: 6px; font-weight: 600; }

/* Blog grid option */
body.d3-blog-grid .d3-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
body.d3-blog-grid .d3-post { border: 1px solid var(--d3-border); border-radius: var(--d3-radius); padding: 0; overflow: hidden; margin: 0; }
body.d3-blog-grid .d3-post .post-thumbnail { margin: 0; }
body.d3-blog-grid .d3-post .post-thumbnail img { border-radius: 0; }
body.d3-blog-grid .d3-post .d3-post-body { padding: 18px 20px 22px; }
@media (max-width: 680px) { body.d3-blog-grid .d3-posts { grid-template-columns: 1fr; } }

/* ============================ Buttons / forms ============================ */
.d3-btn, button, input[type="submit"], .wp-block-button__link {
	display: inline-block; background: var(--d3-primary); color: #fff; border: 0;
	padding: 11px 20px; border-radius: var(--d3-radius); font-weight: 600; cursor: pointer; text-decoration: none;
}
.d3-btn:hover, button:hover, input[type="submit"]:hover { /* filter: brightness(.94); */ text-decoration: none; color: #fff; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea, select {
	width: 100%; max-width: 100%; padding: 5px 15px; border: 1px solid #e6e8ec;
	border-radius: 5px; font: inherit; background: #fff; color: #1f241f;;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
	outline: none; box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
}

input[type="text"]:active, input[type="email"]:active, input[type="url"]:active, input[type="password"]:active, input[type="search"]:active, input[type="number"]:active, input[type="tel"]:active, textarea:active, select:active {
	outline: none; box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
}

/* ============================ Widgets ============================ */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 1.1rem; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--d3-primary); display: inline-block; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--d3-border); }

/* ============================ Footer ============================ */
.site-footer { border-top: 1px solid var(--d3-border); background: var(--d3-footer-bg, #0f1115); color: var(--d3-footer-color, #c7cbd2); padding: 20px 0; margin-top: 40px; }
.site-footer a { color: #fff; }
.d3-footer-widgets { display: grid; grid-template-columns: repeat(var(--d3-footer-cols, 3), 1fr); gap: 32px; margin-bottom: 24px; }
.site-footer .widget-title { color: #fff; border-color: var(--d3-primary); }
.site-footer .widget ul li { border-color: rgba(255,255,255,.1); }
.d3-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .9rem; }
@media (max-width: 782px) { .d3-footer-widgets { grid-template-columns: 1fr; } }

/* ============================ Pagination / misc ============================ */
.d3-pagination { margin-top: 30px; }
.d3-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.d3-pagination li { margin: 0; }
.d3-pagination a.page-numbers,
.d3-pagination span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--d3-border); border-radius: var(--d3-radius);
	color: var(--d3-heading); text-decoration: none; font-weight: 600; line-height: 1;
}
.d3-pagination a.page-numbers:hover { background: rgba(37,99,235,.08); border-color: var(--d3-primary); color: var(--d3-primary); }
.d3-pagination span.page-numbers.current { background: var(--d3-primary); color: #fff; border-color: var(--d3-primary); }
.d3-pagination span.page-numbers.dots { border-color: transparent; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	position: absolute !important; word-wrap: normal !important;
	display: none;
}
.screen-reader-text:focus {
	background-color: #fff; border-radius: 4px;
	box-shadow: 0 0 2px 2px rgba(0,0,0,.2);
	clip: auto !important; clip-path: none;
	color: var(--d3-primary); display: block;
	font-size: 1rem; font-weight: 700;
	height: auto; left: 10px; line-height: normal;
	padding: 14px 22px; text-decoration: none; top: 10px;
	width: auto; z-index: 100000;
}
.skip-link { position: absolute; left: -9999px; top: 0; display: none;}

/* Alignments for block/builder content */
.alignwide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

@media (max-width: 921px) {
	.content-area { display: block; }
	.widget-area { margin-top: 40px; }
}

/* ============================ Custom header & footer ============================ */

/* Top bar */
.d3-topbar { background: var(--d3-heading); color: #fff; font-size: .85rem; }
.d3-topbar a { color: #fff; text-decoration: none; }
.d3-topbar a:hover { opacity: .8; text-decoration: none; }
.d3-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.d3-topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }

/* Social icons */
.d3-social { display: inline-flex; gap: 8px; align-items: center; }
.d3-social-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: inherit; transition: .15s; }
.d3-social-link:hover { background: rgba(255,255,255,.15); color: #fff; }
.d3-social.is-footer .d3-social-link:hover { background: var(--d3-primary); }

/* Header right group */
.d3-header-right { display: flex; align-items: center; gap: 10px; }

/* Search */
.d3-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--d3-border); background: none; border-radius: var(--d3-radius); color: var(--d3-heading); cursor: pointer; }
.d3-search-toggle:hover { color: var(--d3-primary); border-color: var(--d3-primary); }
.d3-search-panel { border-top: 1px solid var(--d3-border); background: #fff; padding: 16px 0; }
.d3-search-panel form { display: flex; gap: 8px; }

/* Header button */
.d3-header-btn { white-space: nowrap; }

/* Centered header layout */
body.d3-header-centered .d3-header-inner { flex-direction: column; gap: 12px; min-height: 0; padding-top: 16px; padding-bottom: 8px; text-align: center; }
body.d3-header-centered .site-branding { flex-direction: column; gap: 6px; }
body.d3-header-centered .d3-header-right { justify-content: center; }
@media (max-width: 921px) {
	body.d3-header-centered .d3-header-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Transparent header (desktop) */
@media (min-width: 922px) {
	body.d3-transparent-header .site-header {
		position: absolute; left: 0; right: 0; top: var(--d3-tt, 0);
		background: transparent; border-bottom-color: rgba(255,255,255,.2); z-index: 50;
	}
	body.d3-transparent-header.admin-bar .site-header { top: 32px; }
	body.d3-transparent-header .site-title a,
	body.d3-transparent-header .main-navigation a { color: #fff; }
	body.d3-transparent-header .site-content { padding-top: 0; }
}

/* Footer extras */
.d3-footer-social { display: flex; justify-content: center; margin-bottom: 20px; }
.d3-footer-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.d3-footer-bottom.d3-align-center { justify-content: center; text-align: center; }
.d3-footer-bottom.d3-align-left { justify-content: flex-start; }
.d3-footer-bottom.d3-align-right { justify-content: flex-end; }
.d3-footer-bottom.d3-align-split { justify-content: space-between; }
.d3-footer-menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.d3-footer-menu a { color: var(--d3-footer-color, #c7cbd2); text-decoration: none; }
.d3-footer-menu a:hover { color: #fff; }
@media (max-width: 600px) { .d3-footer-bottom { justify-content: center; text-align: center; } }

/* Back to top */
.d3-to-top {
	/*position: fixed; right: 20px; bottom: 20px; z-index: 200;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: #f17e18; color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; transform: translateY(10px);
	transition: opacity .25s, transform .25s;*/
	position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f17e18;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 18px rgb(0 0 0 / 20%);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s;
    justify-content: space-evenly;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.d3-to-top.is-visible { opacity: 1; transform: none; }

@media (max-width: 921px) {
	.d3-topbar-inner { justify-content: center; }
	.d3-topbar-right { display: none; }
	.d3-header-btn { display: none; }
}

div.d3-container.footer-soc{
	display: flex;
    flex-direction: row;
    justify-content: space-between;
	margin-bottom: 20px;
	padding: 0px;
}

div.footer-soc-left, div.footer-soc-right{
	width: 45%;
	height: auto;
	/* background-color: #2e2e2e; */
	padding: 20px;
	border-radius: 20px;
    min-width: 0;
}

div.footer-soc-left p{
	display: inline-block;
	width: 80%;
	height: 25px;
	padding-left: 35px;
	/*font-family: 'MuseoSans';*/
    /*font-family: 'Roboto';*/
    font-family: 'Manrope';
	font-size: 16px;
    font-weight: 400;
    color: #c7cbd2;
	line-height: 1.5;
	margin-bottom: 10px;
}
p.location-soc{background: url(img/icon/location.png) no-repeat left center / 25px 25px;}
p.mail-soc{background: url(img/icon/mail.png) no-repeat left center / 25px 25px;}
p.phone-soc{background: url(img/icon/phone.png) no-repeat left center / 25px 25px;}
p.work-soc{background: url(img/icon/work.png) no-repeat left center / 25px 25px;}

div.footer-soc-left p a{color: #c7cbd2;}
div.footer-soc-left p a:hover{color: #f17e18; text-decoration: none; transition: all 0.5s ease-in-out;}
div.footer-soc-left p a:active, div.footer-soc-left p a:focus{text-decoration: none;}

.footer-soc-right h2, .footer-soc-left h2{
	font-family: 'Manrope';
	font-size: 20px;
    font-weight: 500;
	color: #ffffff;
	padding-left: 10px;
	margin-bottom: 20px;
	border-left: 2px solid #f17e18;	
}

.footer-soc-right div.social-flex{
	width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
	/*margin-left: -25px;
	margin-bottom: 15px;*/
}
.footer-soc-right div.social-flex a{margin-right: 30px;}

div.footer-soc-right p{
	display: inline-block;
    width: 100%;
    height: 25px;
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 400;
    color: #c7cbd2;
    line-height: 1.5;
    margin-bottom: 10px;
}
div.footer-soc-right p.last{margin-bottom: 30px;}
div.footer-soc-right p span{color: #f17e18; font-weight: 600;}


div.social-flex div.social-item{width: 45px; height: 45px;}
div.social-item.vk{background: url(img/icon/social/vk.png) no-repeat center center / 100% 100%;}
div.social-item.max{background: url(img/icon/social/max.png) no-repeat center center / 100% 100%;}
div.social-item.telegram{background: url(img/icon/social/telegram.png) no-repeat center center / 100% 100%;}
div.social-item.youtube{background: url(img/icon/social/youtube.png) no-repeat center center / 100% 100%;}


@media (max-width: 700px){
	
	div.d3-container.footer-soc{
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		margin-bottom: 20px;
		align-content: space-around;
		flex-wrap: wrap;
	}
	div.footer-soc-left, div.footer-soc-right{width: 90%;}
	div.footer-soc-left{margin-bottom: 20px;}
	.footer-soc-right div.social-flex a{margin-right: 20px;}
	/*.footer-soc-right div.social-flex{margin-left: 0px;}	*/
}



/* ============================ Header zones (builder) ============================ */
.d3-header-inner { gap: 18px; }
.d3-hz { display: flex; align-items: center; gap: 14px; min-width: 0; }
.d3-hz-left { justify-content: flex-start; }
.d3-hz-center { flex: 1 1 auto; justify-content: center; }
.d3-hz-right { margin-left: auto; justify-content: flex-end; }
.d3-hz-center + .d3-hz-right { margin-left: 0; }
.d3-inline-contact { display: flex; gap: 16px; font-size: .92rem; }
.d3-inline-contact a { color: var(--d3-heading); text-decoration: none; }
.d3-inline-contact a:hover { color: var(--d3-primary); }

/* Centered layout stacks the zones */
body.d3-header-centered .d3-header-inner { flex-direction: column; }
body.d3-header-centered .d3-hz { justify-content: center; margin-left: 0; }

@media (max-width: 921px) {
	.d3-hz-left { flex: 1; }
	.d3-hz .d3-inline-contact, .d3-hz .d3-social.is-header { display: none; }
}

/* ============================ Required WP classes ============================ */
/* Sticky posts */
.sticky { display: block; }
.d3-post.sticky { border: 2px solid var(--d3-primary); border-radius: var(--d3-radius); padding: 20px; }

/* Post author comment highlight */
.bypostauthor > .comment-body { background: rgba(37,99,235,.05); border-radius: var(--d3-radius); padding: 8px; }

/* Captions */
.wp-caption { max-width: 100%; margin-bottom: 1.4em; }
.wp-caption img { display: block; margin: 0 auto; }
.wp-caption-text { font-size: .85rem; color: var(--d3-muted); text-align: center; padding: 6px 0; }
.gallery-caption { display: block; font-size: .85rem; color: var(--d3-muted); }

/* Misc WP defaults */
.wp-block-image figcaption { font-size: .85rem; color: var(--d3-muted); text-align: center; }
.post-password-form input[type="password"] { max-width: 280px; }
.entry-tags { margin-top: 16px; }
.entry-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; background: rgba(37,99,235,.08); border-radius: 20px; font-size: .85rem; text-decoration: none; }

/* Custom header image */
.d3-header-image { line-height: 0; }
.d3-header-image img { display: block; width: 100%; height: auto; }

/* Custom block styles */
.wp-block-button.is-style-d3-outline .wp-block-button__link { background: transparent; color: var(--d3-primary); border: 2px solid var(--d3-primary); }
.wp-block-image.is-style-d3-rounded img { border-radius: 16px; }

/** NEW STYLES **/







/** NEW STYLES END **/

div.header-shadow{
	background-color: rgba(17,18,25,0.4);
    width: 100%;
    height: 100%;
    padding-top: 200px;
    padding-bottom: 100px;
}
div.header-img{
	min-height: auto;
	height: 700px;
}
div.header-img.home{
	background-color: rgba(255,255,255,1);
    background-image: url(img/header1600-700-4.png);
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
}
div.header-img.services{
	background-color: rgba(255,255,255,1);
    background-image: url(img/header1600-700-5.png);
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
}
div.header-img.about{
	background-color: rgba(255,255,255,1);
    background-image: url(img/header1600-700-2.png);
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
}
div.header-text{max-width: 950px; text-align: center; margin: auto; padding: 0px 10px 0px 10px;}
div.header-text .herotxt-main{
	font-family: 'Manrope';
	font-size: clamp(2.7rem, 6.6vw, 5.4rem);
   /* font-size: 80px; */
    font-weight: 800;
    color: rgb(255 255 255 / 85%);	
	margin-bottom: 20px;
	line-height: 1.1;
	letter-spacing: -3px;
}
div.header-text .herotxt-second{
	font-family: 'Manrope';
	font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    /*font-size: 20px;*/
    font-weight: 400;
    color: rgb(255 255 255 / 85%);
	margin-bottom: 10px;
}
@media (max-width: 700px){
	div.header-shadow{ padding-top: 150px;}
	div.header-img{height: 500px;}
}

/* Home Page CSS */
div.page-content{}

h2.block-header{
	font-family: 'Manrope';
    /*font-size: 40px;*/
	font-size: clamp(32px, 6.6vw, 40px);
    font-weight: 800;
    color: #1f241f;
    padding-left: 10px;
    margin-bottom: 20px;
    border-left: 2px solid #f17e18;
	word-break: break-word;
}
p.block-header-txt{
	font-family: 'Manrope';
    font-size: 24px;
    font-weight: 600;
    color: #1f241f;
	color: #f17e18;
    margin-bottom: 20px;
}
div.home-grid-blocks{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
	margin: 50px 0px 50px 0px;
}
div.home-grid-item{
	padding: 30px;
	border-radius: 5px;
	/*border: 1px solid rgba(31, 36, 33, 0.12);*/
    /*box-shadow: 0 24px 60px rgba(31, 36, 33, 0.12);*/
	box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
	box-sizing: border-box;
	background-color: #F0F3F7;
}
div.home-grid-item:hover{box-shadow: 3px 3px 20px rgb(31 36 33 / 52%);}
div.home-grid-item h3{
	margin-bottom: 15px;
	font-family: 'Manrope';
    font-size: 24px;
    font-weight: 500;
	color: #1f241f;
}

div.home-grid-item p{
	margin-bottom: 10px;
	font-family: 'Manrope';
    font-size: 18px;
    font-weight: 300;
	color: #5d645d;
}
@media (max-width: 750px){
	
	div.home-grid-blocks{
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 50px 0px 50px 0px;
	}
	
}
div.workdesc-wrap{
	width: 100%;
	/* min-height: 400px; */
	padding: 30px;
	border-radius: 5px;
	box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
	box-sizing: border-box;
	background-color: #ffffff;
	margin: 50px 0px 50px 0px;
	
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}
div.workdesc-wrap:hover{box-shadow: 3px 3px 20px rgb(31 36 33 / 52%);}
div.wd-left, div.wd-right{width: 49%; height: auto;}

div.wd-left h3{
	margin-bottom: 10px;
    font-family: 'Manrope';
    font-size: 18px;
    font-weight: 300;
    color: #5d645d;
	padding-left: 15px;
	position: relative;
	margin-bottom: 20px;
}
div.wd-left h3::before{
	content: '';
    display: block;
    height: 15px;
    width: 15px;
    background-color: #f17e18;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -0.5em; 
    transform: translateY(-50%);
}
div.wd-row-wrap{
	width: 100%;
	display: flex;
	/*padding: 10px 10px 10px 10px;*/
    flex-direction: row;
    justify-content: space-between;
}
.wd-row-number, .wd-row-text{height: 60px; box-sizing: border-box; border: solid 1px #ffffff; text-align: center;}

div.wd-row-wrap .wd-row-number{
	width: 30%;
	background-color: rgb(242 242 242 / 30%);
	font-family: 'Manrope';
    font-size: clamp(28px, 6.6vw, 34px);
    font-weight: 800;
    color: #1f241f;
	display: grid;
	place-items: center;
	
}
div.wd-row-wrap .wd-row-text{
	width: 70%;
	background-color: rgb(241 126 24 / 50%);
	font-family: 'Manrope';
	font-size: 16px;
    font-weight: 400;
    color: #ffffff;
	display: grid;
	place-items: center;
}
@media (max-width: 850px){
	
	div.workdesc-wrap{
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	div.wd-left{margin-bottom: 30px;}
	div.wd-left, div.wd-right{width: 100%;}
	
}
div.gallery-switch{
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
    gap: 20px;
	margin: 20px 0px 20px 0px;
}
div.gallery-switch button{
	min-height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    color: #5d645d;
    background-color: #F2F2F2;
    font-family: 'Manrope';
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}
div.gallery-switch button.active, div.gallery-switch button:hover{background-color: rgb(241 126 24 / 50%); color: #ffffff;}

div.gallery-wrap{display: none;}
div.gallery-wrap.active{display: block;}



/* Home Page CSS end */


/* Services CSS */

div.services-grid-blocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 50px 0px 50px 0px;
}
@media (max-width: 750px){
		div.services-grid-blocks {
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 50px 0px 50px 0px;
	}
}

div.services-grid-item {
    
    border-radius: 5px;
    box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
    box-sizing: border-box;
    background-color: #F0F3F7;
}

div.services-grid-item:hover {box-shadow: 3px 3px 20px rgb(31 36 33 / 52%);}

div.header-vent-bg, div.header-san-bg, div.header-drill-bg{width: 100%; height: 200px; border-radius: 5px 5px 0px 0px;}

div.header-vent-bg{background: url(img/pic/vent.jpg) #F0F3F7 no-repeat center center / cover;}
div.header-san-bg{background: url(img/pic/santex.jpg) #F0F3F7 no-repeat center center / cover;}
div.header-drill-bg{background: url(img/pic/drilling.jpg) #F0F3F7 no-repeat center center / cover;}

div.item-body-text{padding: 30px 30px 30px 30px;}
/*
div.services-grid-item.vent-bg{background: url(img/pic/vent.jpg) #F0F3F7 no-repeat top center / 100% 200px;}
div.services-grid-item.san-bg{background: url(img/pic/santex.jpg) #F0F3F7 no-repeat top center / 100% 200px;}
div.services-grid-item.drill-bg{background: url(img/pic/drilling.jpg) #F0F3F7 no-repeat top center / 100% 200px;}

*/

div.services-grid-item h3 {
    margin-bottom: 15px;
    font-family: 'Manrope';
    font-size: 24px;
    font-weight: 500;
    color: #1f241f;
}

div.services-grid-item p {
    margin-bottom: 10px;
    font-family: 'Manrope';
    font-size: 18px;
    font-weight: 300;
    color: #5d645d;
}
div.service-wide{
	width: 100%;
    padding: 30px 30px 30px 30px;
    border-radius: 5px;
    box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
    box-sizing: border-box;
    background-color: #ffffff;
    margin: 40px 0px 60px 0px;
}
div.service-wide.last{margin-bottom: 10px;}
div.service-wide:hover{box-shadow: 3px 3px 20px rgb(31 36 33 / 52%);}
div.service-wide h3{
	font-family: 'Manrope';
	font-size: clamp(20px, 2.6vw, 24px);
    font-weight: 600;
    color: #1f241f;
    color: #f17e18;
    margin-bottom: 10px;
}
div.service-wide p{
	margin-bottom: 10px;
    font-family: 'Manrope';
	font-size: clamp(16px, 2.6vw, 18px);
    font-weight: 400;
    color: #5d645d;
}
div.swide-content{
	width: 100%;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}
div.swide-content-item{
	width: 49%;
	padding: 10px 0px 10px 0px;
}

@media (max-width: 750px){
	div.swide-content{
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
	}
	div.swide-content-item{
		width: 100%;
		padding: 10px 0px 10px 0px;
	}

}

div.swide-content-item h4{
	margin-bottom: 15px;
    font-family: 'Manrope';
	font-size: clamp(20px, 2.6vw, 24px);
    font-weight: 500;
    color: #1f241f;
}
div.swide-content-item p{
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 300;
    color: #5d645d;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}
div.swide-content-item p::before {
    content: '';
    display: block;
    height: 10px;
    width: 10px;
    background-color: #f17e18;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -0.1em;
    transform: translateY(-50%);
}
form.wpcf7-form label{
	margin-bottom: 15px;
    font-family: 'Manrope';
    font-size: 20px;
    font-weight: 500;
    color: #1f241f;
	color: #f17e18;
}
input[type="submit"].wpcf7-submit{
	display: inline-block;
    background-color: #F2F2F2;
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 500;
    color: #1f241f;
    border: 0;
    padding: 15px 25px;
	border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
input[type="submit"].wpcf7-submit:hover, input[type="submit"].wpcf7-submit:active{ background-color: rgb(241 126 24 / 50%); color: #fff;}

/* Services CSS end */


/* About CSS */

div.aboutdesc-wrap{
	width: 100%;
	/* min-height: 400px; */
	padding: 30px;
	border-radius: 5px;
	box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
	box-sizing: border-box;
	background-color: #ffffff;
	margin: 50px 0px 50px 0px;
	
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}
div.aboutdesc-wrap:hover{box-shadow: 3px 3px 20px rgb(31 36 33 / 52%);}
div.ad-left, div.ad-right{width: 49%; height: auto;}

div.ad-left h3{
	margin-bottom: 10px;
    font-family: 'Manrope';
    font-size: 18px;
    font-weight: 300;
    color: #5d645d;
	padding-left: 15px;
	position: relative;
	margin-bottom: 20px;
}
div.ad-left h3::before{
	content: '';
    display: block;
    height: 15px;
    width: 15px;
    background-color: #f17e18;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -0.5em; 
    transform: translateY(-50%);
}
div.ad-row-wrap{
	width: 100%;
	display: flex;
	/*padding: 10px 10px 10px 10px;*/
    flex-direction: row;
    justify-content: space-between;
}
.ad-row-number, .ad-row-text{height: 60px; box-sizing: border-box; border: solid 1px #ffffff; text-align: center;}

div.ad-row-wrap .ad-row-number{
	width: 30%;
	background-color: rgb(242 242 242 / 30%);
	font-family: 'Manrope';
    font-size: clamp(28px, 6.6vw, 34px);
    font-weight: 800;
    color: #1f241f;
	display: grid;
	place-items: center;
	
}
div.ad-row-wrap .ad-row-text{
	width: 70%;
	background-color: rgb(241 126 24 / 50%);
	font-family: 'Manrope';
	font-size: 16px;
    font-weight: 400;
    color: #ffffff;
	display: grid;
	place-items: center;
}
@media (max-width: 850px){
	
	div.aboutdesc-wrap{
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	div.ad-left{margin-bottom: 30px;}
	div.ad-left, div.ad-right{width: 100%;}
	
}
p.block-subheader-txt{
	margin-bottom: 15px;
    font-family: 'Manrope';
    font-size: clamp(18px, 3.6vw, 20px);
    font-weight: 500;
    color: #1f241f;
}

div.about-grid-blocks{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
	margin: 50px 0px 50px 0px;
}
div.about-grid-item{
	padding: 30px;
	border-radius: 5px;
	/*border: 1px solid rgba(31, 36, 33, 0.12);*/
    /*box-shadow: 0 24px 60px rgba(31, 36, 33, 0.12);*/
	box-shadow: 3px 3px 20px rgb(31 36 33 / 22%);
	box-sizing: border-box;
	background-color: #ffffff;
}
div.about-grid-item:hover{box-shadow: 3px 3px 20px rgb(31 36 33 / 52%);}
div.about-grid-item h3{
	margin-bottom: 15px;
	font-family: 'Manrope';
    font-size: 24px;
    font-weight: 500;
	color: #1f241f;
}

div.about-grid-item p{
	margin-bottom: 10px;
	font-family: 'Manrope';
    font-size: 18px;
    font-weight: 300;
	color: #5d645d;
}
@media (max-width: 750px){
	
	div.about-grid-blocks{
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 50px 0px 50px 0px;
	}
	
}

div.office-map-wrap{
	width: 100%;
    height: auto;
    background-color: #F0F3F7;
    padding: 50px;
}
div.office-map-wrap iframe{max-width: 100%; min-height: 200px; max-height: 400px;}
@media (max-width: 750px){
	div.office-map-wrap{padding: 20px;}
	div.office-map-wrap iframe{max-height: 300px;}
}


/* About CSS end */