@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body,
body * {
    font-family: 'Montserrat', sans-serif;
}
a {
      --link-hover-color: var(--cassiopeia-color-link) !important
}

.card {
    border: none !important;
}
.btn btn-secondary{
  background: var(--cassiopeia-color-link);
}
.btn-primary{
  --bs-btn-bg: var(    --cassiopeia-color-primary) !important;
  --bs-btn-hover-bg: var(--cassiopeia-color-link) !important;
  --bs-btn-border-color: var(    --cassiopeia-color-primary) !important;
  --bs-btn-hover-border-color: var(--cassiopeia-color-link) !important;
}
#archive-items > div[class^="row"] {
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin-top: 10px;
}

.card-header {
    border-bottom: none !important;
    background: transparent !important;
}
.com-content-article, .com-content-archive{
  width: 1100px;
}
body .container-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
}
.accordion-body img { max-width: 150px !important; flex-shrink: 0 !important; }

body .navbar-brand,
body header .navbar-brand,
body .container-header .navbar-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin-right: auto !important;
    order: 1 !important;
    font-family: 'Montserrat', sans-serif !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important; 
}

/* Логотип - фиксированная ширина */
body .navbar-brand .logo,
body .navbar-brand img[src*="logo"],
body .navbar-brand a img {
    float: none !important;
    margin-right: 15px !important;
    display: inline-block !important;
    max-height: 60px !important;
    width: auto !important;
    flex-shrink: 0 !important; 
}

.documenty{
  width: 1100px !important;
}

body .navbar-brand .site-title,
body .navbar-brand .site-title a,
body .navbar-brand span:not(.logo),
body .navbar-brand .site-title {
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important; /* Полужирный */
    font-size: 1.8rem !important; 
    color: #333 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    
  
    max-width: 400px !important; 
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important; 
    text-align: left !important;
    

    flex: 1 1 auto !important;
    min-width: 0 !important;
}


body .container-nav,
body .container-header .container-nav {
    order: 2 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important; 
  align-items: center;
}


body .mod-menu,
body .container-nav .mod-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin-right: 50px !important;
    padding: 0 !important;
    align-items: center !important;
    font-family: 'Montserrat', sans-serif !important;
}
/* Элементы меню */
body .mod-menu__item {
    margin-left: 20px !important;
}

/* Ссылки в меню */
body .mod-menu__link {
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    color: #333 !important;
    transition: color 0.3s ease !important;
}

body .mod-menu__link:hover {
    color: #0078d7 !important;
}


body .navbar-brand:after {
    content: none !important;
    display: none !important;
}


#header .navbar-brand,
#header .site-title {
    font-family: 'Montserrat', sans-serif !important;
}
/* Для мобильных устройств */
@media (max-width: 1199px) {
    body .navbar-brand .site-title {
        max-width: 300px !important;
        font-size: 1.6rem !important;
    }
  
}

@media (max-width: 991px) {
    body .navbar-brand {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-bottom: 10px !important;
        flex-wrap: wrap !important;
    }
    
    body .navbar-brand .site-title {
        max-width: 100% !important;
        font-size: 1.5rem !important;
        margin-top: 5px !important;
    }
    
    body .container-nav {
        width: 100% !important;
        margin-left: 0 !important;
        order: 3 !important;
    }
    
    body .mod-menu {
        justify-content: center !important;
        flex-direction: column !important;
    }
    
    body .mod-menu__item {
        margin-left: 0 !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 768px) {
    body .navbar-brand .site-title {
        max-width: 250px !important;
        font-size: 1.4rem !important;
    }
}

@media (max-width: 576px) {
    body .navbar-brand {
        flex-wrap: wrap !important;
    }
    
    body .navbar-brand .site-title {
        max-width: 200px !important;
        font-size: 1.3rem !important;
        margin-top: 10px !important;
    }
}
.custom-logo-text {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    max-width: 800px !important;
  
}
.carousel-custom {
    max-width: 400px !important; 
    overflow: hidden !important;
    interval: 5;
    width: -webkit-fill-available;
    margin-left: 30px;
}



.carousel-custom .carousel-item  img {
    border-radius: 15px !important;
}
.card-body {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.card-text{
      text-align: center;
}
.moduletable carousel-custom {
  flex: right;
}
.moduletable carousel-custom{
  
}
.moduletable {
  
}
.big-map{
  width: 100%;
}
.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.cta-button {
    padding: 12px 25px;
    background: var(--cassiopeia-color-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--cassiopeia-color-link);
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transition: background 0.3s ease !important;
}

.cta-button.outline {
    background: var(--bg);
    color: var(--cassiopeia-color-primary);
    border: 2px solid var(--cassiopeia-color-primary);
}

.cta-button:hover {
    background: var(--cassiopeia-color-link);
    transform: translateY(-2px);
    color: var(--white);
}

.cta-button.outline:hover {
    background: var(--cassiopeia-color-primary);
    color: var(--white);
}
.mod-articles-image{
  display: flex !important;
  justify-content: center !important;
}
/* ПАРТНЕРЫ */
.partners-section {
    background: var(--bg);
    padding: 30px 0;
    overflow: hidden;
    width: fit-content;
  
}
#mod-custom117{
      display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--black);
    font-size: 22px;
    font-weight: 700;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
    padding: 10px 0;
    width: 100%;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 70px;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: scale 0.3s ease !important;
}

