:root {
    --violet: #4f46e5;
    --color:#000000;
}

body {
    color: var(--color);
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
}
@media (min-width: 1200px)
.container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1440px!important;
}

.violet-color{
    color: var(--violet);
}

.violet-background{
    background-color: var(--violet);
}

.violet-border-bottom{
    border-bottom: 1px solid var(--violet);
}

.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
    width: 100%;
    padding-right: 0.25rem; 
    padding-left: 0.25rem; 
    margin-right: auto;
    margin-left: auto;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 0.25rem; 
    padding-left: 0.25rem; 
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
}
.icms-header__middle {
    background-color: #ffffff;
    color: #ffffff;
}

.icms-header__top {
    background-color: var(--color);
    color: #ffffff;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 0.4rem 2.2rem 0 rgba(27, 30, 36, 0.1);
}

.btn-primary {
    color: #ffffff;
    background-color: var(--violet);
    border-color: var(--violet);
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #e99002;
    border-color: #e99002;
}

.page-item.active .page-link {
    z-index: 3;
    color: #ffffff;
    background-color: var(--violet);
    border-color: var(--violet);
}
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--violet);
    background-color: #ffffff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    z-index: 2;
    color: var(--violet);
    text-decoration: none;
    background-color: #ffffff;
    border-color: #dee2e6;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #ffffff;
    background-color: var(--violet);
}

a {
    color: var(--color);
    font-weight: 400;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: var(--violet);
    text-decoration: underline;
}

.nav-tabs .nav-link.active::before, .icms-navbar .nav-link.active::before {
    background-color: var(--violet);
    width: 100%;
}

.nav-tabs .nav-link.active, .icms-navbar .nav-link.active {
    background-color: var(--violet);
    border-radius: 0;
    color: #ffffff;
}

.icms-widget__transparent>.card-header:before, .icms-widget__square>.card-header:before {
    background: var(--violet);
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--violet);
}

.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
}

.btn-outline-info {
    color: var(--color);
    border-color: transparent;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}

.btn-outline-info:hover {
    color: var(--violet);
    font-weight: 400;
    text-shadow: 0.5px 0 0 var(--violet); /* имитация жирности */
    background-color: transparent;
    border-color: transparent;
}

.badge-primary {
    color: #ffffff;
    background-color: var(--violet);
}

