/*
Theme Name: MOSSEO
Description: 
Author: Oleg Putintsev
Author URI: https://putintsev.pro
*/

* {
    margin: 0;
    padding: 0;
}

.header-logo a,
.footer .logo span {
    position: relative;
}

/*.header-logo a:after,
.footer .logo span.logo-img:after{
  position: absolute;
  content: '';
  width: 30px;
  height: 30px;
  background: url(images/hat21.png) center center/cover no-repeat;
  right: -14px;
  top: -16px;
  transform: rotate(29deg);
}
.footer .logo span.logo-img:after{
  right: -17px;
  top: -16px;
}*/
.mobile__menu {
    z-index: 999;
    top: 0;
}

.mobile-drop__links .header-contacts {
    margin: 0 0 31px;
}

.mobile-drop__links {
    padding: 0 0 33px;
}

.mobile-drop__links li {
    position: relative;
}

span.menu-dropdown-btn {
    position: absolute;
    width: 21px;
    height: 21px;
    background: #0077ce url(images/down-arrow.svg) center center no-repeat;
    background-size: 17px 17px;
    top: 0px;
    right: 15px;
}

.mobile-drop__links-a ul.sub-menu {
    margin: 15px 0 15px 15px;
}

.mobile-drop__links-a li.open-page-item > ul.sub-menu,
.mobile-drop__links-a li.current-menu-item > ul.sub-menu,
.mobile-drop__links-a li.current-menu-ancestor > ul.sub-menu {
    display: block;
}

.mobile-drop__links-a li.current-menu-item > a {
    color: #0077ce;
}

.mainmenu ul li a:hover,
.mainmenu ul li a.active,
.mainmenu ul li.current-menu-item > a {
    color: #222A36;
    border-bottom-color: #0077CE;
}

.content img {
    box-shadow: 0 8px 25px rgb(0 0 0 / 6%);
    border-radius: 12px;
}

.partners_img img {
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    height: 50px;
    width: auto;
}

.partners_img div {
    float: left;
    width: 25%;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}

.partners_img:after {
    content: '';
    display: block;
    clear: both;
}

.hww.even .hww-item__txt {
    flex-grow: 1;
}

.hww.odd.hww-image .hww-line {
    top: 76px !important;
}

.swd-item:hover {
    transform: scale(1.05);
}

.main-screen .ms-el-2 {
    -webkit-animation: spin 4.2s linear infinite;
    -moz-animation: spin 4.2s linear infinite;
    animation: spin 4.2s linear infinite;
}

.main-screen .ms-el-3 {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

#particles-js {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-logo__text {
    font-size: 8px;
}

.main-screen .mini {
    color: #AEBED0;
    margin: 0;
    display: inline-block;
    padding-left: 70px;
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
    letter-spacing: 1.4px;
    position: absolute;
    left: 18em;
    top: 8em;
    background: url(images/mini.png) no-repeat 0 50%;
    width: 500px;
    text-transform: uppercase;
}

b {
    font-weight: 700;
}

.main-screen .ms-el-4 {
    top: 390px;
    left: calc(50% + 333px);
}

.bord_rad {
    border-radius: 20px;
}

.requisites td {
    padding: 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: -.4px;
    color: #979797;
}

