:root {
  --font-main: 'Golos Text', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --color-text: #181818;
  --color-border: #666;
  
  --h1-size: 1.3rem;
  --h2-size: 1.2rem;
  --h3-size: 1.1rem;
  --h4-size: 1.1rem;
  --text-size: 1rem;
  --lead-size: 1.2rem;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--text-size);
}

/* Заголовки */
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: var(--font-heading);
}
h1, .h1 { font-size: var(--h1-size); }
h2, .h2 { font-size: var(--h2-size); }
h3, .h3 { font-size: var(--h3-size); }
h4, .h4 { font-size: var(--h4-size); }
h5, .h5, h6, .h6 { font-size: var(--text-size); }

.lead { font-size: var(--lead-size); }

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  :root {
    --h1-size: 1.125rem;
    --h2-size: 1.1rem;
    --h3-size: 1.05rem;
    --h4-size: 1rem;
    --text-size: 0.9375rem; /* 15px */
    --lead-size: 1.1rem;
  }
  
  /* Уменьшаем декоративные элементы */
  .header-h h1::before,
  .header-h h1::after,
  .header-h h2::before,
  .header-h h2::after {
    border-width: 0.5px;
  }
}

/* Жирность текста */
b, strong { font-weight: 600; }
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

/* Размеры текста с адаптацией */
[class*="fs-"] a { font-size: inherit !important; }

/* Десктопные размеры */
.fs-13 { font-size: 13px; } .fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; } .fs-16 { font-size: 16px; }
.fs-17 { font-size: 17px; } .fs-18 { font-size: 18px; }
.fs-19 { font-size: 19px; } .fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; } .fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; } .fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; } .fs-34 { font-size: 34px; }
.fs-36 { font-size: 36px; } .fs-40 { font-size: 40px; }
.fs-50 { font-size: 50px; } .fs-60 { font-size: 60px; }

/* Мобильные размеры */
@media (max-width: 768px) {
  .fs-13 { font-size: 12px; } .fs-14 { font-size: 13px; }
  .fs-15 { font-size: 14px; } .fs-16 { font-size: 15px; }
  .fs-17 { font-size: 15px; } .fs-18 { font-size: 16px; }
  .fs-19 { font-size: 17px; } .fs-20 { font-size: 18px; }
  .fs-22 { font-size: 19px; } .fs-24 { font-size: 20px; }
  .fs-26 { font-size: 22px; } .fs-28 { font-size: 23px; }
  .fs-30 { font-size: 24px; } .fs-34 { font-size: 26px; }
  .fs-36 { font-size: 28px; } .fs-40 { font-size: 30px; }
  .fs-50 { font-size: 36px; } .fs-60 { font-size: 42px; }
}

