/*!
Theme Name: KalyanTopBlog Theme
Theme URI: kalyantopblog.com
Author: KalyanTopBlog Author
Author URI: 
Description: Custom WordPress theme.
Version: 1.0.0
Text Domain: kalyantopblog
*/
body {
  font-family: 'Roboto', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
}
/* Roboto */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Montserrat */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}
.footer-menu a {
  color: #fff;
  margin-right: 1rem;
  /* расстояние между ссылками */
}

.footer-menu a:hover {
  color: #dddddd;
  text-decoration: underline;
}

.header-menu a {
  color: #333;
  margin-right: 1rem;
  /* расстояние между ссылками */
}

.header-menu a:hover {
  color: #777;
  text-decoration: underline;
}

/* Убираем стандартные отступы и маркеры */
.footer-widget .menu {
  list-style: none;
  /* убираем точки */
  margin: 0;
  /* убираем внешние отступы */
  padding: 0;
  /* убираем внутренние отступы */
}

/* Ссылки делаем белыми */
.footer-widget .menu a {
  color: #ffffff;
  /* белый цвет */
  text-decoration: none;
  /* без подчеркивания */
}

/* При желании добавить hover эффект */
.footer-widget .menu a:hover {
  color: #dddddd;
  /* чуть светлее при наведении */
}

/* Скрыта, пока не в фокусе */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #000;
  /* можно под цвет темы */
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
  transition: top 0.3s;
}

/* Появляется при фокусе */
.skip-link:focus {
  top: 0;
}

.single-post-hero {
  min-height: 250px;
  /* минимальная высота секции */
  display: flex;
  align-items: center;
  /* выравнивание заголовка по центру вертикально */
  justify-content: center;
  /* по горизонтали */
  text-align: center;
  background-size: cover;
  background-position: center;
}

/*.slide-title{
    min-height:400px
}*/
.opacity-75 {
  opacity: .75 !important;
}

.opacity-50 {
  opacity: .5 !important;
}

.opacity-25 {
  opacity: .25 !important;
}

.swiper {
  /*      width: 100%;
      height: 100%;*/
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.general-thumbnail-slider .swiper-slide {
  position: relative;
  width: 25%;
  /*margin-top: 0.7rem;*/
  cursor: pointer;
}

.general-thumbnail-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* затемняем */
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: none;
}

.general-thumbnail-slider .swiper-slide-thumb-active::after {
  opacity: 0;
  /* убираем затемнение у активного */
}

.general-enlarged-slider .swiper-slide {
  width: 60%;
  /* центральный будет шире */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
  /* по умолчанию полупрозрачные */
}

.general-enlarged-slider .swiper-slide-active {
  transform: scale(1.3);
  /* увеличиваем центральный */
  opacity: 1;
  z-index: 2;
}

.general-enlarged-slider .swiper-slide-prev,
.general-enlarged-slider .swiper-slide-next {
  transform: scale(0.9);
  /* боковые чуть меньше */
  opacity: 0.7;
  z-index: 1;
}

.general-enlarged-slider {
  overflow: hidden;
}

.general-enlarged-slider {
  padding: clamp(1rem, 4vh, 2.5rem) 0;
  overflow: hidden;
}

.general-enlarged-slider .swiper-wrapper {
  overflow: visible;
}

/*//////////*/
.general-ticker-slider {
  /*  width: 100%;
  height: 100%;
  position: relative;*/
}

/*.general-ticker-slider:after {
    content: '';
    display: block;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, black 50%, transparent 50%);
    background-size: 10% 1px;
    background-position: -50px;
    background-repeat: repeat-x;
    position: absolute;
    left: -10%;
    top: 40%;
    animation: line-slide 60s forwards infinite linear;
    z-index: 1;
  }*/
.general-ticker-slider .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  position: relative;
}