.requisites tr td:first-child {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -.276px;
    color: #222a36;
    margin-right: 15px;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.wiki-container .swiper-container .swiper-button-next {
    animation-name: rl;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes rl {
    0% {
        right: -15px;
    }
    50% {
        right: 0;
    }
    100% {
        right: -15px;
    }
}

.followus {
    z-index: 999;
}

.portf-item__title a,
.box-port__zad {
    color: #000;
}

.post-header .contents li a {
    text-decoration: underline !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.front-qa__title span {
    background: -webkit-linear-gradient(#ff6dbb, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.front-qa__desc-text ul {
    border-left: 3px solid #0077ce;
    padding: 16px 16px 16px 48px;
    background: #fcfcfc;
    border-radius: 0 10px 10px 0;
}

.front-qa__desc-text ul li {
    position: relative;
    z-index: 1;
    padding-left: 18px;
    margin-bottom: 6px;
}

.front-qa__desc-text ul li:before {
    content: " ";
    width: 8px;
    height: 7px;
    background: url(images/fa/check.svg) no-repeat 50% 50%;
    display: inline-block;
    position: absolute;
    top: 6px;
    left: 2px;
}

.stuff-item__top-header {
    background-color: #0077ce77;
    padding: 15px;
}

.page-template-template-about-company .section-contacts__stuff .stuff-item__bio {
    padding-left: 120px;
}

.page-template-template-about-company .stuff-item__top-header {
    right: -104px;
}

.wiki-item__desc ul li a:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #f00;
    border-radius: 100%;
    margin: 0 5px 0 0;
    top: -2px;
    position: relative;
}

.autor_img img {
    border-radius: 4px;
    max-width: 100%;
}

.autor_pre {
    margin: 0 0 7px;
}

.autor_name {
    font-size: 20px;
    margin: 0 0 3px;
}

.autor_dolj {
    font-size: 12px;
    color: #b2bdcf;
    margin: 0 0 15px;
}

.stuff-item__bio.autor_bio ul {
    padding-left: 20px;
}

@media (max-width: 1170px) {
    .followus {
        display: none;
    }
}

@media (max-width: 992px) {
    .mobile-drop__links .header-contacts__icon {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .block-title, .h1, .title, h1 {
        text-align: center;
    }

    .blockseo-img {
        margin: 30px 0;
    }

    .main-screen .mini {
        display: none;
    }

    .front-qa__btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        top: 6px;
        right: 6px;
    }
}

.followus-links {
    position: absolute;
    bottom: 30px;
    background: #e0e0e0b0;
    right: 31px;
    padding: 10px 15px;
    max-width: 300px;
    text-align: right;
    color: #232a36;
    z-index: 100;
    /*font-weight: bold;*/
}

@media (max-width: 992px) {
    .followus-links {
        bottom: 120px;
        right: -60px;
    }
}
@media (max-width: 767px) {
    .followus-links {
        bottom: 123px;
        right: 11px;
        max-width: 180px;
    }
}

.followus-links a {
    color: inherit;
    text-decoration: underline;
}

span.logo-text {
    position: absolute;
    left: 105px;
    bottom: -10px;
    min-width: 100px;
    font-size: 11px;
    color: #b2bdcf;
}
.htop.js-header-scroll[style="display: block;"] span.logo-text {
    left: 116px;
}

@media (max-width: 500px) {
    .parent-section {
        padding-top: 84px;
        padding-left: 10px;
    }
}
/* Mobile menu over widgets — 2026-05-25 */
.mobile__menu {
    z-index: 99999999 !important;
    top: 0 !important;
}

/* === Hover-эффекты карточек статей блога (задача #1, 2026-06) === */
.bp-item {
    cursor: pointer;
    -webkit-transition: -webkit-transform .35s ease-out, box-shadow .35s ease-out;
    transition: transform .35s ease-out, box-shadow .35s ease-out;
}
.bp-item__bg {
    -webkit-transition: background .35s ease-out;
    transition: background .35s ease-out;
}
.bp-item:hover {
    -webkit-transform: translateY(-8px) scale(1.02);
    transform: translateY(-8px) scale(1.02);
    -webkit-box-shadow: 0 18px 42px rgba(0, 0, 0, .20);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .20);
}
/* фото проявляется — оверлей светлеет */
.bp-item:hover .bp-item__bg {
    background: rgba(34, 42, 54, .62);
}
/* смена цвета заголовка */
.bp-item:hover .bp-item__title a {
    color: #7cc0ff;
}

/* === Короткое описание статьи (лид) — задача #2, 2026-06 === */
.post-lead {
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
    color: #2c3e50;
    background: #f5f9fd;
    border-left: 4px solid #0077ce;
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    margin: 10px 0 32px;
}
.post-lead p {
    margin: 0;
}
.post-lead p + p {
    margin-top: 10px;
}
@media (max-width: 600px) {
    .post-lead {
        font-size: 16px;
        padding: 14px 18px;
    }
}

/* === Главное изображение статьи — задача #3, 2026-06 === */
.post-featured {
    margin: 0 0 32px;
}
.post-featured img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* === Иерархия заголовков в теле статьи H2–H4 — задача #4, 2026-06 === */
.content h2 {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    color: #222a36;
    letter-spacing: -0.5px;
    margin: 40px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2f7;
}
.content h3 {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    color: #222a36;
    letter-spacing: -0.3px;
    margin: 32px 0 14px;
}
.content h4 {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
    color: #222a36;
    margin: 26px 0 12px;
}
/* первый заголовок секции — без лишнего отступа сверху */
.content > h2:first-child,
.content > h3:first-child {
    margin-top: 0;
}
@media (max-width: 600px) {
    .content h2 { font-size: 24px; margin-top: 30px; }
    .content h3 { font-size: 20px; margin-top: 24px; }
    .content h4 { font-size: 18px; margin-top: 22px; }
}

/* === Блоки с изображениями в теле статьи — задача #5, 2026-06 === */
.content-media {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 28px;
    margin: 32px 0;
}
.content-media--right {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.content-media__img {
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    max-width: 42%;
}
.content-media__img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}
.content-media__text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.content-media__text > *:last-child {
    margin-bottom: 0;
}
.content-media--boxed {
    background: #f5f9fd;
    border-radius: 16px;
    padding: 24px 28px;
}
.content-img-full {
    margin: 32px 0;
}
.content-img-full img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
@media (max-width: 700px) {
    .content-media,
    .content-media--right {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 16px;
    }
    .content-media__img {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        max-width: 100%;
    }
    .content-media--boxed {
        padding: 18px;
    }
}

/* === Блок сравнения «плюсы / минусы» — задача #6, 2026-06 === */
.proscons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    margin: 32px 0;
}
.proscons__col {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-radius: 14px;
    padding: 20px 22px;
}
.proscons__col--pros { background: #eafaf0; }
.proscons__col--cons { background: #fdecec; }
.proscons__head {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
    color: #222a36;
}
.proscons__col ul { list-style: none; margin: 0; padding: 0; }
.proscons__col li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.proscons__col li:before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}
.proscons__col--pros li:before { content: "\2713"; color: #1faa59; }
.proscons__col--cons li:before { content: "\2715"; color: #e04444; }

/* === Табы переключения — задача #6, 2026-06 === */
.content-tabs { margin: 32px 0; }
.content-tabs__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid #eef2f7;
    margin-bottom: 20px;
}
.content-tabs__btn {
    background: none;
    border: none;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #8a96a3;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    -webkit-transition: color .2s, border-color .2s;
    transition: color .2s, border-color .2s;
}
.content-tabs__btn:hover { color: #0077ce; }
.content-tabs__btn.active {
    color: #0077ce;
    border-bottom-color: #0077ce;
}
.content-tabs__panel { display: none; }
.content-tabs__panel.active { display: block; }
.content-tabs__panel > *:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .proscons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 14px;
    }
}

/* === Ссылка на источник — задача #7, 2026-06 === */
.content-source {
    font-size: 14px;
    line-height: 1.4;
    color: #6b7785;
    background: #f7f9fb;
    border-left: 3px solid #c7d2dd;
    border-radius: 0 8px 8px 0;
    padding: 10px 16px;
    margin: 18px 0 28px;
}
.content-source__label {
    font-weight: 700;
    color: #54606d;
}
.content-source a {
    color: #0077ce;
    word-break: break-word;
}

/* === Время прочтения статьи — задача #8, 2026-06 === */
.post-reading-time {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #8a96a3;
    margin: 14px 0 4px;
}
.post-reading-time svg {
    color: #0077ce;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* === Поделиться статьёй — задача #9, 2026-06 === */
.post-share {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px;
    margin: 36px 0 8px;
    padding: 20px 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}
.post-share__label {
    font-weight: 700;
    color: #222a36;
    font-size: 16px;
}
.post-share__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}
.post-share__btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    -webkit-transition: opacity .2s, -webkit-transform .2s;
    transition: opacity .2s, transform .2s;
}
.post-share__btn:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    opacity: .92;
    text-decoration: none;
    color: #fff;
}
.post-share__btn svg { -ms-flex-negative: 0; flex-shrink: 0; }
.post-share__btn--telegram { background: #2aabee; }
.post-share__btn--whatsapp { background: #25d366; }
.post-share__btn--vk { background: #0077ff; }
.post-share__btn--copy {
    background: #eef2f7;
    color: #54606d;
}
.post-share__btn--copy:hover { color: #54606d; }
.post-share__btn--copy.copied {
    background: #eafaf0;
    color: #1faa59;
}
@media (max-width: 600px) {
    .post-share__btn--telegram,
    .post-share__btn--whatsapp,
    .post-share__btn--vk {
        width: 44px;
        padding: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/* === Блок «Цитата» — задача #10, 2026-06 === */
.content-quote {
    position: relative;
    margin: 32px 0;
    padding: 26px 28px 26px 64px;
    background: #f5f9fd;
    border-left: 4px solid #0077ce;
    border-radius: 0 16px 16px 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    font-style: italic;
    color: #222a36;
}
.content-quote:before {
    content: "\201C";
    position: absolute;
    left: 18px;
    top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    line-height: 1;
    font-style: normal;
    color: #0077ce;
    opacity: .35;
}
.content-quote > *:last-child {
    margin-bottom: 0;
}
.content-quote .content-quote__author {
    display: block;
    margin-top: 14px;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    color: #6b7785;
}
.content-quote .content-quote__author:before {
    content: "\2014\00A0";
}
@media (max-width: 600px) {
    .content-quote {
        font-size: 17px;
        padding: 20px 18px 20px 50px;
    }
    .content-quote:before {
        font-size: 48px;
        left: 12px;
    }
}

/* === Блок FAQ в конце статьи — задача #11, 2026-06 === */
.post-faq {
    margin: 40px 0 8px;
}
.post-faq__title {
    font-size: 28px;
    font-weight: 800;
    color: #222a36;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}
.post-faq__item {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}
.post-faq__item[open] {
    border-color: #cfe2f3;
    background: #f9fcff;
}
.post-faq__q {
    list-style: none;
    cursor: pointer;
    padding: 18px 52px 18px 22px;
    position: relative;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    color: #222a36;
}
.post-faq__q::-webkit-details-marker { display: none; }
.post-faq__q:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    color: #0077ce;
    -webkit-transition: -webkit-transform .2s;
    transition: transform .2s;
}
.post-faq__item[open] .post-faq__q:after {
    content: "\2212";
}
.post-faq__a {
    padding: 0 22px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #54606d;
}
.post-faq__a > *:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .post-faq__title { font-size: 23px; }
    .post-faq__q { font-size: 16px; padding: 15px 46px 15px 16px; }
    .post-faq__a { padding: 0 16px 16px; }
}
