.blog-header,
.blog-header-mobile {
font-family: Montserrat, sans-serif;
box-sizing: border-box;
}
.blog-header *,
.blog-header-mobile * {
box-sizing: border-box;
margin: 0;
padding: 0;
} .blog-header {
display: none;
background: #fff;
transition: box-shadow 0.3s ease;
}
.blog-header__inner {
max-width: 1200px;
margin: 0 auto;
padding: 16px 0;
display: flex;
flex-direction: column;
gap: 16px;
} .blog-header__nav {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 4px;
}
.blog-header__nav-link {
font-size: 14px;
font-weight: 500;
line-height: 17px;
letter-spacing: -0.14px;
color: #4f4f4f;
text-decoration: none;
white-space: nowrap;
transition: color 0.2s;
}
.blog-header__nav-link:hover {
color: #113555;
}
.blog-header__nav-link--highlight {
color: #eb5757;
font-weight: 600;
letter-spacing: 0;
text-decoration: none;
}
.blog-header__nav-link--highlight:hover {
color: #d04040;
}
.blog-header__nav-dropdown {
display: inline-flex;
align-items: center;
gap: 6px;
text-decoration: none;
}
.blog-header__nav-arrow {
width: 7px;
height: 4px;
margin-top: 2px;
transition: transform 0.2s;
}
.blog-header__nav-dropdown:hover .blog-header__nav-arrow {
transform: rotate(180deg);
} .blog-header__nav-item {
position: relative;
display: inline-flex;
}
.blog-header__submenu {
display: none;
position: absolute;
top: 100%;
left: 0;
padding-top: 8px;
z-index: 100;
max-height: 260px;
overflow-y: auto;
box-shadow: 0 4px 16px rgba(17, 53, 85, 0.12);
border: 1px solid #e8eaef;
}
.blog-header__nav-item--has-children:hover .blog-header__submenu {
display: flex;
flex-direction: column;
}
.blog-header__nav-item--has-children:hover .blog-header__nav-arrow {
transform: rotate(180deg);
}
.blog-header__submenu-link {
display: block;
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
color: #4f4f4f;
text-decoration: none;
white-space: nowrap;
background: #fff;
transition: background 0.15s, color 0.15s;
}
.blog-header__submenu-link:first-child {
border-radius: 4px 4px 0 0;
}
.blog-header__submenu-link:last-child {
border-radius: 0 0 4px 4px;
}
.blog-header__submenu-link:only-child {
border-radius: 4px;
}
.blog-header__submenu-link:hover {
background: #f6f7f9;
color: #113555;
} .blog-header__nav-item--has-children:hover .blog-header__submenu::before {
content: '';
position: absolute;
top: 8px;
left: 0;
right: 0;
bottom: 0;
box-shadow: 0 4px 16px rgba(17, 53, 85, 0.12);
border: 1px solid #e8eaef;
border-radius: 4px;
z-index: -1;
} .blog-header__divider {
height: 1px; border: 1px dashed #D3D7E0;
} .blog-header__main {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 50px;
} .blog-header__logo {
flex-shrink: 0;
text-decoration: none;
}
.blog-header__logo-img--full {
height: 42px;
width: auto;
}
.blog-header__logo-img--compact {
display: none;
height: 30px;
width: auto;
} .blog-header__contacts {
display: flex;
align-items: center;
gap: 32px;
}
.blog-header__work-time,
.blog-header__phones {
display: flex;
align-items: flex-start;
gap: 16px;
}
.blog-header__icon {
flex-shrink: 0;
width: 32px;
height: 32px;
}
.blog-header__icon--compact {
display: none;
width: 24px;
height: 24px;
}
.blog-header__work-time-text {
display: flex;
flex-direction: column;
gap: 8px;
}
.blog-header__info-primary {
font-size: 18px;
font-weight: 500;
letter-spacing: 0.18px;
color: #113555;
text-decoration: none;
white-space: nowrap;
}
.blog-header__info-primary:hover {
color: #113555;
}
.blog-header__info-secondary {
font-size: 12px;
font-weight: 500;
line-height: 18px;
color: #828282;
text-decoration: none;
}
.blog-header__info-secondary:hover {
color: #4f4f4f;
}
.blog-header__phones-text {
display: flex;
flex-direction: column;
gap: 8px;
}
.blog-header__phones-numbers {
display: flex;
align-items: center;
gap: 16px;
}
.blog-header__phones-separator {
font-size: 18px;
font-weight: 500;
letter-spacing: 0.18px;
color: #ffbd45;
} .blog-header__cta {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
height: 50px;
padding: 0 18px;
border: 1px solid #0e3456;
border-radius: 4px;
background: none;
cursor: pointer;
font-family: 'Exo 2', sans-serif;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.56px;
color: #113555;
text-transform: uppercase;
white-space: nowrap;
transition: background 0.2s, color 0.2s;
}
.blog-header__cta:hover {
background: #113555;
color: #fff;
} .blog-header__inner {
transition: padding 0.3s ease, gap 0.3s ease;
}
.blog-header__logo-img--full,
.blog-header__logo-img--compact {
transition: opacity 0.3s ease;
}
.blog-header__icon--full,
.blog-header__icon--compact {
transition: opacity 0.3s ease;
}
.blog-header__info-secondary {
transition: opacity 0.25s ease, max-height 0.3s ease;
max-height: 20px;
overflow: hidden;
}
.blog-header__cta {
transition: height 0.3s ease, font-size 0.2s ease, background 0.2s, color 0.2s;
}
.blog-header__work-time,
.blog-header__phones {
transition: gap 0.3s ease;
}
.blog-header__work-time-text,
.blog-header__phones-text {
transition: gap 0.3s ease;
} .blog-header--scrolled {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
animation: blogHeaderSlideDown 0.3s ease forwards;
}
@keyframes blogHeaderSlideDown {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
}
}
.blog-header--scrolled .blog-header__inner {
max-width: 1200px;
padding: 8px 0;
gap: 6px;
} .blog-header--scrolled .blog-header__icon--full {
opacity: 0;
width: 0;
overflow: hidden;
}
.blog-header--scrolled .blog-header__icon--compact {
display: block;
} .blog-header--scrolled .blog-header__logo-img--full {
opacity: 0;
width: 0;
height: 0;
overflow: hidden;
display: none;
}
.blog-header--scrolled .blog-header__logo-img--compact {
display: block;
} .blog-header--scrolled .blog-header__info-secondary {
opacity: 0;
max-height: 0;
}
.blog-header--scrolled .blog-header__work-time-text {
gap: 0;
}
.blog-header--scrolled .blog-header__phones-text {
gap: 0;
} .blog-header--scrolled .blog-header__cta {
height: 40px;
font-size: 12px;
letter-spacing: 0.48px;
} .blog-header--scrolled .blog-header__work-time,
.blog-header--scrolled .blog-header__phones {
gap: 12px;
align-items: center;
} .blog-header-mobile {
display: none;
background: #fff;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.blog-header-mobile__inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 16px 5px;
}
.blog-header-mobile__logo img {
height: 37px;
width: auto;
}
.blog-header-mobile__burger {
width: 40px;
height: 40px;
border: none;
background: none;
padding: 0;
cursor: pointer;
flex-shrink: 0;
}
.blog-header-mobile__burger-icon {
width: 40px;
height: 40px;
} .blog-header-mobile__phones-bar {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 6px 16px;
border-top: 1px solid #f0f1f3;
background: #fff;
}
.blog-header-mobile__phones-bar-link {
font-size: 15px;
font-weight: 500;
color: #113555;
text-decoration: none;
white-space: nowrap;
}
.blog-header-mobile__phones-bar-sep {
font-size: 15px;
font-weight: 500;
color: #ffbd45;
} .blog-header-mobile__menu {
display: none;
flex-direction: column;
background: #fff;
padding: 0 16px 24px;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1001;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.blog-header-mobile__menu--open {
display: flex;
} .blog-header-mobile__menu-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 0 5px;
flex-shrink: 0;
}
.blog-header-mobile__menu-header img {
height: 37px;
width: auto;
}
.blog-header-mobile__close {
width: 40px;
height: 40px;
border: none;
background: none;
cursor: pointer;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
color: #4f4f4f;
line-height: 1;
}
.blog-header-mobile__close:hover {
color: #113555;
}
.blog-header-mobile__nav {
display: flex;
flex-direction: column;
gap: 0;  margin-bottom: 16px;
}
.blog-header-mobile__nav-link {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
font-size: 15px;
font-weight: 500;
color: #4f4f4f;
text-decoration: none;
border-bottom: 1px solid #f6f7f9;
}
.blog-header-mobile__nav-link:last-child {
border-bottom: none;
}
.blog-header-mobile__nav-link--highlight {
color: #eb5757;
font-weight: 600;
}
.blog-header-mobile__nav-arrow {
width: 7px;
height: 4px;
} .blog-header-mobile__nav-item {
border-bottom: 1px solid #f6f7f9;
}
.blog-header-mobile__nav-item:last-child {
border-bottom: none;
}
.blog-header-mobile__nav-toggle {
display: flex;
align-items: center;
justify-content: space-between;
}
.blog-header-mobile__nav-toggle .blog-header-mobile__nav-link {
border-bottom: none;
flex: 1;
}
.blog-header-mobile__nav-arrow-btn {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: none;
background: none;
cursor: pointer;
padding: 0;
transition: transform 0.2s;
}
.blog-header-mobile__nav-arrow-btn--open {
transform: rotate(180deg);
}
.blog-header-mobile__submenu {
display: none;
flex-direction: column;
padding-left: 16px;
padding-bottom: 8px;
}
.blog-header-mobile__submenu--open {
display: flex;
}
.blog-header-mobile__submenu-link {
display: block;
padding: 8px 0;
font-size: 14px;
font-weight: 500;
color: #828282;
text-decoration: none;
transition: color 0.15s;
}
.blog-header-mobile__submenu-link:hover {
color: #113555;
} .blog-header-mobile__contacts {
display: flex;
flex-direction: column;
gap: 16px;
}
.blog-header-mobile__schedule,
.blog-header-mobile__phone-list {
display: flex;
align-items: center;
gap: 12px;
}
.blog-header-mobile__icon {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.blog-header-mobile__schedule span {
font-size: 15px;
font-weight: 500;
color: #113555;
}
.blog-header-mobile__phone-list div {
display: flex;
flex-direction: column;
gap: 4px;
}
.blog-header-mobile__phone {
font-size: 16px;
font-weight: 500;
color: #113555;
text-decoration: none;
}
.blog-header-mobile__email {
font-size: 14px;
font-weight: 500;
color: #828282;
text-decoration: none;
padding-left: 36px;
}
.blog-header-mobile__cta {
display: flex;
align-items: center;
justify-content: center;
height: 48px;
border: 1px solid #0e3456;
border-radius: 4px;
background: none;
cursor: pointer;
font-family: 'Exo 2', sans-serif;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.56px;
color: #113555;
text-transform: uppercase;
width: 100%;
}  @media (min-width: 1024px) {
.blog-header {
display: block;
}
.blog-header-mobile {
display: none;
}
} @media (max-width: 1023px) {
.blog-header {
display: none !important;
}
.blog-header-mobile {
display: block;
}
} @media (max-width: 1240px) and (min-width: 1024px) {
.blog-header__inner {
padding-left: 20px;
padding-right: 20px;
}
.blog-header--scrolled .blog-header__inner {
padding-left: 20px;
padding-right: 20px;
}
} .blog-header-placeholder {
height: 0;
transition: height 0.3s ease;
}