.accordion-content img {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
}


.tab_content img {
  max-width: 500px ;
  height: auto ;
}


@media screen and (max-width: 850px) {
  .tab {
 
    display: block;
 
    box-sizing: border-box;
  }

  .tab > div.p {

	  font-size: 16px;
	  font-weight: 600;
	  color:#AAAAAA;  
    background-color: #FFFFFF;  	  
 
    width: 100%;  
    padding: 10px 20px 10px 20px ;
    text-align: left;
    font-weight: 600;
    border:0px;
    cursor: pointer;


    border-radius: 8px;  
    margin-bottom: 15px;    
    box-sizing: border-box;
	border:2px solid #A4A4A4;
  }

  .tab > div.active {
    background-color: #F3F3F3 ;
	font-weight: 900;
	color:#000000;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    margin-bottom: 8px;
    border:2px solid #000000;
  }

  .tab > div.p {
    position: relative;
    padding-right: 40px;
  }

  .tab > div.p.active::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25px;
    transform: translateY(-50%);
    width: 20px;  
    height: 20px;
    background-image: url('/ico/arrow/arrow-up.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }

  .tab > div.p:not(.active)::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('/ico/arrow/arrow-down.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }
  
 
 .tab > div > span {
    background-color: inherit !important;  /* наследует фон родителя */
    padding: 0 !important;   
    margin: 0 !important;  
    display: block;
    color: inherit !important;  
  }
  
  .accordion-content {
    background-color: white ;
    padding: 0px 0 20px 0 ;
    margin: 0;
    font-weight: normal;
    color: initial ;
    width:100% ;
    
    text-align: left;;  
      transition: max-height 0.3s ease;
  overflow: hidden;
 
}



  .accordion-content {
    background-color: white ;
    padding: 0px 0 20px 0 ;
    margin: 0 !importanthidden;
    transition: max-height 0.3s ease;
  }
  
  .accordion-content img {  
    max-width: 100% ;
    width: auto ;  
    height: auto ;
  }
 
}

@media screen and (min-width: 850px) {
.datblock.sedf3 {
  max-width: 1180px;
  width: 100%;  /* Убрал лишний % */
  margin: 0 auto;
  padding: 0;
}

.accordion-content {
  background-color: white ;
  padding: 15px 0px;
  box-sizing: border-box;
}

  #tabsAccordion .tab_content img {
    max-width: 700px;
    width: auto ;
    height: auto;
  }
  
  .accordion-content img {
    max-width:700px ;
    width: auto;
  }
 

.tab {
  background-color: transparent;  /* ✅ УБРАЛ фон */
  display: flex;
  justify-content: start;
  position: relative;
  margin: 0;
  padding: 0;
}

.tab > div {
  flex: 1 0 auto;
  width: 20%;
  padding: 0;  /* Исправил 0x */
  font-size: 16px;
  font-weight: 600;
  color:#AAAAAA;
  cursor: pointer;
  
  /* ✅ ТОЛЬКО нижняя граница */
  border-bottom: 3px solid #C6C6C6 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

.tab > div.active {
  color: #000 !important;          /* ✅ ЧЁРНЫЙ текст */
    font-weight: 900;
  /* ✅ ТОЛСТЫЙ ЧЁРНЫЙ border-bottom */
  border-bottom: 4px solid #000 !important;
  
  /* Убираем скругления и лишние бордеры */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  z-index: 2;
}

.tab > div > span {
  display: block;
 
  margin: 0 15px;
}

.tab_content {
  background: white;
  padding-top: 20px;
  min-height: 300px;
}

.tab_content > div {
  display: none;
}

.tab_content > div.active {
  display: block;
  animation: fadeIn 0.3s;
}
 
} 


 