:root {
    --cassiopeia-color-primary: #2d917f;
    --cassiopeia-color-hover: #f75815;
    --cassiopeia-color-link: blue;
    --shadow-sm : 0 1px 3px rgba(0, 0, 0, 0.05);
    --primary-blue: #2C5AA0;
    --primary-green: #2d917f;
    --accent-orange: #FF9800;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.07);
    --radius: 12px;
    --body-bg: #f8fafc;
    --default-color: #212529;
    --heading-color: #2d465e;
    --accent-color: #f75815;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--cassiopeia-color-hover);
    border-color: var(--cassiopeia-color-hover);
}
@media (width >= 1200px) {
    h1, .h1 {
        font-size: 2rem;
    }
}
h2, .h2 {
    font-size: 1.6rem;
}
h3, .h3 {
    font-size: 1.7rem;
}
.container-header .navbar-brand img{
    width: 75px;
    min-width: 75px;
}
.container-header {
    z-index: 10;
    background-color: #fff;
    background-image: none;
    position: relative;
    box-shadow: var(--shadow-sm);
    padding-bottom: .5rem;
    margin: 0 0 20px 0px;
}

.container-header .navbar-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.container-header .site-description {
    color: #000000;
    white-space: normal;
    font-size: 1rem;
    display: flex;
    justify-content: end;
    border-left: 1px solid #dfe3e7;
    padding: 0 0 0 24px;
    max-width: 315px;
}
.container-header .sitetitle {
    color: #000000;
    white-space: normal;
    font-size: 1rem;
}
.header_search, .header_social {
    display: flex;
    align-items: center;
    justify-content: end;
}
.header_social i.fa-brands {
    margin: 0 8px 0 0;
}
.offcanvas.show {
    background-color: var(--cassiopeia-color-primary);
    background-image: linear-gradient(135deg,var(--cassiopeia-color-primary),var(--cassiopeia-color-hover));
}
.container-header .container-nav {
    justify-content: flex-start;
    padding: 0;
}
.dj-megamenu-clean li a.dj-up_a > span{
    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;
    padding: 0;
    height: 30px !important;
}
.dj-megamenu-clean li a.dj-up_a{
    display: block;
    height: 30px !important;
}
.dj-megamenu-clean a.dj-up_a.last_item_nav {
    padding-right: 8px;
}
.mod-mainarticles-items{
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}
.mod-mainarticles-items.mainnews .mod-articles-item-content {
    padding: 32px;
}
h2.mod-articles-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark);
}
h2.mod-articles-title a, .lastnews h4.mod-articles-title a{
    color: var(--text-dark);
    text-decoration: none;
}
.imagemainnews {
    display: block;
    width: 100%;
    height: 436px;
       background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
a.main_item_link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.main-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}
.category-item {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    background: #2d917f;
    margin: 0 0 8px 0;
    color: #fff;
}
.category-item a {
    color: #fff;
    text-decoration: none;
}
.lastnews .category-item a{
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    background: none;
    text-decoration: none;
}
.lastnews .category-item {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    background: none;
    margin: 14px 0 0 0;
}
.main-news-meta span {
    line-height: normal;
    display: flex;
    align-items: baseline;
}
.main-news-meta span i.far {
    margin: 0 4px 0 0;
}
.mod-mainarticles-items.mainnews {
    margin: 0 0 16px 0;
}
.mod-mainarticles-items.mainnews-secondrow .imagemainnews {
    height: 200px;
}
.mod-mainarticles-items.mainnews-secondrow {
    margin: 16px 0 0 0;
}
.mod-mainarticles-items.mainnews-secondrow .mod-articles-item-content{
    padding: 20px;
}
.mod-mainarticles-items.mainnews-secondrow h2.mod-articles-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}
.mod-mainarticles-items.mainnews-secondrow p{
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}
.mod-mainarticles-items.mainnews p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}
.lastnews h4.mod-articles-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 4px 0 0 0;
    line-height: 1.3;
}
.lastnews .main-news-meta {
    border: none;
    padding: 0;
}
.lastnews article.mod-articles-item {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}
.lastnews article.mod-articles-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-right.card.lastnews .card-body {
    border-radius: var(--radius);
    background: var(--card-bg);
}
.sidebar-right.card.lastnews {
    border-radius: var(--radius);
}
.category-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}
.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0f2fe, #dcfce7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}
.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.category-card p, .category-card .mod-articlescategories-category-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 18px;
}
.category-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}
.history_item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: transform 0.3s;
    padding: 20px;
}
.history_avatr img {
    width: 90px;
    height: 70px;
    border-radius: var(--radius);
}
.history_title {
    display: flex;
    flex-direction: column;
}
span.history_name a{
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--text-dark);
}
.history_blcocktitle h2 a{
    text-decoration: none;
    color: var(--text-dark);
}
.history_phrase {
    padding: 18px 0 18px 0;
    font-style: italic;
}
.history_phrase p{
    margin: 0;
}
span.history_description {
    font-weight: 400;
    color: gray;
}
.footer{
    background-color: var(--text-dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
    margin-top: 40px;
    background-image: none;
}
.footersocial .overlay {
    display: flex;
    justify-content: space-between;
}
.footersocial .overlay p{
    margin:0;
}
.overlay.footerinfo {
    flex-direction: column;
    margin: 0 0 20px 0px;
}
.overlay.footerinfo a {
     margin: 20px 0 0px 0px;
}
.footer-carousel {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.footer-carousel .carousel-inner {
    padding: 0 50px;
}

.footer-carousel .carousel-item {
    text-align: center;
}

.footer-carousel .carousel-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 100%;
    min-height: 100px;
}

.footer-carousel img {
    max-height: 64px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: .3s;
    display: block;
}

.footer-carousel img:hover {
    filter: grayscale(0);
}

/* Стили для стрелок */
.footer-carousel .carousel-control-prev,
.footer-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
    background: transparent;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-carousel .carousel-control-prev {
    left: 0;
}

.footer-carousel .carousel-control-next {
    right: 0;
}

.footer-carousel .carousel-control-prev:hover,
.footer-carousel .carousel-control-next:hover {
    opacity: 1;
}

.footer-carousel .carousel-control-prev-icon,
.footer-carousel .carousel-control-next-icon {
    background-color: transparent;
    background-size: 100% 100%;
    width: 30px;
    height: 30px;
}

/* Кастомные стрелки без кругов */
.footer-carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.footer-carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media screen and (max-height: 800px) {
    .footer-carousel img {
        max-height: 40px;
    }
}

/* Сетка для слайдов - 8 элементов на десктопе */
.footer-carousel .row-cols-8 {
    display: flex;
    flex-wrap: wrap;
}

.footer-carousel .carousel-item-slide {
    flex: 0 0 12.5%; /* 100% / 8 = 12.5% */
    padding: 0 10px;
    text-align: center;
}
.full-width.footer-bottom {
    background: #F4F4F4;
}
/* Blogy Blog Styles for Joomla */
/* Add this to your template's user.css or custom.css file */

/* Page Title Section */
.category-page .page-title {
    text-align: center;
    padding: 40px 0 20px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    margin-bottom: 40px;
}

.category-page .page-title .breadcrumbs {
    margin-bottom: 1.5rem;
}

.category-page .page-title .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}