.partner-link:hover {
    scale: 1.1;
}
.img_part:hover{
}
.partner-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: var(--transition);
}
.partners-container {
    width: 1000px;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    position: relative;
}
.mod-articles-item{
  border-radius: 15px;
  background: white;
  padding: 15px;
  display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}
#mod-custom115{
  max-width: 700px;
}
#mod-custom135{
 width: -webkit-fill-available;
}
#mod-custom120{
  width: 50%;
  font-weight: bold;
  margin-top: 1rem;
}
.site-grid{
 /* background-image: url("/images/background.png");*/
 background: #F8F2F2;
  
}
.main-top card{
  background: #F8F2F2;
} 
.card-rows{
  gap: 10px;
  justify-content: center;
}
.card-body{
   background: #F8F2F2;
}
.bottom-b card {
  background: #F8F2F2;
}
.item-image img{
  border-radius: 15px;
  width: 285px;
  height: 180px;
}
.readmore{
        display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center; 
    margin-top: auto;
}
.readmore .btn{
  padding: 12px 25px;
    background: var(--cassiopeia-color-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--cassiopeia-color-link);
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transition: background 0.3s ease !important;
}
.readmore .btn:hover{
background: #32a445;  
}

.mod-articles-item{
  border-radius: 15px;
  background: white;
  padding: 15px;
  display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
  transition: box-shadow 0.3s ease;
  transition: scale 0.3s ease;
   height: -webkit-fill-available;
}
.mod-articles-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    scale: 1.05;
}

.mod-articles-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mod-articles-title {
    flex-shrink: 0;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 2);
    color: #333;
}
.list-unstyled{
  display: flex;
  gap: 10px;
}
.card-img-top{
  border-radius: 15px;
}
.card-header{
  background: #F8F2F2 !important;
}
.card-link:hover{
  scale: 1.05;
}

#mod-custom123 {
  display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.card-link:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    
}
.card{
  border-radius: 15px;
}
.card-bodys{
  border-radius: 15px;
  backgound: white;
  padding: 15px;
    display: flex;
    justify-content: center;
}
.card-link{
  margin-left: 0px;
  transition: scale 0.4s ease-in-out;
}
.card-link+.card-link{
  margin-left: 2rem !important;
}
.card-header  {
  text-align: center;
  background: #F8F2F2;
}

.blog-item{
  background: white;
  border-radius: 15px;
  padding: 15px;
  width: 1100px;
  display: flex;
  flex-direction: row;
  transition: scale 0.4s ease-in-out;
}
@media (max-width: 768px) {
  .blog-item{
    width: 100%;
    }
  }

.blog-item:hover{
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  scale: 1.01;
}

#mod-custom123 .card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideUp 0.6s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Задержки для последовательного появления */
#mod-custom123 .card-row:first-child .card:nth-child(1) { animation-delay: 0.1s; }
#mod-custom123 .card-row:first-child .card:nth-child(2) { animation-delay: 0.2s; }
#mod-custom123 .card-row:first-child .card:nth-child(3) { animation-delay: 0.3s; }
#mod-custom123 .card-row:last-child .card:nth-child(1) { animation-delay: 0.4s; }
#mod-custom123 .card-row:last-child .card:nth-child(2) { animation-delay: 0.5s; }
#mod-custom123 .card-row:last-child .card:nth-child(3) { animation-delay: 0.6s; }

/* Анимация при наведении */
#mod-custom123 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

#mod-custom123 .card:hover .card-img-top {
    transform: scale(1.05);
}

#mod-custom123 .card:hover .card-text {
    color: var(--cassiopeia-color-primary, #0066cc);
}

/* Плавная анимация для изображения */
#mod-custom123 .card-img-top {
    transition: transform 0.3s ease;
}

/* Плавная анимация для текста */
#mod-custom123 .card-text {
    transition: color 0.3s ease;
}

/* анимация появления */
@keyframes cardSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    70% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #mod-custom123 .card {
        animation-delay: 0.1s !important;
    }
}


.com-content-category-blog__item.blog-item .item-content
{
  width: fit-content;
}
.com-content-category-blog .item-image img{
          border-radius: 15px;
    width: max-content;
    height: max-content;
    max-height: 400px;
      margin-bottom: 10px;
}

.pagination{
  display: flex;
  justify-content: center;
  --bs-pagination-color: #066940 !important;
  --bs-pagination-hover-color: #097c4c !important;
  --bs-pagination-focus-color: #06653d !important;
    --bs-pagination-active-bg: #06653d !important;
--bs-pagination-active-border-color: #097c4c !important;
}