/* Стили заголовков */
.header-h h1,
.header-h h2 {
  position: relative;
  padding: .6rem;
  text-align: center;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.header-h h1 {
  font-size: var(--h1-size);
}

.header-h h2 {
  font-size: var(--h2-size);
  text-transform: uppercase;
}

.header-h h1::before,
.header-h h1::after,
.header-h h2::before,
.header-h h2::after {
  content: "";
  position: absolute;
  border-bottom: 1px solid var(--color-border);
  left: 50%;
  transform: translateX(-50%);
}

.header-h h1::before { width: 25%; bottom: .3rem; }
.header-h h1::after { width: 18%; bottom: 0; }
.header-h h2::before { width: 25%; bottom: .5rem; }
.header-h h2::after { width: 18%; bottom: 0.2rem; }

/* /Общие правила на всём сайте */

/* Список в шапке block-main.tpl */
.ai-features {
  color: #333;
}

.features-list {
  list-style-type: none;
  padding-left: 0;
}

.features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.features-list i {
  color: #1264AD;
  width: 20px;
  text-align: center;
  margin-right: 10px;
}

.note {
  font-style: italic;
  color: #666;
}
/*  */


.bg-light { background-color: rgba(248, 249, 250, 1) !important;}
/* .sticky-top {z-index:99;}  Иначе выпад. меню ред. прячется под sticky-top сайдбара */

/* Адаптивность всех картинок */
img{max-width: 100%; height: auto;}
  
a { color: #0000FF; text-decoration:none;}
a:hover {color:#00131D; text-decoration:none;}
.comment-link a {color: #1264AD;}
.comment-link a:hover {color: #1264AD;}

.m-color {color: #1264AD;}  /* Главный цвет */
.m-bg {background: #1264AD;}
.m-bg-light {background: #FCFDFF;}
.m-bg-hover :hover {
background: #1264AD;  
color: #FFF !important;
}


.text-shadow {
color: #000;
text-shadow: 
1px 1px 1px rgba(0, 0, 0, 0.1), 
0 0 6px rgba(0, 0, 255, 0.1);
}

/* Меню сайдбара */
.menu-side {
  list-style-type: none;
  padding-left: 0;
}

.active-indicator {
  display: contents;
}

.active-indicator .list-group-item.active {
    z-index: 2;
    color: #1264AD !important;
    background-color: #FFF !important;
    border-color: #1264AD;
}
  
/* Между буквами */
.fl-3 {letter-spacing: 3px;}
.fl-4 {letter-spacing: 4px;}
.fl-5 {letter-spacing: 5px;} 

/* Между строками */
.fh-1 {line-height: 1;}
.fh-2 {line-height: 1.2;}
.fh-3 {line-height: 1.3;}
.fh-4 {line-height: 1.4;}
.fh-5 {line-height: 1.5;}
.fh-6 {line-height: 1.6;}

 /* Радиус */
 .radius-2 {border-radius: 0.25rem;}
 .radius-4 {border-radius: 0.4rem;}
 .radius-6 {border-radius: 0.6rem;}
 .radius-8 {border-radius: 0.8rem;}
 .radius-10 {border-radius: 1rem;}
 .radius-25 {border-radius: 2rem;}


/* Картинки фонов */
.bg-1 {background:url('../img/bg/bg-1.webp')no-repeat center center; background-size:cover;background-attachment: fixed;}
.bg-2 {background:url('../img/bg/bg-1-y.webp')no-repeat center center; background-size:cover;background-attachment: fixed;}
.bg-3 {background:url('../img/bg/bg.webp')no-repeat center center; background-size:cover;background-attachment: fixed;}

/* Полная новость */

/* Меню полной новости */
#anchor-menu {
    background: #fdfeff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 18px;
    max-width: 100%;
}

#anchor-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#anchor-menu li {
    margin-bottom: 5px;
}

#anchor-menu a {
    text-decoration: none;
    color: #2D6B9F;
    transition: color 0.2s;
}

#anchor-menu a:hover {
    color: #143652;
}

/* Стиль стрелки возле заголовка */
.back-to-menu {
    float: left;
    margin-right: 8px;
    font-size: 18px;
    opacity: 0.3;
    text-decoration: none;
    color: #007bff;
    transition: opacity 0.3s, color 0.3s;
}

h2:hover .back-to-menu {
    opacity: 1;
    color: #0056b3;
}

.back-to-menu {
    float: left;
    margin-right: 8px;
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.3s, transform 0.3s;
    vertical-align: middle;
}

h2:hover .back-to-menu {
    opacity: 1;
    transform: translateY(-2px);
}

.back-to-menu svg {
    vertical-align: middle;
    width: 26px;
    height: 26px;
    fill: #007bff;
}

/* Основные стили fullstory.tpl */
.fullstory-content {
    font-size: 17px; 
    font-weight: 400;
    line-height: 1.6;
}

/* Заголовки */
.fullstory-content h2 {
    font-size: 1.25rem;
    color: #085191;
    margin: 16px 0 8px;
}

.fullstory-content h3,
.fullstory-content h4 {
    color: #085191;
    margin: 16px 0 4px;
}

.related-news {margin: 16px 0 4px;}
.related-news h3 {font-size: 18px;color: #131313;}

/* Абзацы и списки отступы */
.fullstory-content p {
    margin: 12px 0 0;
    line-height: 1.5;
}

/* .fullstory-content ul,
.fullstory-content ol {
    margin: 0 0 8px 0;
    padding-left: 20px;
}

.fullstory-content p + ul,
.fullstory-content p + ol {
    margin-top: 0;
} */

/* .fullstory-content a {color: ;} */
/* .fullstory-content a:hover {} */

/* Изображения fullstory*/
.fullstory-content img {
    max-width: 45%;
    height: auto;
    /* margin-bottom: 1rem; */
}

.fullstory-content img[style*="float:left"],
.fullstory-content img[align="left"] {
    float: left;
    margin: 0 1.5rem 1rem 0 !important;
}

.fullstory-content img[style*="float:right"],
.fullstory-content img[align="right"] {
    float: right;
    margin: 0 0 1rem 1.5rem !important;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .fullstory-content {
    font-size: 16px; 

}
.fullstory-content h2 {
    font-size: 19px;
}
    .fullstory-content img {
        float: none !important;
        max-width: 100%;
        margin: 0 auto 1rem !important;
    }
}

/* Кнопка DeepSeek */
.btn-deepseek {
  --deepseek-blue: #1890ff;
  --deepseek-border: #1890ff;
  background-color: rgba(24, 144, 255, 0.1); /* Полупрозрачный фон */
  border: 1px solid var(--deepseek-border); /* Яркий тонкий бордюр */
  color: #1890ff; /* Цвет текста как у градиента */
  transition: all 0.3s ease;
  font-weight: 400;
  backdrop-filter: blur(2px); /* Легкое размытие фона */
}

.btn-deepseek:hover {
  background-color: rgba(24, 144, 255, 0.2); /* Немного темнее при наведении */
  border-color: #40a9ff; /* Более светлый бордюр */
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(24, 144, 255, 0.15);
}

.btn-deepseek:active {
  transform: translateY(0);
  background-color: rgba(24, 144, 255, 0.25);
}

/* Галерея в карточке */
.gal-pad img {padding-bottom: 0px;}
.gal-pad-pf img {padding: 0px;}

/* конец полная новость */


/* Анимация карточек */
:root {
  --transition-speed: 0.3s;
}

.card-hover {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
}

/* Карточка во 2-м блоке главной и похожих новостях */
.h-max-car-top img{width: 310px; height: 200px; object-fit: cover; object-position: top;}
.h-tittl-car-top {height: 70px;}
@media screen and (max-width: 768px) {
.h-max-car-top img{width: 500px; height: 333px; object-fit: cover; object-position: top;}
.h-tittl-car-top {height: 80px;}
}

/* Вход - выход - Админка Логин */
#loginpanel {
  position: absolute;
  top: 15%;
  left: 30%;      
  width:300px;    
  display: none;
  z-index: 10;
  background: #fff;
  border: solid 3px #ccc;
  padding: 5px;
}

/* Подсветка пункта верхнего меню */
.navbar-nav .navbar-brand {color:#FFF;}
.navbar-nav .nav-item .nav-link {color: #FFF;}
.navbar-nav .nav-item .nav-link.active {color: #cadfff; text-decoration:none;}
.navbar-nav .nav-link {font-size:17px; padding-left: 15px; margin:4px 8px 3px 0;}
.navbar-nav .none-active .nav-link {text-decoration:none; color:#FFF;} /* без подменю вставить nav-item */

.navbar-nav .nav-item .nav-link {color: #FFF;}
.navbar-nav .nav-item.active .nav-link, .navbar-nav .nav-item:hover .nav-link {color: #ccdffa;}

/* Подменю */

.dropdown-menu {background: #1264AD;}
.nav-link .dropdown-toggle {color:#FFF;}
.dropdown-item.active, .dropdown-item:active {background-color: #045296;font-size:16px; color: #FFF;  font-weight:400;}
.dropdown-item {font-size:16px; color:#FFF;}

/* хлебные крошки */
.breadcrumb-item a{color:#1264AD;}
.breadcrumb-item a:hover{color:#000;}

/* навигация по страницам */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  text-decoration: none;
  border: 1px solid #ddd;
}

.pagination > li > a {
  background-color: #fff;
}

.pagination > li > span {
  background-color: #fafafa;
}

.pagination > li > a:hover,
.pagination > li > .pagination > li {
  z-index: 2;
  color: #000;
  background-color: #f5f5f5;
  border-color: #dcdcdc;
}

/* Похожие публикации */
.publication-block {
  position: relative;
  background: #1264AD;
  overflow: hidden;
  z-index: 1;
  transition: background-color 0.7s ease;
}

.publication-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #1264AD, #1a7bc8);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.7s ease;
}

.publication-block:hover::before {
  opacity: 1;
}

/* Текст + индикаторы в карусели в топе на главной #mainCarousel */
#mainCarousel .carousel-caption {
  right: 0%;
  left: 0%;    
  bottom: 0rem;
  padding-top: .5rem;
  padding-bottom: 2rem;
  color: #fff;
  text-align: left;
}

#mainCarousel .carousel-indicators [data-bs-target] {
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* Текст + индикаторы в карусели в каталоге #catCarousel */
#catCarousel .carousel-caption {
  right: 0%;
  left: 0%;    
  bottom: 0rem;
  padding-top: .5rem;
  padding-bottom: 2rem;
  color: #fff;
  text-align: left;
}

#catCarousel .carousel-indicators [data-bs-target] {
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* Корректирую кнопки BS5 по желанию */
.btn-outline-primary {
  color: #1264AD;
  border-color: #1264AD;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: #1264AD;
  border-color: #1264AD;
}
.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
  color: #fff;
  background-color: #1264AD;
  border-color: #1264AD;
}
.btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-outline-primary:disabled, .btn-outline-primary.disabled {
  color: #1264AD;
  background-color: transparent;
}
.border-primary {
  border-color: #1264AD !important;
}

/* Бургер меню */
.navbar-toggler {
  width: 20px;
  height: 20px;
  position: relative;
  transition: .5s ease-in-out;
  }
  
/* Обнуляем BS */
  .navbar-toggler, 
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border:0;
  }
  
  .navbar-toggler span {
  margin:0;
  padding:0;
  }
  
  .toggler-icon {
  display: block;
  position: absolute;
  height:2px;  /* толщина линии */
  width: 100%;
  background: #FFF;
  border-radius: 1px;
  opacity: 1;
  left:0;
  transform:rotate(0deg);
  transition: .25s ease-in-out;
  }
  
  .middle-bar {
    margin-top:0px;
  }
  
  /* при нажатии */
  .navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);
  }
  
  .navbar-toggler .middle-bar {
   opacity:0;
   filter: alpha(opacity=0);
  }
  
  .navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg);
  }
  
  /* иконка при открытом */
  .navbar-toggler.collapsed .top-bar {
    margin-top:-20px;
    transform: rotate(0deg);
  }
  .navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  .navbar-toggler.collapsed .bottom-bar {
   margin-top: 20px;
   transform: rotate(0deg);
  }
/* конец бургер */


/* обрамление обратной связи */
.service-forms{background:repeating-linear-gradient(-45deg,#383838,#383838 10px,#fff 10px,#fff 20px,#1264AD 20px,#1264AD 30px,#fff 30px,#fff 40px),#fff;padding:8px;margin:30px 0}
.service-forms .service-forms-content{background:#fff;padding:25px}

/* Иконки выпадающего списка в аккордеоне - поворот */
.panel-heading .fa-chevron:after {
  content: "\f078";   
}
.panel-heading.collapsed .fa-chevron:after {
  content: "\f054";   
}

/* Стили для якоря */
.anchor-wrapper {
  display: inline-block;
  width: 24px;
  height: 22px;
  margin-right: 8px;
  margin-bottom: 2px;
  position: relative;
  vertical-align: middle;
}
.anchor {
  display: block;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a0d2ff"><path d="M12 4l-8 8h5v8h6v-8h5z"/></svg>') no-repeat;
  background-size: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
  text-decoration: none;
  font-size: 0;
}
h2:hover .anchor {
  opacity: 1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236699CC"><path d="M12 4l-8 8h5v8h6v-8h5z"/></svg>') no-repeat;
}

/* Фикс для скролла под шапку */
:target::before,
h2[id]::before {
  content: "";
  display: block;
  height: 20px;      /* 60px фиксированное меню + 80px дополнительный отступ */
  margin-top: -10px; /* Компенсация с таким же значением */
  visibility: hidden;
  pointer-events: none;
}

/* Для мобильных устройств (если шапка меняет высоту) */
@media (max-width: 991.98px) {
  :target::before,
  h2[id]::before {
    height: 20px;
    margin-top: -10px;
  }
}

/*  */

.m-opacity a{
  opacity: 0.2;
}.m-opacity a:hover{
  opacity: 1;
}

/* Иконки соцсетей */
  /* Увеличенные иконки с фирменными цветами
  .btn-social-ok i { color: #ee8208; } 
  .btn-social-vk i { color: #2787F5; } 
  .btn-social-tg i { color: #2AABEE; } 
  .btn-social-wa i { color: #25D366; } 
   */

  /* Эффекты при наведении */
  .btn-outline-primary:hover i {
    color: white !important;
  }

  /* Уменьшаем внутренние отступы для больших иконок */
  .btn-outline-primary {
    padding: 0.25rem 0.5rem;
  }

/* Вверх-вниз прокрутка */
    .scroll-buttons {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 6px;
  }
  
  .scroll-btn {
    width: 36px;
    height: 32px;
    background-color: rgba(18, 100, 173, 0.4);
    color: white;
    border: 1px solid #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Добавляем тень для лучшей видимости */
    backdrop-filter: blur(2px); /* Лёгкое размытие фона под кнопкой */
}
  
  .scroll-btn.hidden {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px) scale(0.9);
      pointer-events: none;
  }
  
  .scroll-btn:hover {
    background-color: rgba(18, 100, 173, 0.7);
    transform: scale(1.1);
    border-color: #FFF; /* Убедимся, что граница остается белой при наведении */
    box-shadow: 0 3px 8px rgba(0,0,0,0.3); /* Усиливаем тень при наведении */
}
  
  .scroll-btn i {
      font-family: 'FontAwesome';
      font-style: normal;
      -webkit-font-smoothing: antialiased;
      line-height: 1;
      display: block;
  }
  
  /* Адаптивность для мобильных */
  @media (max-width: 768px) {
      .scroll-btn {
          width: 30px;
          height: 28px;
          font-size: 16px;
      }
      
      .scroll-buttons {
          right: 10px;
          bottom: 15px;
          gap: 6px;
      }
  }

/* код без pre */
code {font-size: 1.15em; color: #d63384;}

/* Кнопка копировать Prism JS */
code[class*=language-], pre[class*=language-] {
    color: #000;
    background: 0 0;
    text-shadow: 0 1px #fff;
    font-size: 17px;
    text-align: left;
    white-space: pre-wrap !important; /* Принудительный перенос строк */
    word-spacing: normal;
    word-break: break-word !important; /* Разрешаем перенос длинных слов */
    word-wrap: break-word !important;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

/* Основной контейнер кода */
:not(pre) > code[class*=language-], pre[class*=language-] {
    background: #f9fafa;
    border: 1px solid #dce7e7;
    border-radius: 6px; 
    max-height: 25em;
    overflow: auto !important; /* Оставляем auto, но с white-space: pre-wrap переносы будут работать */
    scrollbar-width: thin; /* Тонкий скроллбар всегда */
    padding: 1em;
    margin-top: 1.5em;
    position: relative;
}

/* Убираем изменение скроллбара при наведении */
:not(pre) > code[class*=language-]:hover, pre[class*=language-]:hover {
    scrollbar-width: thin; /* Оставляем тонким всегда */
}

/* Стили для тулбара (кнопки копирования) */
div.code-toolbar { position: relative;}

/* Делаем кнопку всегда видимой и позиционируем её красиво */
div.code-toolbar > .toolbar {
    position: absolute;
    z-index: 10;
    top: -1rem; /* Поднимаем немного вверх */
    right: 0.5rem; /* Сдвигаем вправо */
    opacity: 1 !important; /* Всегда видима */
    transition: none; /* Убираем плавное появление */
}

/* Стили для самой кнопки */
div.code-toolbar > .toolbar > .toolbar-item {
    display: inline-block;
}

div.code-toolbar > .toolbar > .toolbar-item > button {
    background: #1264AD !important; /* Синий фон как в вашем CSS */
    border: 1px solid #64b7ff !important;
    color: white !important;
    font-size: 1rem !important;
    padding: 0.15rem 0.75rem !important;
    border-radius: 0.3rem !important;
    cursor: pointer;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    font-family: inherit;
    line-height: 1.5;
    text-shadow: none !important;
    transition: background-color 0.2s ease;
}

/* Стиль для svg иконки (если используется) */
div.code-toolbar > .toolbar > .toolbar-item > button svg {
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 4px;
    fill: white;
}

/* Эффект при наведении на кнопку */
div.code-toolbar > .toolbar > .toolbar-item > button:hover,
div.code-toolbar > .toolbar > .toolbar-item > button:focus {
    background: #009933 !important; 
    border-color: #00c040 !important;
    color: white !important;
    text-decoration: none;
}

/* Состояние "скопировано" - добавлено через JS не обязательно */
div.code-toolbar > .toolbar > .toolbar-item > button.copied {
    background: #000 !important;
    border-color: #4f4f4f !important;
}

/* конец копировать */

/* диапазон конкретных брекпоинтов */
/* xl - xxl */
@media (min-width: 1200px) and (max-width: 1400px) {

}

/* lg - xl */
@media (min-width: 992px) and (max-width: 1200px) {

}

/* md -lg */
@media (min-width: 768px) and (max-width: 992px) {

}

/* sm - md */
@media (min-width: 576px) and (max-width: 768px) {

}

/* от минимального до конкретного брекпоинта */
/* до xxl */
@media screen and (max-width: 1400px) {
	

}

/* до xl */
@media screen and (max-width: 1200px) {	

}

/* до lg */
@media screen and (max-width: 992px) {

.anchor:before {
display: block;
content: "";
height: 60px;
margin: -3px 0 0;
}
  
}

/* до md */
@media (max-width: 768px) {
#loginpanel {left: 10%;} 


}