.badge {
    display: inline-block;
    padding: 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar .form-control:focus {
    box-shadow: inset 0 -2px 0 var(--violet)
}

.navbar .form-control:focus~.input-group-append .btn {
    color: var(--violet)
}

.icms-user-menu {
    background-color: var(--violet);
    cursor: pointer;
}
    /* Общие стили бегущей строки*/
    .breaking-news-header {
        background-color: var(--violet);
        color: white;
        font-weight: bold;
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .breaking-news-header svg {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    .breaking-slider-container {
        position: relative;
        overflow: hidden;
        height: 40px;
    }

    .slider-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        height: 100%;
    }

    .slider-item {
        min-width: 100%;
        display: flex;
        align-items: center;
        padding: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .slider-item a {
        color: #333;
        text-decoration: none;
        font-size: 0.95rem;
        line-height: 1.2;
        display: block;
    }

    .slider-item a:hover {
        color: var(--color);
        text-decoration: underline;
    }

.nav-btn {
    background: none;
    border: none;
    /* border-radius: 50%; */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* margin: 0 2px; */
    transition: background 0.2s;
    padding: 0;
}

    .nav-btn:hover {
        background: #dee2e6;
    }

    .nav-btn svg {
        width: 18px;
        height: 18px;
        fill: #495057;
    }

    /* Адаптивность */
    @media (max-width: 575.98px) {
        .breaking-news-header {
            font-size: 0.85rem;
            padding: 0.4rem 0.6rem;
        }
        .breaking-news-header svg {
            width: 14px;
            height: 14px;
        }
        .nav-btn {
            width: 30px;
            height: 30px;
        }
        .nav-btn svg {
            width: 16px;
            height: 16px;
        }
        .slider-item a {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 767.98px) {
        .breaking-news-header span {
            display: none !important;
        }
        .breaking-news-header svg {
            margin-right: 0;
        }
    }

    @media (min-width: 1200px) {
        .breaking-news-header {
            font-size: 1rem;
        }
        .slider-item a {
            font-size: 1rem;
        }
    }

    .topgrid-featured .topgrid-slider-container {
        height: 690px;
    }
    .topgrid-featured .topgrid-slider-track {
        height: 100%;
    }
    .topgrid-featured .topgrid-slide {
        height: 100%;
    }
    .topgrid-featured .object-cover {
        object-fit: cover;
        object-position: center;
    }
    .topgrid-featured .topgrid-zoom {
        transition: transform 0.4s ease;
        transform-origin: center center;
    }
    .topgrid-featured .topgrid-slider-container:hover .topgrid-zoom,
    .topgrid-featured .topgrid-grid-card:hover .topgrid-zoom {
        transform: scale(1.05);
    }
    .topgrid-featured .topgrid-gradient-bottom,
    .topgrid-featured .topgrid-grid-gradient-small {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        color: white;
    }
    .topgrid-featured .topgrid-gradient-bottom {
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }
    .topgrid-featured .topgrid-grid-gradient-small {
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }
    .topgrid-featured .topgrid-grid-content {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .topgrid-featured .topgrid-grid-category-badge {
        background-color: var(--violet);
        border-radius: 0;
        font-size: 0.75rem;
        align-self: flex-start;
        z-index: 1;
        flex-shrink: 0;
    }
    .topgrid-featured .topgrid-grid-title {
        font-size: 0.875rem;
        line-height: 1.2;
        flex-grow: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }
    .topgrid-featured .topgrid-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.4);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s;
    }
    .topgrid-featured .topgrid-slider-container:hover .topgrid-slider-btn {
        opacity: 0.8;
    }
    .topgrid-featured .topgrid-slider-btn:hover {
        opacity: 1 !important;
    }
    .topgrid-featured .topgrid-slider-btn svg {
        width: 18px;
        height: 18px;
    }
    .topgrid-featured .topgrid-slider-prev {
        left: 10px;
    }
    .topgrid-featured .topgrid-slider-next {
        right: 10px;
    }
    .topgrid-featured .topgrid-dot {
        width: 8px;
        height: 8px;
        background: rgba(255,255,255,0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s;
    }
    .topgrid-featured .topgrid-dot.active {
        background: white;
    }

    .news-block-1 .image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.news-block-1 .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-block-1 .card {
  border: 0;
  border-radius: 0;
}
.news-block-1 .image-link {
  display: block;
  height: 100%;
}
.news-block-1 .card-full:hover .image-link img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-1 .image-link img {
  transition: transform 0.3s ease;
}
@media (max-width: 991.98px) {
  .news-block-1 .image-wrapper {
    padding-top: 56.25%;
  }
}
@media (max-width: 767.98px) {
  .news-block-1 .image-wrapper {
    padding-top: 50%;
  }
  .news-block-1 .col-4 {
    flex: 0 0 auto;
    width: 33.333333%;
    max-width: 80px;
  }
  .news-block-1 .col-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
}

.news-block-2 .card {
  border: 0;
  border-radius: 0;
}
.news-block-2 .image-link:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-2 .image-link img {
  transition: transform 0.3s ease;
}
.news-block-2 .ratio_360-202 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.news-block-2 .ratio_115-80 {
  position: relative;
  width: 100%;
  padding-top: 69.57%;
}
.news-block-2 .ratio_360-202 img,
.news-block-2 .ratio_115-80 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767.98px) {
  .news-block-2 .ratio_360-202,
  .news-block-2 .ratio_115-80 {
    padding-top: 75%;
  }
  .news-block-2 .col-3 {
    flex: 0 0 auto;
    width: 40%;
    max-width: 120px;
  }
  .news-block-2 .col-9 {
    flex: 0 0 auto;
    width: 60%;
  }
}

.news-block-3 .ratio_466-261 {
  position: relative;
  width: 100%;
  padding-top: 56.01%;
}
.news-block-3 .ratio_165-92 {
  position: relative;
  width: 100%;
  padding-top: 55.76%;
}
.news-block-3 .ratio_466-261 img,
.news-block-3 .ratio_165-92 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-block-3 .card {
  border: 0;
  border-radius: 0;
}
.news-block-3 .card-full:hover .image-wrapper img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-3 .card-full .image-wrapper img {
  transition: transform 0.3s ease;
}
.news-block-3 .ml-auto {
  margin-left: auto !important;
}
@media (max-width: 767.98px) {
  .news-block-3 .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .news-block-3 .ratio_466-261,
  .news-block-3 .ratio_165-92 {
    padding-top: 75%;
  }
}

.news-block-4 .ratio_360-202 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.news-block-4 .ratio_360-202 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-block-4 .card {
  border: 0;
  border-radius: 0;
}
.news-block-4 .card-full:hover .image-wrapper img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-4 .card-full .image-wrapper img {
  transition: transform 0.3s ease;
}

.news-block-5 .ratio_230-129 {
  position: relative;
  width: 100%;
  padding-top: 56.09%;
}
.news-block-5 .ratio_230-129 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-block-5 .card {
  border: 0;
  border-radius: 0;
}
.news-block-5 .card-full:hover .image-wrapper img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-5 .card-full .image-wrapper img {
  transition: transform 0.3s ease;
}
.news-block-5 .float-right {
  float: right !important;
}
@media (max-width: 767.98px) {
  .news-block-5 .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.news-block-6 .ratio_360-202 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.news-block-6 .ratio_360-202 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-block-6 .card {
  border: 0;
  border-radius: 0;
}
.news-block-6 .card-full:hover .image-wrapper img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-6 .card-full .image-wrapper img {
  transition: transform 0.3s ease;
}
.news-block-6 .float-right {
  float: right !important;
}
.news-block-6 .b-0 {
  bottom: 0 !important;
}

.news-block-7 .ratio_360-202 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.news-block-7 .ratio_115-80 {
  position: relative;
  width: 100%;
  padding-top: 69.57%;
}
.news-block-7 .ratio_360-202 img,
.news-block-7 .ratio_115-80 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-block-7 .card {
  border: 0;
  border-radius: 0;
}
.news-block-7 .card-full:hover .image-wrapper img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news-block-7 .card-full .image-wrapper img {
  transition: transform 0.3s ease;
}
.news-block-7 .float-right {
  float: right !important;
}

.activity-date-header {
    background: linear-gradient(90deg, var(--violet), #6a11cb);
}

.activity-border-left {
    border-left: 1px solid var(--violet) !important;
}

.activity-timeline-dot {
    position: absolute;
    left: -7px;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: var(--violet);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.3);
}

.activity-avatar-wrapper {
    margin-right: 1rem !important;
}

.activity-avatar-border {
    border: 2px solid var(--violet) !important;
}

.online-pulse {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border: 2px solid white;
    display: inline-block;
    animation: pulse 2s infinite;
}

.activity-border {
    border: 1px solid rgba(123, 97, 255, 0.3) !important;
    border-radius: 0 !important;
}

.activity-border-top {
    border-top: 1px solid rgba(123, 97, 255, 0.2) !important;
}

.activity-btn-outline {
    border: 1px solid var(--violet) !important;
    color: var(--violet) !important;
}

.activity-category {
    color: var(--violet) !important;
    font-weight: 500;
}

.activity-category-separator {
    color: var(--violet) !important;
}

.activity-image-link {
    width: 60px;
    height: 60px;
    margin-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.gallery-indicator {
    bottom: 2px;
    right: 2px;
    padding: 1px 3px;
    background-color: var(--violet) !important;
}

.hover-scale {
    transition: transform 0.2s ease-in-out;
}

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

.hover-shadow {
    transition: all 0.2s ease-in-out;
}

.hover-shadow:hover {
    box-shadow: 0 2px 8px rgba(123, 97, 255, 0.3);
    transform: translateY(-1px);
}

.hover-underline {
    position: relative;
}

.hover-underline:hover {
    text-decoration: none;
}

.hover-underline:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--violet);
}

.hover-bg-primary:hover {
    background-color: var(--violet) !important;
    color: white !important;
    border-color: var(--violet) !important;
}

.hover-bg-light:hover {
    background-color: #f8f9fa !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(123, 97, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(123, 97, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(123, 97, 255, 0);
    }
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.activity-item {
    transition: all 0.2s ease-in-out;
}

.activity-item:hover {
    transform: translateX(3px);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.activity-hr {
    border-top: 1px solid var(--violet) !important;
}

.comment-item {
    transition: all 0.3s ease-in-out;
    border-left: 3px solid transparent;
    padding: 15px;
}

.comment-item:hover {
    border-left-color: var(--violet);
    background-color: rgba(123, 97, 255, 0.02);
    transform: translateX(2px);
}

.comment-item.selected-comment {
    border-left: 3px solid var(--violet) !important;
    background-color: rgba(123, 97, 255, 0.05) !important;
}

.bad-comment {
    background-color: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.3) !important;
}

.hover-primary:hover {
    color: var(--violet) !important;
}

.rate-disabled {
    opacity: 0.5;
}

.comment-rating {
    min-width: 40px;
}

.comment-rating-btn {
    transition: all 0.2s ease-in-out;
}

.comment-rating-btn:hover {
    transform: scale(1.1);
    color: var(--violet) !important;
}

.rating-value {
    min-width: 30px;
    text-align: center;
}

.activity-border-bottom {
    border-bottom: 1px solid rgba(123, 97, 255, 0.2) !important;
}

.ns-1 { margin-left: 20px !important; }
.ns-2 { margin-left: 40px !important; }
.ns-3 { margin-left: 60px !important; }
.ns-4 { margin-left: 80px !important; }
.ns-5 { margin-left: 100px !important; }

@media (max-width: 768px) {
    .activity-item {
        padding-left: 20px !important;
    }

    .activity-timeline-dot {
        left: -5px !important;
        top: 8px !important;
        width: 10px !important;
        height: 10px !important;
    }

    .activity-avatar-wrapper {
        margin-right: 10px !important;
    }

    .activity-image-link {
        width: 50px;
        height: 50px;
    }
    
    .comment-item {
        padding: 10px;
    }
    
    .ns-1 { margin-left: 10px !important; }
    .ns-2 { margin-left: 20px !important; }
    .ns-3 { margin-left: 30px !important; }
    .ns-4 { margin-left: 40px !important; }
    .ns-5 { margin-left: 50px !important; }
    
    .comment-rating {
        margin-right: 15px !important;
    }
}

.icms-footer__middle {
    background-image: none;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000000;
    color: #ffffff;
}