/* Испытаний модуль */
.tests-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.tests-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tests-card {
    width: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    height: 320px;
    
    /* Анимация появления */
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeIn 0.6s ease forwards;
}

/* Задержки для каждой карточки в ряду */
.tests-card-row:nth-child(1) .tests-card:nth-child(1) { animation-delay: 0.1s; }
.tests-card-row:nth-child(1) .tests-card:nth-child(2) { animation-delay: 0.2s; }
.tests-card-row:nth-child(1) .tests-card:nth-child(3) { animation-delay: 0.3s; }

.tests-card-row:nth-child(2) .tests-card:nth-child(1) { animation-delay: 0.4s; }
.tests-card-row:nth-child(2) .tests-card:nth-child(2) { animation-delay: 0.5s; }
.tests-card-row:nth-child(2) .tests-card:nth-child(3) { animation-delay: 0.6s; }

.tests-card-row:nth-child(3) .tests-card:nth-child(1) { animation-delay: 0.7s; }
.tests-card-row:nth-child(3) .tests-card:nth-child(2) { animation-delay: 0.8s; }
.tests-card-row:nth-child(3) .tests-card:nth-child(3) { animation-delay: 0.9s; }

.tests-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.tests-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.tests-card-body {
    padding: 15px;
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tests-card-text {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
}

/* Анимация выезжания снизу */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 850px) {
    .tests-card {
        width: 200px;
        height: 300px;
    }
    
    .tests-card-img {
        height: 200px;
    }
    
    .tests-card-body {
        height: 100px;
    }
}

@media (max-width: 650px) {
    .tests-card {
        width: 100%;
        max-width: 280px;
        height: 340px;
    }
    
    .tests-card-img {
        height: 240px;
    }
    
    .tests-card-body {
        height: 100px;
    }
    
    .tests-card {
        animation-delay: 0.1s !important;
    }
}
.map-iframe {
    pointer-events: none;
}

.map-iframe .map-controls {
    pointer-events: auto;
}


/*  Контакты    */


/* Контактная информация  */
 #mod-custom138 {
    border-radius: 15px;
    width: 1200px;
}

/* Основное руководство  */
#mod-custom139 {
  background: white;
    padding: 30px;
    border-radius: 15px;
    width: 1200px;
    padding-top: 0px;
  display: flex;
    flex-direction: column;
}
.row_user{
  display: flex;
    align-content: center;
    justify-content: center;
}

.row_user .card-mb-3,.card-mb-4{
background: #a1c79e;
    margin-right: 20px;
    padding: 20px;
    border-radius: 20px;
  transition: scale 0.3s ease !important;
}

.row_user .card-mb-3:hover,.card-mb-4:hover{
 scale: 1.005;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
/* Информация о сотрудниках */
#mod-custom140 {
  width: 1200px;
  padding-top: 0px;
}
.accordion-header{
  margin-top: opx !important;
}
.accordion-body{
   display: flex;
      padding: 30px;
}
.accordion-button{
 --bs-accordion-active-bg: #188339 !important;
--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgb(40 214 36 / 25%) !important; 
      --bs-accordion-active-color: #ffffff !important;
  --bs-accordion-border-color: #2a6118 !important;
  --bs-accordion-btn-color: #21711f !important;
}
.text-person{
  display: flex;
    flex-direction: column;
    justify-content: center;
}




/* Основная анимация модуля */
#mod-custom138 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.3s;
}
#mod-custom139 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.5s; /* Чуть больше задержка */
}
#mod-custom140 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.8s; /* Чуть больше задержка */
}
#mod-custom115 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.1s;
  }
#mod-custom135 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.2s;
  }
.carousel-custom {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.1s;
  }
.mod-news {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.5s;
  }
.gnovost {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.3s;
  }
.novosti {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.4s;
      display: flex;
    justify-content: center;
  }
.o-mis {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeInModule 0.6s ease forwards;
    animation-delay: 0.1s;
  }

/* Ключевые кадры */
@keyframes slideUpFadeInModule {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*  Документы  */


/* Основной контейнер категорий */
.com-content-categories {
    max-width: 1200px;         
    margin: 0 auto 40px;         
    width: 100%;
}

.com-content-categories__items {
    display: flex;
    flex-direction: column;     
    gap: 16px;                   
    width: 100%;
}


/* Карточка категории */
.com-content-categories__item {
    position: relative;           
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;          
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
    transition: all 0.2s ease;
    width: 100%;                 
    box-sizing: border-box;       
}

.com-content-categories__item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-color: #d0d9e8;
    transform: translateY(-2px);
}

.com-content-categories__item-title-wrapper {
    display: flex;
    flex-direction: column;
}

.com-content-categories__item-title {
    display: flex;
    align-items: center;         
    flex-wrap: wrap;             
    gap: 16px;                   
}

