/* ==============================================
   bimcorporate.css (ОЧИЩЕННЫЙ)
   Уникальные стили для страницы "Корпоративное" (bim-corporate.php)
   ============================================== */

/* --- Уникальные медиа-запросы --- */
@media (max-width:1024px) {
	.tab-text h3 {
		font-size: 10px;
	}
	.tabs>input[type="radio"]:checked+label h3 {
		font-size: 16px;
	}
	h3.wp-block-heading.has-text-align-center.has-large-font-size {
		padding: 0 20px;
		font-size: 20px !important;
	}
	/* t565__container уже есть в common-styles, но этот padding:0 уникален */
	.t565__container {
		padding:0;
	}

	.corporate-content h3 { 
		padding: 0 20px;
		font-size: 20px !important;
	}
}

@media (min-width:1024px) {
	.tabs>input[type="radio"]:checked+label h3 {
		font-size: 20px;
	}
	.subtitle-center {
		padding: 0 20px;
	}
	.tab-text h3 {
		font-size: 16px
	}
}

/* --- Уникальные стили --- */

.subtitle-center{
	margin-top: 40px;
}

.feature-title {
    text-align: center;
    font-size: 20px;
}

.feature-desc {
	text-align: center;
	padding: 20px;
}

.corporate-column-left {
	position: relative;
    min-height: 1px;
    display: flex;
}

.corporate-column-right {
	background-color:#CEF4FF;
}

.corporate-wrap-left {
    align-content: center;
    align-items: center;
	padding: 0 40px 0 0;
}

.corporate-wrap-right {
	padding: 40px 40px 40px 40px;
}

.contacts-list-item {
	line-height: 0px;
	padding: 0 0 4 0;
}

#colorstrip-80 {
    width: 80%; 
	height: 5px;
    background: #55c4d5;
}

#colorstrip-100 {
    width: 100%; height: 5px;
    background: #55c4d5;
	margin-top: -24px;
	margin-bottom: 20px;
}

.map {
	width: 100%;
}

.list-item-with-icon {
    display: inline-flex;
    align-items: center;
	gap: 10px;
}

.list-item-with-icon p{
    line-height: 1em;
	margin: 0;
}

.req {
	padding-top: 20px
} 

/* --- Стили для ТАБОВ --- */
label.tab-text {
    font-size: 20px;
    font-weight: 600 !important;
    font-family: 'Roboto' !important;
}

.tabs {
    font-size: 0;
}
.tabs>input[type="radio"] {
    display: none;
}
.tabs>div {
    display: none;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    font-size: 16px;
}
#tab-btn-1:checked~#content-1,
#tab-btn-2:checked~#content-2,
#tab-btn-3:checked~#content-3 {
    display: block;
}
.tabs>label {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #f5f5f5;
    border: 4px solid #e0e0e0;
    padding: 2px 8px;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    top: 1px;
}
.tabs>label:not(:first-of-type) {
    border-left: none;
}
.tabs>input[type="radio"]:checked+label {
    background-color: #fff;
    border-bottom: 1px solid #fff;
}

/* --- Вторая реализация ТАБОВ (найдена ниже) --- */
.tabs>div {
    border: 4px solid #55c4d5;
}
.tabs>label {
    height: 90px;
	border: 4px solid #fff;
}
.tabs>input[type="radio"]:checked+label {
    background-color: #fff;
    margin-bottom: -3px !important;
    border-left: 4px solid #55c4d5;
    border-top: 4px solid #55c4d5;
    border-right: 4px solid #55c4d5;
    height: 100px;
    font-size: 24px;
	padding-top: 24px;
	border-bottom: 1px solid #fff; /* Переопределение */
}
/* Конец второй реализации ТАБОВ */


/* Android 2.3 :checked fix */
@keyframes fake {
    from { opacity: 1; }
    to { opacity: 1; }
}
body {        
    animation: fake 1s infinite;
}

#tab-one:checked, .tabs #tab-one-label,
#tab-two:checked, .tabs #tab-two-label,
#tab-three:checked, .tabs #tab-three-label,
#tab-four:checked, .tabs #tab-four-label{
    background-color: #fff;
    cursor: default;
}

#tab-one:checked ~ .tabs #tab-one-panel,
#tab-two:checked ~ .tabs #tab-two-panel,
#tab-three:checked ~ .tabs #tab-three-panel,
#tab-four:checked ~ .tabs #tab-four-panel{
    display: block;
}

@media (max-width: 600px){
  .flex-tabs{
    flex-direction: column;
	}
  .flex-tabs    .tab{
      background: #fff;
      border-bottom: 1px solid #ccc;
	}
       &:last-of-type{
          border-bottom: none;
        }
    
    #tab-one-label{order:1;}
    #tab-two-label{order: 3;}
    #tab-three-label{order: 5;};
    #tab-four-label{order: 7;};
    #tab-one-panel{order: 2;}
    #tab-two-panel{order: 4;}
    #tab-three-panel{order: 6;}
    #tab-four-panel{ order: 8;}

	#tab-one:checked ~ .tabs #tab-one-label,
    #tab-two:checked ~ .tabs #tab-two-label,
    #tab-three:checked ~ .tabs #tab-three-label,
    #tab-four:checked ~ .tabs #tab-four-label{
      border-bottom: none;
    }
  
	#tab-one:checked ~ .tabs #tab-one-panel,
	#tab-two:checked ~ .tabs #tab-two-panel,
	#tab-three:checked ~ .tabs #tab-three-panel,
	#tab-four:checked ~ .tabs #tab-four-panel{
		border-bottom: 1px solid #ccc;
	}
}

label.tab-text {
    min-width: 30%;
}

.tab-text h3 {
	left: 50%;
	width: 100%;
    position: absolute;
    display: block;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
	margin: 0;
}

h4 {
	font-size: 28px;
    text-align: center;
	font-weight: 600;
	text-decoration: underline #55c4d5;
}
#colorstrip-100-smalltext {
	width: 100%;
    height: 5px;
    background: #55c4d5;
    text-align: center;
    margin: 0 auto;
}
p+h4 {
    margin-top: 40px;
}

div#content-1, div#content-2, div#content-3 {
    padding: 40px;
}

.t-container.t565__container {
    margin-top: 40px;
}

label.tab-text {
    min-width: 33.3333333333%;
}

#content-1 h2, #content-2 h2, #content-3 h2 {
	text-align:center;
}

input[type=radio]+label {
    margin: 0 0 0 0 !important;
}

.corporate-content h3 {
    height: 100px;
    display: flex;
    align-items: center;
	justify-content: center;
	margin-top: 20px;
}

.corporate-content p.has-text-align-center {
    padding: 10px 20px 10px 20px;
}

/* Mobile CSS*/
@media screen and (max-width: 480px) {
	.container-flex {
		flex-direction: column;
		/* width: unset; - Это свойство невалидно, удалено */
	}

	h1, .h1 {
		font-size: 34px;
		line-height: 1em;
		margin: 0;
	}
	
	#colorstrip-100 {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.corporate-wrap-left {
		padding: 0;
	}
	
	.main-button {
		margin-bottom: 20px;
	}
	
	.feature-icon {
		margin: 0 auto;
		display: inline-flex;
		justify-content: center;
	}
	
	.flex-column {
		display: flex;
		flex-direction: column
	}
}