/* Дополняет css/bnav/bnav.css */
.bnavcardflex {
  display: flex;
  width: 234px;
  height: 186px;
  padding: 32px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 16px;
}
.bnavcardflex .bnavcardflex__wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.bnavcardflex .bnavcardflex__main {
	display: flex;
	flex-direction: column;
	/* gap: 12px; */
  gap: 0;
}
.bnavcardflex .bnavcardflex__content {
	/* display: none; */
  max-height: 0;
  margin-top: 0;
  transition: opacity 0.3s, max-height 0.3s, margin-top 0.2s;
}
.bnavcardflex .bnavcardflex__icons {
	width: 100%;
  position: absolute;
  top: 0;
  left: 0;
	display: flex;
	justify-content: space-between;
}
.bnavcardflex .bnavcardflex__icon {
	width: 48px;
	height: 48px;
  transition: opacity 0.3s;
}
.bnavcardflex .bnavcardflex__icon_active {
	background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39.5 23.4514L9.5 23.4514' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M27.4004 11.4025L39.5004 23.4505L27.4004 35.5005' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0;
}

@media (min-width: 576px) { 
  .bnavcardflex {
    width: 289px;
    height: 246px;
  }
}

@media (min-width: 992px) { 
  .bnavcardflex {
    width: 289px;
    height: 320px;
  }
  .bnavcardflex:hover .bnavcardflex__icon_active {
    opacity: 1;
  }
  .bnavcardflex:hover .bnavcardflex__content {
    /* display: block; */
    max-height: 84px;
    margin-top: 16px;
    opacity: 1;
  }
}