.com-content-categories__item-title a {
    font-size: 1.4rem;           
    font-weight: 500;
    color: #0a2942;
    text-decoration: none;
    line-height: 1.4;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    position: static;            
}

.com-content-categories__item-title a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;                  
}

.com-content-categories__item:hover .com-content-categories__item-title a {
    border-bottom-color: #2b6f9e;
    color: #1e4a6f;
}

.badge.bg-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #a1c79e !important;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 450;
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid #a1c79e;
    letter-spacing: 0.01em;
    white-space: nowrap;          
    z-index: 2;                   
    pointer-events: none;       
}

@media (max-width: 768px) {
    .com-content-categories__item {
        padding: 20px;
    }
    .com-content-categories__item-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .badge.bg-info {
        white-space: normal;
    }
}
/*  Испытания и Услуги */
.com-content-category__table.category {
    display: block !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    border-collapse: separate !important;
}


.com-content-category__table.category thead {
    display: block !important;
    margin-bottom: 25px !important;
    background: #0a2942 !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(10, 41, 66, 0.2) !important;
}

.com-content-category__table.category thead tr {
    display: block !important;
}

.com-content-category__table.category thead th {
    display: block !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
}

.com-content-category__table.category thead a {
    color: white !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 15px !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 40px !important;
    transition: 0.2s !important;
}

.com-content-category__table.category thead a:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateY(-2px) !important;
}

.com-content-category__table.category thead a::after {
    content: '⇅' !important;
    font-size: 1.2rem !important;
}

.com-content-category__table.category tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 1000px ;
}
@media (max-width: 1050px){
  .com-content-category__table.category tbody{
    width: 100% !important;
  }
} 

.com-content-category__table.category tbody tr {
    display: block !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.03) !important;
    border: 1px solid #eef2f6 !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.com-content-category__table.category tbody tr:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.05) !important;
    border-color: #d0d9e8 !important;
    transform: translateY(-2px) !important;
}

.com-content-category__table.category td.list-author,
.com-content-category__table.category th[scope="row"] + td,
.com-content-category__table.category td:not(.list-hits) {
    display: none !important;
}

/* Ячейка с заголовком */
.com-content-category__table.category th.list-title {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-weight: normal !important;
    margin-bottom: 0 !important;
}

.com-content-category__table.category th.list-title a {
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    color: #0a2942 !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.2s, color 0.2s !important;
    display: inline-block !important;
}

.com-content-category__table.category th.list-title a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
}

.com-content-category__table.category tbody tr:hover th.list-title a {
    border-bottom-color: #2b6f9e !important;
    color: #1e4a6f !important;
}


.com-content-category__table.category td.list-hits {
    display: inline-block !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    z-index: 2 !important;
    margin-top: 8px !important;
}

