/* drkirilov.bg – site rules (moved from FinFlow "Additional CSS", 16.11.2026) */
html,
body {
	overflow-x: hidden;
}
article h2, article h3 {
	margin-top: 15px !important;
	margin-bottom: 15px !important;
}

/* Header (Elementor Header & Footer Builder): transparent over the page, fixed, hides on scroll down
   and comes back on scroll up, white once the page is scrolled (as the former UiCore header). */
header#masthead {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: transparent;
	transition: transform .3s cubic-bezier(.41,.61,.36,1.08), background-color .3s ease;
}
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead { top: 46px; } }
#masthead.drk-scrolled { background: #fff; }
#masthead.drk-hide { transform: translateY(-110%); }
#masthead .drk-header .drk-logo { text-align: left; }
/* the logo hangs over the header line on desktop, as before */
#masthead .drk-header > .elementor-container { height: 74px; }
@media (min-width: 768px) {
	#masthead .drk-header .drk-logo { transform: translateY(10px); }
}
@media (max-width: 767px) {
	#masthead .drk-header > .elementor-container { height: 64px; }
}
/* Full-screen menu */
.drk-nav .hfe-flyout-wrapper .hfe-side { max-width: 100vw; }
.drk-nav .hfe-flyout-content { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.drk-nav .hfe-flyout-content nav { width: 100%; }
.drk-nav .hfe-flyout-close { position: absolute; top: 22px; right: 70px; }
@media (max-width: 767px) { .drk-nav .hfe-flyout-close { right: 20px; } }
.drk-nav .hfe-nav-menu-icon i { font-size: 22px; }
/* Title band under the fixed header */
.uicore-page-title { padding-top: 74px; }
@media (max-width: 767px) { .uicore-page-title { padding-top: 64px; } }
/* while the menu is open only its close button shows, in the place of the menu button */
.drk-nav:has(.hfe-flyout-show) .hfe-nav-menu__toggle { visibility: hidden; }
@media (max-width: 767px) { .drk-nav .hfe-flyout-close { top: 18px; } }
/* 404 */
.drk-404 { padding: 60px 0 90px; }
.drk-404 .drk-btn { display: inline-block; margin: 10px 12px 0 0; padding: 14px 28px; border-radius: 10px; background: #675943; color: #fff; font-weight: 600; text-decoration: none; }
.drk-404 .drk-btn:hover { background: #827158; color: #fff; }
.drk-404 .drk-btn-alt { background: transparent; color: #675943; border: 1px solid #675943; }
.drk-404 .drk-btn-alt:hover { background: #EDE1D3; color: #675943; }