.category-page .page-title .breadcrumb-item a {
    color: #f75815;
    text-decoration: none;
}

.category-page .page-title .breadcrumb-item.active {
    color: #2d465e;
}

.category-page .title-wrapper h1,
.category-page .title-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d465e;
    margin-bottom: 1rem;
}

.category-page .title-wrapper p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Article Cards */
.blog-item-card {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-item-card .post-img {
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.blog-item-card .post-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item-card:hover .post-img img {
    transform: scale(1.05);
}

.blog-item-card .post-category {
    font-size: 14px;
    color: #f75815;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-item-card .title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.blog-item-card .title a {
    color: #2d465e;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-item-card .title a:hover {
    color: #f75815;
}

.blog-item-card .post-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.blog-item-card .post-author {
    font-weight: 400;
    margin-bottom: 5px;
    color: #2d465e;
}

.blog-item-card .post-date {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* Sidebar Widgets */
.sidebar .widgets-container {
    margin-top: 0;
}

.widget-item {
    margin-bottom: 30px;
    background: #f9f9f9;
    border: 1px solid #e9ecef;
    padding: 25px;
    border-radius: 10px;
}

.widget-title {
    color: #2d465e;
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 12px;
    margin: 0 0 20px 0;
    border-left: 4px solid #f75815;
}

/* Search Widget */
.search-widget form {
    background: #ffffff;
    border: 1px solid #dee2e6;
    padding: 5px 10px;
    position: relative;
    border-radius: 50px;
    transition: 0.3s;
}

.search-widget form input[type="text"] {
    border: 0;
    padding: 8px 10px;
    width: calc(100% - 40px);
    background: transparent;
    outline: none;
}

.search-widget form button {
    background: none;
    border: 0;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 16px;
    color: #f75815;
}

.search-widget form:focus-within {
    border-color: #f75815;
}

/* Categories Widget */
.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget ul li {
    padding: 8px 0;
}

.categories-widget ul li a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s;
}

.categories-widget ul li a:hover {
    color: #f75815;
    padding-left: 5px;
}

/* Recent Posts Widget */
.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.recent-posts-widget .post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-posts-widget .post-item h4 a {
    color: #2d465e;
    text-decoration: none;
}

.recent-posts-widget .post-item h4 a:hover {
    color: #f75815;
}

.recent-posts-widget .post-item time {
    font-size: 12px;
    color: #6c757d;
}

/* Tags Widget */
.tags-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-widget ul li a {
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.tags-widget ul li a:hover {
    background: #f75815;
    color: #ffffff;
}

/* Pagination */
.pagination-2 {
    padding-top: 0;
}

.pagination-2 ul.pagination {
    justify-content: center;
    gap: 5px;
}

.pagination-2 .pagination li a,
.pagination-2 .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;

    color: #f75815;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-2 .pagination li.active span,
.pagination-2 .pagination li a:hover {
    background: #f75815;
    color: #ffffff;
    border-color: #f75815;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
}
.page-item:first-child .page-link, .page-item:last-child .page-link {
    border-radius: 50%;
}
.page-link.active, s.active > .page-link {
    z-index: 3;
    color: var(--pagination-active-color);
    background-color: #f75815;
    border-color: #f75815;
}
.pagination li.active > a.page-link {
    color: #ffffff;
    background-color: #f75815;
    border-color: #f75815;
}
li.page-item a {
    border-color: #f75815;
}
.pagination-2 .pagination li a:hover .pagination-2 .pagination li span{
    color: #fff;
}
.pagination-2 .pagination li a:hover span {
    color: #fff; /* Устанавливаем белый цвет для span внутри наведенной ссылки a */
}
.sidebar-rightin .item_recent h4{
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0;
}
.sidebar-rightin .item_recent h4 a {
    color: var(--default-color);
    transition: 0.3s;
    text-decoration:none;
}
.sidebar-right_lastnews{
   margin-bottom: 30px;
    background-color: color-mix(in srgb, var(--default-color), transparent 98%);
    border: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 30px;
    border-radius: 5px;
    z-index: 1;

}
.mix-controls .mix-filters .button, .inner-mix .button {
    background-color:color-mix(in srgb, var(--default-color), transparent 94%) !important;
    color:color-mix(in srgb, var(--default-color), transparent 30%) !important;
    border-radius: 50px;
    font-size: 16px;
    padding: 5px 15px;
    margin: 0 6px 8px 0;
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
}
.mix-controls .mix-filters .button:hover,.inner-mix .button:hover {
    background: var(--accent-color) !important;
    color: var(--contrast-color) !important;
    cursor:pointer;
}
#Controls135 .button.active {
    background: var(--accent-color) !important;
    color: #ffffff !important;
}
.mix-controls .mix-filters {
    width: 100%;
    vertical-align: top;
    text-align: left;
}
.sidebar-right_lastnews.sticky-top {
    top: 80px;
}
ul.mod-tagssimilar.tagssimilar.mod-list li a {
    color: var(--default-color);
    text-decoration: none;
    font-weight: bold;
    line-height: 18px;
    display: block;
    margin: 0 0 12px 0;
}
/* Применяем к заголовку внутри .itemrecent_infoblcok */
.itemrecent_infoblcok .mod-articles-title {
    display: -webkit-box;          /* Используем flexbox модель для line-clamp */
    -webkit-line-clamp: 2;         /* Ограничиваем двумя строками */
    -webkit-box-orient: vertical;  /* Ориентация элемента как вертикальный box */
    overflow: hidden;              /* Скрываем переполненный контент */
    text-overflow: ellipsis;       /* Добавляем троеточие (...) */
    word-wrap: break-word;         /* Переносим длинные слова */
    white-space: normal;           /* Разрешаем переносы строк */
    max-height: calc(line-height * 2); /* Альтернатива line-clamp, но менее надежная для разных шрифтов */
}

/* При наведении на весь заголовок показываем стандартный тултип с title */
.itemrecent_infoblcok .mod-articles-title[title]:hover::before {
    content: attr(title);         /* Отображаем содержимое атрибута title */
    position: absolute;            /* Позиционируем абсолютно */
    background: rgba(0, 0, 0, 0.8); /* Темный фон */
    color: white;                  /* Белый текст */
    padding: 4px 8px;             /* Отступы внутри */
    border-radius: 4px;           /* Скругление углов */
    z-index: 9999;                /* Поверх других элементов */
    pointer-events: none;         /* Не мешаем кликам */
    font-size: 0.875rem;          /* Размер шрифта */
    white-space: nowrap;          /* Не переносим строки внутри тултипа */
    /* Дополнительные стили для позиционирования тултипа */
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;                 /* Тултип сверху от заголовка */
    margin-bottom: 4px;           /* Отступ между тултипом и заголовком */
}
.sidebar-rightin .item_recent figure.mod-articles-image.item-image img {
    border-radius: 5px;
    height: 70px;
}
.item_recent {
    margin: 0 0 20px 0px;
}
.row.item_recent {
    margin: 0 0 20px 0px;
}
.itemrecent_infoblcok {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar-rightin .item_recent dd.mod-articles-date {
    display: block;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.sidebar-rightin .item_recent h4 a:hover{
    color: #f75815;
}
.author-info .post-meta {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 0.95rem;
}
figure.item-image {
    margin: 0 0 1em 0;
    border-radius: 5px;
}
figure.item-image img{
    border-radius: 5px;
    width: 100%;
}
.com-content-article__body p {
    color: #424242;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
}
.infotext p {
    font-size: 14px;
}
span.promo {
    font-weight: 700;
}
.com-content-article ol, .com-content-article ul {
    overflow: hidden;
    padding-left: 1rem;
}
a[href*="//zen.yandex.ru/"]{
    display: inline !important;
}
/* 1. Критически важно для sticky внутри flex-контейнера Bootstrap */
.sticky-wrapper {
    /* align-self: flex-start; */
    position: sticky;
    top: 140px;
}

/* Минималистичный дизайн с точками */
.mod-breadcrumbs__wrapper {
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.mod-breadcrumbs.breadcrumb {
    background: transparent;
    padding: 12px 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mod-breadcrumbs__item {
    font-size: 14px;

}

.mod-breadcrumbs__item a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s;
}

.mod-breadcrumbs__item a:hover {
    color: #212529;
}

.mod-breadcrumbs__item.active {
    color: #212529;
    font-weight: 500;
}

/*.mod-breadcrumbs__item:not(:last-child):after {
    content: "•";
    margin: 0 10px;
    color: #dee2e6;
    font-size: 12px;
}*/
li.mod-breadcrumbs__divider {
    margin: 0 12px 0 0;
}
.mod-breadcrumbs__divider i {
    color: #adb5bd;
    font-size: 14px;
}

.mod-breadcrumbs__here {
    color: #adb5bd;
    font-size: 13px;
    margin-right: 8px;
}

/* Hover эффект */
.mod-breadcrumbs__item a {
    position: relative;
}

/*.mod-breadcrumbs__item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #212529;
    transition: width 0.2s;
}*/

.mod-breadcrumbs__item a:hover::after {
    width: 100%;
}


/* Responsive */
@media (max-width: 768px) {
    .category-page .title-wrapper h1,
    .category-page .title-wrapper h2 {
        font-size: 1.75rem;
    }

    .blog-item-card .post-img img {
        height: 200px;
    }

    .widget-item {
        padding: 20px;
    }
}
@media (max-width: 1200px) {
    .footer-carousel .carousel-item-slide {
        flex: 0 0 16.666%; /* 6 элементов */
    }
}

@media (max-width: 992px) {
    .footer-carousel .carousel-item-slide {
        flex: 0 0 20%; /* 5 элементов */
    }
}

@media (max-width: 768px) {
    .footer-carousel .carousel-item-slide {
        flex: 0 0 25%; /* 4 элемента */
    }
}

@media (max-width: 576px) {
    .footer-carousel .carousel-item-slide {
        flex: 0 0 33.333%; /* 3 элемента */
    }
}

@media (max-width: 480px) {
    .footer-carousel .carousel-item-slide {
        flex: 0 0 50%; /* 2 элемента */
    }
}

/* Скрываем текст, если он есть */
.footer-carousel .card-body {
    display: none;
}

/* Скрываем индикаторы */
.footer-carousel .carousel-indicators {
    display: none;
}

/* Убираем стандартные стили списка */
.footer-carousel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
    margin: 0 0 2rem 0;
}
.com-content-article__body img{
    width:100%;
    border-radius: 5px;
}
.author-details .info dd.createdby {
    margin: 0;
    font-size: 1.1rem;
    color: var(--heading-color);
}
.tags-list a {
    background-color:color-mix(in srgb, var(--default-color), transparent 94%);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    border-radius: 50px;
    font-size: 16px;
    padding: 5px 15px;
    margin: 0 6px 8px 0;
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
}
button.tag-filter-btn{
    background-color:color-mix(in srgb, var(--default-color), transparent 94%);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    border-radius: 50px;
    font-size: 16px;
    padding: 5px 15px;
    margin: 0 6px 8px 0;
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
    border:none;
}
.tags-list a:hover, button.tag-filter-btn.active {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.yottie-widget-header-inner{
    padding: 0px 20px 16px 20px !important;
}
.yottie-widget-feed-inner .yottie-widget-feed-section-pagination {
    position: relative !important;
    padding: 5px !important;
}
.descrptioncalc p {
    border-radius: 4px;
    border: 1px solid #000;
    padding: 40px;
    font-size: 1rem;
    margin: 20px 0px 40px 0;
}
._head_wlnir_34{
    font-size: 12px;
}
.wrapper_raschet {
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    padding: 20px;
    margin: 20px auto 60px auto;
    width: 540px;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}
.wrapper_raschet__header {
    margin: 0 0 14px 0;
}
.form_limf, .rkform_age, .stadiy_t, .stepen_g, .percentki {
    display: flex;
    flex-direction: column;
    margin: 20px 0 20px 0;
}
.rkmform_buttons {
    display: flex;
    justify-content: space-between;
}
.modal-backdrop {
    background-color: #000;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: -1;
}
.modal-open #mlsModal.modal {
    background: #fff;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    border: 1px solid #dbdbdb;
    overflow-x: hidden;
}
.wrappercalcur
{
    background: var(--accent-color);
    border-radius: 8px;
    padding: 10px 20px;
    position: absolute;
    z-index: 9;
}
.wrappercalcur a {
    color: #fff;
    font-weight: 600;
       text-decoration: none;
}
.overlay.border-radius {
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay.border-radius img{
    border-radius: 5px;
}
.wrappercalcur:hover {
    opacity: 0.9;
    cursor: pointer;
}
.com-content-article__body ul li, .com-content-article__body ol li {
    color: #424242;
    margin-bottom: 15px;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
}
.overlay.footerinfo button {
    width: 100%;
    margin: 20px 0 8px 0;
}
li.dj-up.first a.dj-up_a {
    padding: 0 0 0 8px;
}
.col-md-2.header_logo {
    width: 11%;
}
.cc_div #cm.has-tertiary-button {
    max-width: 50em !important;
}
.cc_div a {
    border-bottom: none !important;
}
.header_search button.btn.btn-primary i.fas.fa-search {
    margin: 0 12px 0 0px;
}
.mls-result-tags {
    display: flex;
    gap: 20px;
    font-size: 14px;
    align-items: baseline;
    color: #8b8b8b;
}
.mls-result-tags .author-details .info dd.createdby {
    margin: 0;
    font-size: 14px;
    color: #8b8b8b;
}
.com-content-article__body img.ize-thumbnail.alignleft {
    width: 150px !important;
    display: block;
}
img.size-thumbnail.alignleft {
    width: 150px;
    float: left;
}
@media (min-width: 992px) {
    .offcanvas-start {
        width: 100%;
    }
}
@media (max-width: 991.98px) {
    .offcanvas .metismenu.mod-menu .metismenu-item > ul {
        position: relative;
        width: 100%;
        margin-top: 1rem;
    }
    .offcanvas .metismenu.mod-menu .mm-collapse {
        background-color: transparent;
    }
    .offcanvas .metismenu.mod-menu .metismenu-item > a {
        color: #fff;
    }
}
.offcanvas-header > *:only-child {
    margin-left: auto;
}
@media (max-width: 778px) {
    .col-md-2.header_logo {
        width: 100%;
    }
    .container-header .site-description {
        max-width: 80%;
        text-align: center;
        margin: 0 0 10px 0;
        padding: 0;
        border: none;
    }
    .sidebar-rightin .item_recent figure.mod-articles-image.item-image img  {
    border-radius: 5px;
    height: 100%;
    }
    .header_social {
        justify-content: center;
    }
    .grid-child.container-nav {
        justify-content: end;
    }
    .dj-megamenu-wrapper {
        margin: 10px 10px 0 10px;
        position: fixed;
        top: 12px;
    }
    .dj-megamenu-select-dark .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn, .dj-megamenu-accordion-dark .dj-mobile-open-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        margin: 0 auto;
        padding: 0;
        width: 45px;
        height: 45px;
        background: var(--accent-color) !important;
        color: #e4e4e4;
        border: none;
        text-align: center;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-transition: background-color 0.2s ease-out, color 0.2s ease-out;
        transition: background-color 0.2s ease-out, color 0.2s ease-out;
        text-decoration: none;
    }
    .dj-mobile-open-btn.active .dj-mobile-open-icon, .dj-megamenu-select-dark .dj-mobile-open-btn:focus, .dj-megamenu-select-dark:hover .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:hover, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:focus, .dj-megamenu-accordion-dark .dj-mobile-open-btn:hover, .dj-megamenu-accordion-dark .dj-mobile-open-btn:focus
   {
        background: #e4e4e4;
        color: #434343;
    }
    .header_search {
        justify-content: center;
        margin: 14px 0 10px 0px;
    }
    .mod-history-items.history.row {
        gap: 30px;
    }
    .dj-offcanvas-dark {
        background: #ededed !important;
        color: #aeaeae !important;
    }
    ul.dj-mobile-dark li.dj-mobileitem>a {
        display: block;
        font-size: 14px;
        line-height: 1;
        background: #ededed !important;
        color: #393939 !important;
        text-decoration: none;
        padding: 20px 15px;
        cursor: pointer;
        border-top: 1px solid #434343;
        -webkit-transition: background-color 0.2s ease-out;
        transition: background-color 0.2s ease-out;
    }
    .dj-offcanvas-dark .dj-offcanvas-top{
        background: #ededed !important;
        text-align: right;
    }
    .dj-offcanvas-dark .dj-offcanvas-close-btn {
        display: inline-block;
        font-size: 20px;
        line-height: 1;
        background: none;
        border: none;
        color: #000000 !important;
        cursor: pointer;
        padding: 10px 12px;
    }

}