.com-content-category__table.category .badge.bg-info {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #a1c79e !important;
    color: #000000 !important;
    font-size: 0.9rem !important;
    font-weight: 450 !important;
    padding: 6px 16px !important;
    border-radius: 40px !important;
    border: 1px solid #a1c79e !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

/* Анимация появления */
.com-content-category__table.category tbody tr {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

.com-content-category__table.category tbody tr:nth-child(1) { animation-delay: 0.1s; }
.com-content-category__table.category tbody tr:nth-child(2) { animation-delay: 0.2s; }
.com-content-category__table.category tbody tr:nth-child(3) { animation-delay: 0.3s; }
.com-content-category__table.category tbody tr:nth-child(4) { animation-delay: 0.4s; }
.com-content-category__table.category tbody tr:nth-child(5) { animation-delay: 0.5s; }
.com-content-category__table.category tbody tr:nth-child(6) { animation-delay: 0.6s; }
.com-content-category__table.category tbody tr:nth-child(7) { animation-delay: 0.7s; }
.com-content-category__table.category tbody tr:nth-child(8) { animation-delay: 0.8s; }
.com-content-category__table.category tbody tr:nth-child(9) { animation-delay: 0.9s; }
.com-content-category__table.category tbody tr:nth-child(10) { animation-delay: 1s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .com-content-category__table.category tbody tr {
        padding: 20px !important;
    }
    .com-content-category__table.category th.list-title a {
        font-size: 1.2rem !important;
    }
    .com-content-category__table.category .badge.bg-info {
        white-space: normal !important;
    }
    .com-content-category__table.category thead {
        padding: 12px 16px !important;
    }
    .com-content-category__table.category thead th {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .com-content-category__table.category tbody tr {
        padding: 16px !important;
    }
    .com-content-category__table.category th.list-title a {
        font-size: 1.1rem !important;
    }
}


/*  О МИС    */


.o-mis{
  width: 1000px;
}


/* ==========================================
   ГЛОБАЛЬНЫЕ ФИКСЫ
   ========================================== */
html { overflow-x: hidden !important; }
body { overflow-x: hidden !important; width: 100% !important; }
*, *::before, *::after { box-sizing: border-box !important; }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; border-radius: 15px;}


/* ==========================================
   991px — ПЛАНШЕТ
   ========================================== */
@media (max-width: 991px) {

    /* === HEADER === */
    body .container-header,
    header.container-header {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: 8px 12px !important;
        gap: 8px !important;
    }

    body .navbar-brand .logo,
    body .navbar-brand img[src*="logo"],
    body .navbar-brand a img,
    .navbar-brand img,
    header .navbar-brand img {
        max-height: 60px !important;
        min-height: 55px !important;
        width: auto !important;
        flex-shrink: 0 !important;
        margin-right: 10px !important;
    }

    body .navbar-brand .site-title,
    body .navbar-brand .site-title a,
    body .navbar-brand span:not(.logo),
    .custom-logo-text,
    header .navbar-brand .site-title {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
        max-width: calc(100vw - 140px) !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        display: block !important;
        overflow: hidden !important;
        letter-spacing: -0.3px !important;
        text-transform: uppercase !important;
    }

    body .navbar-brand,
    body header .navbar-brand {
        flex: 1 !important;
        min-width: 0 !important;
        margin-right: 55px !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    /* === КОНТЕЙНЕРЫ === */
    .container-component, .container-main, main, .site-grid > * {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .o-mis, .partners-container,
    #mod-custom115, #mod-custom117, #mod-custom120,
    #mod-custom123, #mod-custom135,
    #mod-custom138, #mod-custom139, #mod-custom140 {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* === ВЕРХНИЙ БЛОК  === */
    .main-top > .card-body {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 10px !important;
    }

    .main-top > .card-body > .moduletable:first-child {
        flex: 1 1 55% !important;
        min-width: 0 !important;
        max-width: 55% !important;
    }

    .main-top > .card-body > .moduletable:last-child {
        flex: 1 1 42% !important;
        min-width: 0 !important;
        max-width: 42% !important;
    }

    .carousel-custom {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* === УСЛУГИ === */
    #mod-custom123 {
        width: 100% !important;
        padding: 0 10px !important;
    }

    /* === CARD-ROWS === */
    .card-rows {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .card-link { margin-left: 0 !important; width: 100% !important; }
    .card-link + .card-link { margin-left: 0 !important; }

    /* === НОВОСТИ === */
    ul.mod-articles-items.mod-articles-grid {
        grid-template-columns: none !important;
    }

    .item-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }
    .mod-articles-title { font-size: 0.95rem !important; }
    .mod-articles-item-content { padding: 10px !important; }

    /* === БЛОГ === */
    .blog-item {
        flex-direction: row !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .blog-item .item-image {
        max-width: 180px !important;
        flex-shrink: 0 !important;
    }

    /* === КНОПКИ === */
    .cta-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
    }
    .cta-button {
        max-width: 200px !important;
        font-size: 0.85rem !important;
        padding: 10px 18px !important;
    }

    /* === ПАРТНЕРЫ === */
    .partners-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 10px !important;
        box-sizing: border-box !important;
    }
    .partners-container { width: 100% !important; max-width: 100% !important; }
    .partners-logos { gap: 25px !important; }
    .partner-link { height: 35px !important; width: 55px !important; }

    /* === КАРТА === */
    .big-map, .big-map iframe,
    iframe[src*="yandex"], iframe[src*="google"],
    iframe[src*="map"], .map-iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
        border: none !important;
        border-radius: 15px !important;
        display: block !important;
    }
    iframe[width], iframe[style*="width"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* === ИСПЫТАНИЯ === */
    .tests-card-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .tests-card {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 200px !important;
    }
    .tests-card-img {
        height: 140px !important;
        object-fit: cover !important;
        width: 100% !important;
    }
    .tests-card-body { padding: 8px !important; height: auto !important; min-height: 50px !important; }
    .tests-card-text { font-size: 0.85rem !important; }

    /* === КОНТАКТЫ === */
    #mod-custom138, #mod-custom139, #mod-custom140 { padding: 20px 15px !important; }
    .row_user {
        display: flex !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .row_user .card-mb-3 { margin-right: 0 !important; width: 100% !important; }
    .accordion-body { flex-direction: row !important; gap: 15px !important; align-items: center !important; }
    .accordion-body img { max-width: 150px !important; flex-shrink: 0 !important; }

    /* === ДОКУМЕНТЫ === */
    .com-content-category__table.category,
    .com-content-categories {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* === FOOTER === */
    footer.container-footer, .container-footer {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* === СЛАЙДЕР НОВОСТЕЙ  === */
    .ns-w { width: 100%; overflow: hidden; position: relative; border-radius: 10px; }
    .ns-t { display: flex; transition: transform .5s ease; }
    .ns-s { flex: 0 0 100%; width: 100%; box-sizing: border-box; padding: 0 5px; }
    .ns-s .mod-articles-item {
        width: 100% !important; max-width: 100% !important;
        min-width: 0 !important; height: auto !important;
        border-radius: 10px; overflow: hidden;
    }
    .ns-s .item-image img {
        width: 100% !important; height: auto !important;
        max-height: 200px !important; object-fit: cover !important;
        border-radius: 10px !important;
    }
    .ns-s .mod-articles-item-content { padding: 10px !important; }
    .ns-s .mod-articles-title { font-size: 0.95rem !important; margin-bottom: 8px !important; }
    .ns-d { display: flex; justify-content: center; gap: 8px; padding: 10px 0; }
    .ns-d span {
        width: 10px; height: 10px; border-radius: 50%;
        background: #ccc; cursor: pointer; transition: background 0.3s, transform 0.3s;
    }
    .ns-d span.on { background: #0a6e2e; transform: scale(1.3); }

    /* === СЕКЦИИ === */
    .section-title { font-size: 1.1rem !important; }
    .card-header h2, .card-header h3 { font-size: 1.1rem !important; }
    .tests-card, #mod-custom123 .card { animation-delay: 0.05s !important; }
}


/* ==========================================
   768px
   ========================================== */
@media (max-width: 768px) {

    body .navbar-brand .logo, .navbar-brand img, header .navbar-brand img {
        max-height: 55px !important; min-height: 50px !important;
    }
    body .navbar-brand .site-title, body .navbar-brand .site-title a,
    body .navbar-brand span:not(.logo), .custom-logo-text {
        font-size: 0.7rem !important;
        max-width: calc(100vw - 130px) !important;
    }

    .main-top > .card-body {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .main-top > .card-body > .moduletable:first-child,
    .main-top > .card-body > .moduletable:last-child {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .tests-card-img { height: 110px !important; }

    .blog-item { flex-direction: column !important; }
    .blog-item .item-image { max-width: 100% !important; }

    .big-map, iframe[src*="yandex"], iframe[src*="map"] { height: 250px !important; }

    .partners-logos { gap: 15px !important; }
    .partner-link { height: 30px !important; width: 48px !important; }

    .row_user { grid-template-columns: 1fr !important; }
    .accordion-body {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .cta-buttons { flex-direction: column !important; align-items: stretch !important; }
    .cta-button { max-width: 100% !important; width: 100% !important; }

    .section-title { font-size: 1rem !important; }
    .card-header h2, .card-header h3 { font-size: 1rem !important; }

    .mod-articles-item:hover, .blog-item:hover, .card-link:hover,
    #mod-custom123 .card:hover, .tests-card:hover {
        scale: 1 !important; transform: none !important;
    }
}


/* ==========================================
   576px
   ========================================== */
@media (max-width: 576px) {

    body .container-header, header.container-header { padding: 5px 8px !important; }

    body .navbar-brand .logo, .navbar-brand img, header .navbar-brand img {
        max-height: 50px !important; min-height: 45px !important; margin-right: 8px !important;
    }
    body .navbar-brand .site-title, body .navbar-brand .site-title a,
    body .navbar-brand span:not(.logo), .custom-logo-text {
        font-size: 0.6rem !important; line-height: 1.1 !important;
        max-width: calc(100vw - 120px) !important; letter-spacing: -0.5px !important;
    }
    body .navbar-brand { margin-right: 48px !important; }

    .carousel-custom .carousel-item img {
        border-radius: 8px !important; max-height: 180px !important; object-fit: cover !important;
    }

    .tests-card { min-height: 160px !important; border-radius: 8px !important; }
    .tests-card-img { height: 90px !important; border-radius: 8px 8px 0 0 !important; }
    .tests-card-text { font-size: 0.7rem !important; }
    .tests-card-body { padding: 6px !important; }

    #mod-custom115 p, #mod-custom115 div { font-size: 0.85rem !important; }
    #mod-custom120 { font-size: 0.85rem !important; padding: 8px !important; }
    .section-title { font-size: 0.9rem !important; }

    .cta-button, .readmore .btn { padding: 9px 15px !important; font-size: 0.8rem !important; }

    .partners-section { padding: 10px 8px !important; }
    .partners-logos { gap: 10px !important; }
    .partner-link { height: 25px !important; width: 40px !important; }
    .partners-title { font-size: 14px !important; }

    .big-map, iframe[src*="yandex"], iframe[src*="map"] {
        height: 200px !important; border-radius: 8px !important;
    }

    #mod-custom138, #mod-custom139, #mod-custom140 {
        padding: 10px 8px !important; border-radius: 8px !important;
    }
    .row_user .card-mb-3 { padding: 10px !important; border-radius: 8px !important; }
    .accordion-body img { max-width: 120px !important; }

    .com-content-categories__item { padding: 10px 8px !important; border-radius: 8px !important; }
    .com-content-categories__item-title a { font-size: 0.95rem !important; }
    .badge.bg-info { font-size: 0.7rem !important; padding: 3px 8px !important; }

    .mod-articles-item { border-radius: 8px !important; }
    .mod-articles-title { font-size: 0.8rem !important; }

    .pagination { flex-wrap: wrap !important; gap: 3px !important; }
    .pagination .page-link { padding: 5px 8px !important; font-size: 0.8rem !important; }
}


/* ==========================================
   400px
   ========================================== */
@media (max-width: 400px) {

    body .navbar-brand .logo, .navbar-brand img {
        max-height: 45px !important; margin-right: 6px !important;
    }
    body .navbar-brand .site-title, body .navbar-brand .site-title a,
    body .navbar-brand span:not(.logo), .custom-logo-text {
        font-size: 0.55rem !important; max-width: calc(100vw - 110px) !important;
    }

    .tests-card-img { height: 75px !important; }
    .tests-card-text { font-size: 0.6rem !important; }

    .big-map, iframe[src*="map"] { height: 170px !important; }

    #mod-custom115 p, #mod-custom115 div, #mod-custom120 { font-size: 0.8rem !important; }
    .section-title { font-size: 0.8rem !important; }
    .cta-button, .readmore .btn { padding: 7px 10px !important; font-size: 0.75rem !important; }
}


/* ==========================================
   TOUCH
   ========================================== */
@media (hover: none) and (pointer: coarse) {
    .mod-articles-item:hover, .blog-item:hover, .card-link:hover,
    #mod-custom123 .card:hover, .tests-card:hover,
    .com-content-categories__item:hover,
    .com-content-category__table.category tbody tr:hover,
    .partner-link:hover, .row_user .card-mb-3:hover {
        transform: none !important; scale: 1 !important;
    }
    .map-iframe { pointer-events: auto !important; }
}

@media (max-width: 768px) and (orientation: landscape) {
    .big-map, iframe[src*="map"] { height: 180px !important; }
    .main-top > .card-body { flex-direction: row !important; }
    .main-top > .card-body > .moduletable:first-child { max-width: 55% !important; }
    .main-top > .card-body > .moduletable:last-child { max-width: 42% !important; }
}
/* ==========================================
   СЛАЙДЕР НОВОСТЕЙ
   ========================================== */
.ns-w {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.ns-t {
    display: flex;
    transition: transform .5s ease;
}

.ns-s {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5px;
}

.ns-s .mod-articles-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    border-radius: 10px;
    overflow: hidden;
}

.ns-s .item-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

.ns-s .mod-articles-item-content {
    padding: 12px !important;
}

.ns-s .mod-articles-title {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
}

.ns-d {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

.ns-d span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ns-d span.on {
    background: #0a6e2e;
    transform: scale(1.3);
}

@media (max-width: 576px) {
    .ns-w {
        max-width: 100%;
    }
    .ns-s .item-image img {
        max-height: 180px !important;
    }
    .ns-s .mod-articles-title {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 400px) {
    .ns-s .item-image img {
        max-height: 150px !important;
    }
    .ns-s .mod-articles-title {
        font-size: 0.8rem !important;
    }
}
/* ==========================================
   ГЛАВНАЯ
   ========================================== */
@media (max-width: 991px) {

    body.itemid-101 #mod-custom123 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    body.itemid-101 #mod-custom123 .card-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
    }

    body.itemid-101 #mod-custom123 .card-link {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.itemid-101 #mod-custom123 .card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        height: 100% !important;
    }

    body.itemid-101 #mod-custom123 .card-img-top {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        display: block !important;
        height: auto !important;
        border-radius: 10px 10px 0 0 !important;
    }

    body.itemid-101 #mod-custom123 .card-body,
    body.itemid-101 #mod-custom123 .card-bodys {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        padding: 5px !important;
        min-height: 44px !important;
        text-align: center !important;
    }

    body.itemid-101 #mod-custom123 .card-text {
        font-size: 0.68rem !important;
        line-height: 1.15 !important;
        margin: 0 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 576px) {
    body.itemid-101 #mod-custom123 .card-row {
        gap: 4px !important;
    }

    body.itemid-101 #mod-custom123 .card-body,
    body.itemid-101 #mod-custom123 .card-bodys {
        min-height: 38px !important;
        padding: 4px !important;
    }

    body.itemid-101 #mod-custom123 .card-text {
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
    }
}
/* ==========================================
   О МИС — мобильная адаптация
   ========================================== */

@media (max-width: 991px) {

    /* ---------- Верхний текст ---------- */
    body.itemid-102 .o-mis {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    body.itemid-102 #mod-custom142 p {
        margin-bottom: 12px !important;
        text-indent: 0 !important;
        line-height: 1.6 !important;
        font-size: 0.95rem !important;
    }

    /* ---------- Блок #mod-custom135 ---------- */
    body.itemid-102 #mod-custom135 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    /* Заголовки секций */
    body.itemid-102 #mod-custom135 > p {
        margin-top: 18px !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    body.itemid-102 #mod-custom135 > p strong span {
        font-size: 22px !important;
    }

    body.itemid-102 #mod-custom135 .card-rows {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    /* Пустая ссылка */
    body.itemid-102 #mod-custom135 .card-link {
        display: none !important;
    }

    /* Карточки */
    body.itemid-102 #mod-custom135 .card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        height: 100% !important;
    }

    /* Картинки */
    body.itemid-102 #mod-custom135 .card-img-top {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        display: block !important;
        height: auto !important;
        border-radius: 12px 12px 0 0 !important;
    }

    /* Подпись */
    body.itemid-102 #mod-custom135 .card-bodys {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        padding: 8px !important;
        min-height: 60px !important;
        text-align: center !important;
    }

    body.itemid-102 #mod-custom135 .card-text {
        font-size: 0.78rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: center !important;
        font-weight: 600 !important;
        word-break: break-word !important;
    }

    /* ---------- Трактор ---------- */
    body.itemid-102 #mod-custom136 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    body.itemid-102 #mod-custom136 p {
        margin: 0 !important;
        text-align: center !important;
    }

    body.itemid-102 #mod-custom136 img {
        float: none !important;
        width: 100% !important;
        max-width: 412px !important;
        height: auto !important;
        display: inline-block !important;
        border-radius: 12px !important;
    }

    /* ---------- Блок #mod-custom137 (испытания) ---------- */
    body.itemid-102 #mod-custom137 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    body.itemid-102 #mod-custom137 .tests-card-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: unset !important;
        margin-bottom: 10px !important;
    }

    body.itemid-102 #mod-custom137 .tests-card-link {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.itemid-102 #mod-custom137 .tests-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        min-height: unset !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    body.itemid-102 #mod-custom137 .tests-card-img {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }

    body.itemid-102 #mod-custom137 .tests-card-body {
        min-height: 60px !important;
        padding: 8px !important;
    }

    body.itemid-102 #mod-custom137 .tests-card-text {
        font-size: 0.78rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 768px) {

    body.itemid-102 #mod-custom135,
    body.itemid-102 #mod-custom136,
    body.itemid-102 #mod-custom137 {
        padding: 0 6px !important;
    }

    body.itemid-102 #mod-custom135 .card-rows,
    body.itemid-102 #mod-custom137 .tests-card-row {
        gap: 6px !important;
    }

    body.itemid-102 #mod-custom135 > p strong span {
        font-size: 20px !important;
    }

    body.itemid-102 #mod-custom135 .card-text,
    body.itemid-102 #mod-custom137 .tests-card-text {
        font-size: 0.7rem !important;
    }

    body.itemid-102 #mod-custom135 .card-bodys,
    body.itemid-102 #mod-custom137 .tests-card-body {
        min-height: 52px !important;
        padding: 6px !important;
    }

    body.itemid-102 #mod-custom142 p {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }
}