.general-ticker-slider .swiper-slide {
  text-align: center;
  font-size: 33px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

@keyframes line-slide {
  0% {
    background-position: -5% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.card-img-overlay-image {
  object-fit: cover;
}
/* Kalyantop Blog header */
.kt-header{font-family:"Open Sans",sans-serif;color:#666}
.kt-header ul{list-style:none;margin:0;padding:0}
.kt-header a{text-decoration:none}

.kt-topbar{min-height:43px;background:#eee;border-bottom:1px solid #e2e2e2}
.kt-topbar-inner{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.kt-top-menu-list{display:flex;align-items:center;gap:24px}
.kt-top-right{display:flex;align-items:center;gap:20px;margin-left:auto}
.kt-user-menu-list,.kt-lang-menu-list{display:flex;align-items:center}
.kt-top-menu-list>li>a,.kt-user-menu-list>li>a,.kt-lang-menu-list>li>a{display:block;color:#666;font-size:12px;line-height:43px;white-space:nowrap}
.kt-top-menu-list>li>a:hover,.kt-user-menu-list>li>a:hover,.kt-lang-menu-list>li>a:hover{color:#fd8964}
.kt-user-menu-list>li,.kt-lang-menu-list>li{position:relative}
.kt-user-menu-list .sub-menu,.kt-lang-menu-list .sub-menu{display:none;position:absolute;top:100%;right:0;z-index:1200;min-width: max-content;padding:5px 0;background:#fff;border:1px solid #e1e1e1;box-shadow:0 5px 12px rgba(0,0,0,.12)}
.kt-user-menu-list li:hover>.sub-menu,.kt-lang-menu-list li:hover>.sub-menu,.kt-user-menu-list li:focus-within>.sub-menu,.kt-lang-menu-list li:focus-within>.sub-menu{display:block}
.kt-user-menu-list .sub-menu a,.kt-lang-menu-list .sub-menu a{display:block;padding:8px 18px;color:#777;font-size:13px;white-space:nowrap}
.kt-user-menu-list .sub-menu a:hover,.kt-lang-menu-list .sub-menu a:hover{background:#444;color:#fff}
.kt-user-menu-list>.menu-item-has-children>a:after,.kt-lang-menu-list>.menu-item-has-children>a:after{content:"";display:inline-block;margin-left:6px;vertical-align:2px;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}

.kt-main-head{background:#fff}
.kt-main-head-row{min-height:130px;display:grid;grid-template-columns:minmax(250px,1.3fr) minmax(260px,1.1fr) minmax(230px,1fr);align-items:center;gap:35px}
.kt-logo img{display:block;max-width:100%;max-height:95px;width:auto;height:auto}
.kt-contact{display:flex;align-items:center;gap:14px;color:#666;font-size:15px}
.kt-contact-icon{flex:0 0 auto;color:#777;font-size:34px;line-height:1}
.kt-clock{font-size:38px}
.kt-contact strong{color:#444}
.kt-worktime{white-space:nowrap}

.kt-primary-nav{background:#444}
.kt-primary-menu{display:flex;align-items:stretch}
.kt-primary-menu>li{position:relative}
.kt-primary-menu>li>a{display:block;padding:12px 17px;color:#fff;font-size:12px;line-height:18px;white-space:nowrap}
.kt-primary-menu>li:hover>a,.kt-primary-menu>li:focus-within>a,.kt-primary-menu>.current-menu-item>a,.kt-primary-menu>.current-menu-ancestor>a{background:#fd8964;color:#fff}
.kt-primary-menu .sub-menu{display:none;position:absolute;left:0;top:100%;z-index:1100;min-width:230px;background:#fff;border:1px solid #ddd;box-shadow:0 6px 12px rgba(0,0,0,.16)}
.kt-primary-menu>li:hover>.sub-menu,.kt-primary-menu>li:focus-within>.sub-menu{display:block}
.kt-primary-menu .sub-menu li{position:relative}
.kt-primary-menu .sub-menu a{display:block;min-width:220px;padding:8px 50px 8px 18px;color:#444;font-size:12px;line-height:18px;background:#fff;/*white-space:nowrap*/}
.kt-primary-menu .sub-menu li:hover>a,.kt-primary-menu .sub-menu li:focus-within>a{background:#444;color:#fff}
.kt-primary-menu .sub-menu .sub-menu{display:none;top:0;left:100%;z-index:1101}
.kt-primary-menu .sub-menu li:hover>.sub-menu,.kt-primary-menu .sub-menu li:focus-within>.sub-menu{display:block}
.kt-primary-menu .sub-menu .menu-item-has-children>a:after{content:"›";position:absolute;right:5px;font-size:18px}

.kt-mobile-menu-button{width:60px;height:40px;margin:12px auto 0;padding:9px 13px;flex-direction:column;justify-content:space-around;border:0;background:#fd8964;color:#fff}
.kt-mobile-menu-button span{display:block;width:100%;height:2px;background:currentColor}
.kt-mobile-offcanvas{max-width:88vw}
.kt-mobile-logo img{max-width:220px;height:auto}
.kt-mobile-primary-menu,.kt-mobile-primary-menu ul{list-style:none;margin:0;padding:0}
.kt-mobile-primary-menu a{display:block;padding:10px 12px;color:#444;border-bottom:1px solid #e5e5e5;text-align:center}
.kt-mobile-primary-menu .sub-menu a{background:#f7f7f7;padding-left:25px}
.kt-mobile-primary-menu .sub-menu .sub-menu a{background:#eee;padding-left:40px}

@media(max-width:991px){
 .kt-main-head-row{grid-template-columns:1fr 1fr;padding:20px 0}
 .kt-logo{grid-column:1/-1;display:flex;justify-content:center}
 .kt-logo img{max-height:80px}
 .kt-phones{justify-content:flex-end}.kt-worktime{justify-content:flex-start}
}
@media(max-width:767px){
 .kt-topbar-inner{min-height:40px;gap:12px}
 .kt-top-menu-list{gap:12px;overflow-x:auto}
 .kt-top-menu-list>li>a,.kt-user-menu-list>li>a,.kt-lang-menu-list>li>a{line-height:40px;font-size:11px}
 .kt-top-right{gap:12px}
 .kt-main-head-row{display:flex;flex-wrap:wrap;gap:8px 0;padding:18px 0 12px}
 .kt-logo,.kt-phones,.kt-worktime{width:100%;justify-content:center;text-align:center}
 .kt-logo img{max-width:310px;max-height:none}
 .kt-contact{font-size:13px;gap:8px}
 .kt-contact-icon{font-size:26px}.kt-clock{font-size:30px}
 .kt-mobile-menu-button{display:flex!important}
}
/* =========================================================
   Kalyantop Blog footer — visually aligned with OpenCart
   ========================================================= */

.kt-footer {
    margin-top: 30px;
    padding-top: 40px;
    background: #1f1f1f;
    color: #aaa;
    font-size: 13px;
}

.kt-footer a {
    color: #aaa;
    text-decoration: none;
}

.kt-footer a:hover,
.kt-footer a:focus {
    color: #fd8964;
}

.kt-footer-main {
    padding-bottom: 20px;
}

.kt-footer-col h5 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #666;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.kt-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kt-footer-menu li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #444;
    color: #aaa;
}

.kt-footer-menu li a:hover {
    color: #fd8964;
}

.kt-footer-contact-item {
    display: flex;
    min-height: 36px;
    align-items: stretch;
    margin-bottom: 8px;
    background: #3a3a3a;
    color: #ccc;
}

.kt-footer-contact-icon {
    display: flex;
    width: 36px;
    min-width: 36px;
    align-items: center;
    justify-content: center;
    background: #888;
    color: #fff;
    font-size: 15px;
}

.kt-footer-contact-item > span:last-child {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.kt-footer-logo {
    display: block;
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.kt-footer-slogan {
    margin-bottom: 15px;
    color: #ccc;
}

.kt-footer-instagram {
    display: inline-block;
}

.kt-footer-instagram img {
    display: block;
    max-width: 50px;
    height: auto;
}

.kt-footer-seo-tabs {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.kt-footer-seo-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.kt-footer-seo-tab-btn {
    margin: 0;
    padding: 9px 22px;
    border: 0;
    border-radius: 0;
    background: #111;
    color: #ddd;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
}

.kt-footer-seo-tab-btn:hover,
.kt-footer-seo-tab-btn:focus,
.kt-footer-seo-tab-btn.active {
    background: #fd8964;
    color: #fff;
    outline: none;
}

.kt-footer-seo-tab-pane {
    display: none;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.kt-footer-seo-tab-pane.active {
    display: flex;
}

.kt-footer-seo-tab-pane a {
    color: #777;
    white-space: nowrap;
}

.kt-footer-seo-tab-pane a:hover {
    color: #fd8964;
}

.kt-footer-bottom {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #555;
    color: #aaa;
}

@media (max-width: 991px) {
    .kt-footer-col {
        margin-bottom: 28px;
    }
}

@media (max-width: 767px) {
    .kt-footer {
        padding-top: 30px;
    }

    .kt-footer-col {
        margin-bottom: 25px;
    }

    .kt-footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .kt-footer-brand {
        text-align: center;
    }

    .kt-footer-seo-tab-btn {
        padding: 8px 14px;
    }

    .kt-footer-seo-tab-pane.active {
        gap: 8px 14px;
    }

    .kt-footer-seo-tab-pane a {
        white-space: normal;
    }
}
/* =========================================================
   Blog post cards
   ========================================================= */

.post-card {
    border: 1px solid #e1e1e1;
    border-radius: 0;
    overflow: hidden;
}

.post-card-image {
    display: block;
    overflow: hidden;
}

.post-card-image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
}

.post-card .card-body {
    padding: 16px;
}

.post-card-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

.post-card-title a {
    color: #666;
    text-decoration: none;
}

.post-card-title a:hover,
.post-card-title a:focus {
    color: #fd8964;
}

.post-card-excerpt {
    margin-bottom: 15px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.post-card-more {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
}

.post-card-more:hover,
.post-card-more:focus {
    background: #fd8964;
    border-color: #fd8964;
    color: #fff;
}

.post-card-footer {
    margin-top: auto;
}

.reading-meta {
    padding-top: 10px;
    border-top: 1px solid #eee;
    color: #999 !important;
    font-size: 12px;
}

.reading-meta > div {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.reading-meta img {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    opacity: .55;
}

@media (max-width: 575px) {
    .post-card-image img {
        height: 210px;
    }

    .reading-meta {
        gap: 10px !important;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }
}
/* =========================================================
   Single post
   ========================================================= */

.single-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #999;
    font-size: 15px;
}

.single-breadcrumb-home {
    color: #aaa;
    text-decoration: none;
    line-height: 1;
}

.single-breadcrumb-home:hover,
.single-breadcrumb-home:focus {
    color: #fd8964;
}

#breadcrumbs {
    margin: 0;
    color: #999;
}

#breadcrumbs a {
    color: #999;
    text-decoration: none;
}

#breadcrumbs a:hover,
#breadcrumbs a:focus {
    color: #fd8964;
}

/* Заголовок отдельной статьи */
.single-post-section .post-title,
.single-post-section h1.post-title {
    margin-top: 8px;
    margin-bottom: 24px;
    color: #666;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 500;
}

@media (max-width: 767px) {
    .single-post-section .post-title,
    .single-post-section h1.post-title {
        font-size: 24px;
    }
}

@media (min-width: 992px) {

    /* Первый уровень выпадающего меню */
    #kt-primary-menu > li.menu-item-has-children > .sub-menu {
        width: 580px;
        column-count: 3;
        column-gap: 20px;
        column-fill: balance;
    }

    #kt-primary-menu > li.menu-item-has-children > .sub-menu > li {
        display: inline-block;
        width: 100%;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Вложенное меню остаётся обычным, в одну колонку */
    #kt-primary-menu > li > .sub-menu .sub-menu {
        column-count: 1;
        width: 240px;
    }
}
/* Pagination */
.posts-pagination .pagination {
    justify-content: center;
    margin-bottom: 0;
}

.posts-pagination .page-link {
    color: #666;
    background-color: #fff;
    border-color: #ddd;
    box-shadow: none;
}

.posts-pagination .page-link:hover {
    color: #333;
    background-color: #f2f2f2;
    border-color: #ccc;
}

.posts-pagination .page-item.active .page-link {
    color: #fff;
    background-color: #555;
    border-color: #555;
}

.posts-pagination .page-link:focus {
    color: #333;
    background-color: #f2f2f2;
    border-color: #ccc;
    box-shadow: none;
}

/* =========================================================
   Kalyantop Blog header — mobile layout aligned with OpenCart
   ========================================================= */

.kt-mobile-top-menu-button,
.kt-mobile-top-menu-button {
    display: none;
}

.kt-mobile-logo-row {
    display: contents;
}

@media (max-width: 767px) {

    /* ---------- top grey bar ---------- */

    .kt-topbar {
        position: relative;
        min-height: 40px;
    }

    .kt-topbar-inner {
        position: relative;
        min-height: 40px;
        padding-left: 12px;
        padding-right: 12px;
        gap: 10px;
    }

    .kt-mobile-top-menu-button {
        display: flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        padding: 12px 10px;
        flex-direction: column;
        justify-content: space-between;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .kt-mobile-top-menu-button span {
        display: block;
        width: 14px;
        height: 2px;
        margin: 0 auto;
        background: #444;
    }

    .kt-top-menu {
        display: none;
        position: absolute;
        top: 40px;
        left: 12px;
        z-index: 1300;
        width: 220px;
        background: #fff;
        border: 1px solid #e1e1e1;
        box-shadow: 0 4px 10px rgba(0,0,0,.12);
    }

    .kt-top-menu.is-open {
        display: block;
    }

    .kt-top-menu-list {
        display: block;
    }

    .kt-top-menu-list > li {
        display: block;
    }

    .kt-top-menu-list > li > a {
        display: block;
        padding: 10px 14px;
        color: #666;
        font-size: 12px;
        line-height: 20px;
        white-space: normal;
    }

    .kt-top-menu-list > li > a:hover,
    .kt-top-menu-list > li > a:focus {
        background: #f7f7f7;
        color: #444;
    }

    .kt-top-right {
        margin-left: auto;
        gap: 12px;
    }

    .kt-user-menu-list > li > a,
    .kt-lang-menu-list > li > a {
        font-size: 12px;
        line-height: 40px;
    }

    .kt-user-menu-list .sub-menu,
    .kt-lang-menu-list .sub-menu {
        top: 40px;
    }

    /* ---------- logo + primary burger ---------- */

    .kt-main-head-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        padding: 18px 0 12px;
    }

    .kt-mobile-logo-row {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        align-items: center;
        width: 100%;
        margin-bottom: 8px;
    }

    .kt-mobile-menu-button {
        grid-column: 1;
        display: flex !important;
        width: 46px;
        height: 40px;
        margin: 0;
        padding: 11px 12px;
        justify-self: start;
        flex-direction: column;
        justify-content: space-between;
        border: 0;
        background: #fd8964;
        color: #fff;
        box-shadow: none;
    }

    .kt-mobile-menu-button span {
        display: block;
        width: 100%;
        height: 2px;
        background: currentColor;
    }

    .kt-mobile-logo-row .kt-logo {
        grid-column: 2;
        width: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .kt-mobile-logo-row .kt-logo img {
        display: block;
        max-width: 100%;
        width: auto;
        max-height: none;
        margin: 0 auto;
    }

    .kt-phones,
    .kt-worktime {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .kt-contact {
        font-size: 13px;
        gap: 8px;
    }

    .kt-contact-icon {
        font-size: 26px;
    }

    .kt-clock {
        font-size: 30px;
    }

    /* ---------- primary menu offcanvas ---------- */

    .kt-mobile-offcanvas {
        width: 88% !important;
        max-width: 440px;
        border-right: 0;
    }

    .kt-mobile-offcanvas-head {
        min-height: 40px;
        padding: 0;
        justify-content: flex-end;
        border-bottom: 1px solid #e5e5e5;
    }

    .kt-mobile-menu-close {
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 0;
        background: #fd8964;
        color: #fff;
        font-size: 26px;
        font-weight: 700;
        line-height: 40px;
        text-align: center;
        box-shadow: none;
    }

    .kt-mobile-offcanvas .offcanvas-body {
        padding: 0;
    }

    .kt-mobile-primary-menu,
    .kt-mobile-primary-menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .kt-mobile-primary-menu li {
        position: relative;
        border-bottom: 1px solid #e5e5e5;
    }

    .kt-mobile-primary-menu li > a {
        display: block;
        min-height: 44px;
        padding: 12px 50px 12px 15px;
        background: #fff;
        color: #444;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
    }

    .kt-mobile-primary-menu li > a:hover,
    .kt-mobile-primary-menu li > a:focus {
        background: #f7f7f7;
        color: #444;
    }

    .kt-mobile-submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        width: 42px;
        height: 44px;
        padding: 0;
        border: 0;
        border-left: 1px solid #e5e5e5;
        background: transparent;
        color: #888;
        font-size: 18px;
        line-height: 44px;
        text-align: center;
        box-shadow: none;
    }

    .kt-mobile-submenu-toggle span {
        display: block;
        transition: transform .2s ease;
    }

    .kt-mobile-primary-menu li.is-open > .kt-mobile-submenu-toggle span {
        transform: rotate(180deg);
    }

    .kt-mobile-primary-menu .sub-menu {
        display: none;
        position: static;
        width: 100%;
        border: 0;
        box-shadow: none;
    }

    .kt-mobile-primary-menu li.is-open > .sub-menu {
        display: block;
    }

    .kt-mobile-primary-menu .sub-menu li > a {
        padding-left: 20px;
        background: #f7f7f7;
        text-transform: none;
    }

    .kt-mobile-primary-menu .sub-menu .sub-menu li > a {
        padding-left: 35px;
        background: #eee;
    }

    .kt-mobile-primary-menu .sub-menu li > a:hover,
    .kt-mobile-primary-menu .sub-menu li > a:focus {
        background: #eee;
    }

    .kt-mobile-primary-menu .sub-menu .sub-menu li > a:hover,
    .kt-mobile-primary-menu .sub-menu .sub-menu li > a:focus {
        background: #e8e8e8;
    }
}


/* Kalyantop Blog header — OpenCart visual sync */
.kt-header{font-family:"Open Sans",sans-serif;font-weight:400;color:#666;font-size:12px;line-height:20px}
.kt-top-menu-list>li>a,.kt-user-menu-list>li>a,.kt-lang-menu-list>li>a{color:#888;font-size:12px;line-height:43px}
.kt-top-right{gap:18px}
.kt-user-menu-list>li>a::before{content:"\f007";display:inline-block;margin-right:4px;font-family:FontAwesome;font-size:14px;font-style:normal;font-weight:normal;line-height:1;color:#888}
.kt-user-menu-list .sub-menu a,.kt-lang-menu-list .sub-menu a{padding:8px 15px;color:#777;font-size:12px;line-height:20px}
.kt-contact{gap:12px;color:#666;font-size:15px}
.kt-contact-icon,.kt-clock{flex:0 0 auto;color:#777;font-size:30px;line-height:1}

.kt-phones strong,.kt-phones span{color:#444}
.kt-logo img{max-height:95px}
.kt-mobile-menu-button{width:60px;height:40px;padding:0;border:0;background:#ff8a65;color:#fff;font-size:40px;line-height:0;box-shadow:none}
.kt-mobile-menu-button .fa{font-size:inherit}
.kt-mobile-top-menu-button{width:45px;height:40px;padding:0;border:0;background:transparent;color:#444;font-size:24px;line-height:40px;text-align:center;box-shadow:none}
.kt-mobile-top-menu-button .fa,
.kt-mobile-menu-button .fa {
    font-size: 14px;
}

@media(max-width:767px){
 .kt-topbar,.kt-topbar-inner{min-height:40px}
 .kt-topbar-inner{padding-left:15px;padding-right:15px}
 .kt-top-menu-list>li>a,.kt-user-menu-list>li>a,.kt-lang-menu-list>li>a{font-size:12px;line-height:40px}
 .kt-top-right{gap:16px}
 .kt-user-menu-list .sub-menu,.kt-lang-menu-list .sub-menu{top:40px}
 .kt-contact{gap:8px;font-size:13px}
 .kt-contact-icon,.kt-clock{font-size:24px}
 .kt-mobile-logo-row{grid-template-columns:65px minmax(0,1fr) 65px}
 .kt-mobile-menu-button{width:60px;height:40px;justify-self:start}
 .kt-mobile-logo-row .kt-logo img{width:auto;max-width:100%;max-height:none;margin:0 auto}
 .kt-mobile-top-menu-button span,.kt-mobile-menu-button span{display:none}
}
@media (max-width: 767px) {
    .kt-top-right {
        gap: 16px;
    }

    .kt-user-menu-list > li > a,
    .kt-lang-menu-list > li > a {
        padding-left: 8px;
        padding-right: 8px;
    }

.kt-mobile-top-menu-button {
    width: 45px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #444;
    font-size: 24px;
    line-height: normal;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: none;
}

.kt-mobile-top-menu-button .fa {
    font-size: 14px;
    line-height: 1;
}

.kt-mobile-menu-button {
    width: 60px;
    height: 40px;
    padding: 0;
    border: 0;
    background: #ff8a65;
    color: #fff;
    line-height: normal;

    display: flex !important;
    align-items: center;
    justify-content: center;

    box-shadow: none;
}

.kt-mobile-menu-button .fa {
    font-size: 14px;
    line-height: 1;
}
}

ol.toc-list{
  margin:0;
  padding:0;
}
ol.toc-list li{
list-style-position: inside;
padding:5px 0
}

ol.toc-list li a{
color:#777;
text-decoration:none;
}
.rmp-widgets-container{text-align:left !important}
.elfsight-app-03bc510a-a4c6-4db6-b3dd-7848bda9d80a .swiper-slide {
    background: transparent;
}
.latest-posts-swiper .swiper-wrapper {
    align-items: stretch;
}

.latest-posts-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.latest-posts-swiper .swiper-slide .post-card {
    width: 100%;
    height: 100%;
}

.latest-posts-swiper .swiper-button-next,
.latest-posts-swiper .swiper-button-prev {
    opacity: 0;
    transition: opacity .2s ease;
}

.latest-posts-swiper:hover .swiper-button-next,
.latest-posts-swiper:hover .swiper-button-prev {
    opacity: 1;
}
.latest-posts-swiper .swiper-button-prev {
    left: 10px;
}

.latest-posts-swiper .swiper-button-next {
    right: 10px;
}

.latest-posts-swiper .swiper-button-next,
.latest-posts-swiper .swiper-button-prev {
    color: #777;
}

.latest-posts-swiper {
    padding-bottom: 45px;
}
.latest-posts-swiper .swiper-pagination {
    bottom: 10px;
}

.latest-posts-swiper .swiper-pagination-bullet {
    opacity: .5;
}

.latest-posts-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}
.latest-posts-swiper {
    padding-bottom: 60px;
}

.latest-posts-swiper .swiper-pagination {
    bottom: 10px;
}

.latest-posts-swiper .post-card {
    text-align: left;
}

.latest-posts-swiper .post-card-title,
.latest-posts-swiper .post-card-excerpt,
.latest-posts-swiper .post-card-footer {
    text-align: left;
}
.latest-posts-swiper .swiper-pagination-bullet-active {
    background: #000;
    opacity: 1;
}

.latest-posts-swiper {
    padding-bottom: 55px !important;

    --swiper-pagination-bottom: 5px;
    --swiper-pagination-color: #000;
    --swiper-pagination-bullet-inactive-color: #777;
    --swiper-pagination-bullet-inactive-opacity: .6;
}
.latest-posts-swiper {
    padding-left: 2px !important;
    padding-right: 2px !important;
}
.post-featured-image {
    width: 100%;
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}
/* =========================================================
   NEW BLOG MOBILE HEADER
   ========================================================= */

.kt-mobile-header-bar,
.kt-mobile-menu-account,
.kt-mobile-menu-contacts,
.kt-mobile-top-links,
.kt-mobile-lang-links {
    display: none;
}

@media (max-width: 991.98px) {

    /* ---------- old mobile header off ---------- */

    .kt-topbar,
    .kt-main-head {
        display: none !important;
    }

    /* ---------- mobile header ---------- */

    .kt-mobile-header-bar {
        display: flex;
        width: 100%;
        min-height: 64px;
        align-items: center;
        gap: 10px;
        padding: 7px 12px;
        background: #fff;
        border-bottom: 1px solid #eee;
        font-family: "Open Sans", sans-serif;
    }

    .kt-mobile-menu-trigger,
    .kt-mobile-header-icon {
        display: flex;
        width: 34px;
        height: 44px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        text-decoration: none;
    }

    .kt-mobile-menu-trigger img {
        width: 29px;
        height: 29px;
    }

    .kt-mobile-header-icon img {
        max-width: 25px;
        max-height: 25px;
    }

    .kt-mobile-header-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .kt-mobile-header-logo a {
        display: block;
    }

    .kt-mobile-header-logo img {
        display: block;
        width: auto;
        max-width: 125px;
        max-height: 44px;
    }

    /* ---------- offcanvas ---------- */

    .kt-mobile-offcanvas {
        width: 95% !important;
        max-width: none !important;
        border: 0 !important;
        font-family: "Open Sans", sans-serif;
    }

    .kt-mobile-offcanvas .offcanvas-body {
        padding: 0;
        overflow-y: auto;
    }

    .kt-mobile-menu-close-wrap {
        position: absolute;
        top: 0;
        right: -5vw;
        width: 5vw;
        z-index: 10;
    }

    .kt-mobile-menu-close {
        position: fixed;
        top: 16px;
        right: 7px;

        width: 36px;
        height: 36px;

        padding: 0;
        border: 0;
        border-radius: 50%;

        background: #fff;
        color: #222;

        font-size: 30px;
        font-weight: 300;
        line-height: 34px;
        text-align: center;

        box-shadow: 0 1px 5px rgba(0,0,0,.18);
    }

    .offcanvas-backdrop.show {
        opacity: .55;
    }

    /* ---------- account ---------- */

    .kt-mobile-menu-account {
        display: block;
        padding: 0 16px;
    }

    .kt-mobile-menu-account a {
        display: flex;
        min-height: 56px;
        align-items: center;
        gap: 10px;

        border-bottom: 1px solid #ddd;

        color: #222;
        font-size: 15px;
        text-decoration: none;
    }

    .kt-mobile-menu-account img {
        width: 20px;
        height: 20px;
    }

    /* ---------- primary ---------- */

    .kt-mobile-primary-nav {
        margin: 14px 16px 0;
    }

    .kt-mobile-primary-menu,
    .kt-mobile-primary-menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .kt-mobile-primary-menu li {
        position: relative;
        border: 0;
    }

    .kt-mobile-primary-menu > li > a {
        display: block;
        min-height: 44px;
        padding: 12px 44px 12px 0;

        background: #fff;
        color: #222;

        font-size: 15px;
        line-height: 20px;
        text-align: left;
        text-transform: none;
        text-decoration: none;

        border: 0;
    }

    .kt-mobile-primary-menu > li > a:hover,
    .kt-mobile-primary-menu > li > a:focus {
        background: #fff;
        color: #fd8964;
    }

    .kt-mobile-submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;

        width: 40px;
        height: 44px;

        padding: 0;
        border: 0;

        background: transparent;
        color: #111;

        font-size: 20px;
        line-height: 44px;
        text-align: center;
        box-shadow: none;
    }

    .kt-mobile-submenu-toggle span {
        transform: none !important;
    }

    .kt-mobile-primary-menu .sub-menu {
        display: none;
        position: static;
        width: 100%;

        margin: 0;
        padding: 0;

        background: #f7f7f7;
        border: 0;
        box-shadow: none;
    }

    .kt-mobile-primary-menu li.is-open > .sub-menu {
        display: block;
    }

    .kt-mobile-primary-menu .sub-menu li > a {
        display: block;

        padding: 10px 40px 10px 20px;

        background: #f7f7f7;
        color: #333;

        font-size: 13px;
        text-align: left;
        text-transform: none;
        text-decoration: none;

        border: 0;
    }

    .kt-mobile-primary-menu .sub-menu .sub-menu li > a {
        padding-left: 35px;
        background: #eee;
    }

    /* ---------- contacts ---------- */

    .kt-mobile-menu-contacts {
        display: block;

        margin: 18px 16px 0;
        padding: 18px 0;

        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .kt-mobile-menu-phone {
        display: block;

        margin-bottom: 4px;

        color: #222;
        font-size: 21px;
        line-height: 26px;
        text-decoration: none;
    }

    .kt-mobile-menu-worktime {
        color: #555;
        font-size: 12px;
    }

    /* ---------- top links ---------- */

    .kt-mobile-top-links {
        display: block;
        margin: 15px 16px 0;
    }

    .kt-mobile-top-menu-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .kt-mobile-top-menu-list li {
        margin: 0;
        padding: 0;
    }

    .kt-mobile-top-menu-list a {
        display: block;

        padding: 10px 0;

        color: #222;
        font-size: 13px;
        text-decoration: none;
    }

    /* ---------- languages ---------- */

    .kt-mobile-lang-links {
        display: block;

        margin: 15px 16px 30px;
        padding-top: 15px;

        border-top: 1px solid #ddd;
    }

    .kt-mobile-lang-menu-list {
        display: flex;
        align-items: center;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .kt-mobile-lang-menu-list > li {
        display: flex;
        align-items: center;
    }
/*
    .kt-mobile-lang-menu-list > li:not(:last-child)::after {
        content: "|";
        display: inline-block;
        margin: 0 10px;
        color: #999;
    }*/

    .kt-mobile-lang-menu-list a {
        display: block;

        padding: 0;

        color: #333;
        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }

    .kt-mobile-lang-menu-list a:hover,
    .kt-mobile-lang-menu-list a:focus {
        color: #fd8964;
    }
}

@media (max-width: 991.98px) {

    .kt-mobile-lang-menu-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* Родительский пункт переключателя не показываем */
    .kt-mobile-lang-menu-list > .pll-parent-menu-item > a {
        display: none;
    }

    /* Сам список языков показываем всегда */
    .kt-mobile-lang-menu-list > .pll-parent-menu-item > .sub-menu {
        display: flex !important;
        position: static !important;

        margin: 0;
        padding: 0;

        background: transparent;
        border: 0;
        box-shadow: none;

        list-style: none;
    }

    .kt-mobile-lang-menu-list .sub-menu > li {
        display: flex;
        align-items: center;
    }

    .kt-mobile-lang-menu-list .sub-menu > li:not(:last-child)::after {
        content: "|";
        display: inline-block;
        margin: 0 10px;
        color: #999;
    }

    .kt-mobile-lang-menu-list .sub-menu a {
        display: block;
        padding: 0;

        background: transparent;
        color: #333;

        font-size: 14px;
        line-height: 24px;
        text-decoration: none;
    }

    .kt-mobile-lang-menu-list .sub-menu a:hover,
    .kt-mobile-lang-menu-list .sub-menu a:focus {
        color: #fd8964;
    }
}
@media (max-width: 991.98px) {

    .kt-mobile-offcanvas {
        top: 0;
        bottom: auto;

        height: 100dvh;
        max-height: 100dvh;

        overflow: hidden;
    }

    .kt-mobile-offcanvas .offcanvas-body {
        flex: 1 1 auto;
        min-height: 0;

        overflow-y: auto;
        overflow-x: hidden;

        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;

        padding-bottom: env(safe-area-inset-bottom);
    }

}