@media (max-width: 576px) {

    body.itemid-102 #mod-custom135,
    body.itemid-102 #mod-custom136,
    body.itemid-102 #mod-custom137 {
        padding: 0 4px !important;
    }

    body.itemid-102 #mod-custom135 .card-rows,
    body.itemid-102 #mod-custom137 .tests-card-row {
        gap: 4px !important;
    }

    body.itemid-102 #mod-custom135 > p strong span {
        font-size: 18px !important;
    }

    body.itemid-102 #mod-custom135 .card,
    body.itemid-102 #mod-custom137 .tests-card {
        border-radius: 10px !important;
    }

    body.itemid-102 #mod-custom135 .card-img-top,
    body.itemid-102 #mod-custom137 .tests-card-img {
        border-radius: 10px 10px 0 0 !important;
    }

    body.itemid-102 #mod-custom135 .card-text,
    body.itemid-102 #mod-custom137 .tests-card-text {
        font-size: 0.62rem !important;
        line-height: 1.1 !important;
    }

    body.itemid-102 #mod-custom135 .card-bodys,
    body.itemid-102 #mod-custom137 .tests-card-body {
        min-height: 42px !important;
        padding: 4px !important;
    }

    body.itemid-102 #mod-custom142 p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}
/* ====================== Контакты ====================== */
.contact-module {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.contact-title {
    text-align: center;
    font-size: 22px;
    margin: 0 0 18px 0;
    color: #1a1a1a;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-size: 15.5px;
    line-height: 1.4;
}

.contact-item img {
    flex-shrink: 0;
}

.contact-item:hover {
    color: #c00;
}

/* ====================== Адаптация ====================== */

@media (max-width: 480px) {
    .contact-module {
        padding: 18px 15px;
        margin: 10px 0;
    }
    
    .contact-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .contact-item {
        font-size: 16.5px;
        min-height: 52px;
        padding: 6px 0;
    }
    
    .contact-item img {
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 769px) {
    .contact-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
}