.card {

    background-color: #fff;
    border-radius: 1vh;
    padding: 2vh 1vh;
    display: flex;
    align-items: center;
    flex-direction: column;

    border: 0.2vh solid #F4F4F4;
    justify-content: space-between;
}

.card_information {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.card_img img {
    width: 3.5vw;
}


.card__image img {

    object-fit: cover;
}

.card__content {
    display: flex;
    align-items: center;
    flex-direction: column;
	max-height: 50vh;
    overflow: hidden;
}

.card__content.expanded {
	max-height: 300vh; /* Задайте максимальную высоту, которую нужно раскрыть */
}

.card__title {
    font-size: 1.2vw;
    font-weight: 700;
    position: relative;

}

.card__name {
    color: var(--color);
    font-size: 22px;
}

.card__text {
    text-align: left;

    margin: 3vh 0;


}

.card__btn {
    background-color: var(--color);
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    padding: .5em;
    border-radius: .5em;
    margin-top: .5em;
    cursor: pointer;
}


.course__another-more .zapis_mobile {
    display: none;
}


.card__image {
    width: 70%;
    padding: 3px;
    margin-bottom: 2em;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}



.prepod-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;}
.prepod .card{
    width: 48%;
    margin: 3vh 0;
    height: auto;}


.prepod .card__content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 95%;
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
}

.prepod .shrift3{
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.prepod .shrift3 img{height: 30px;
    margin-right: 5px;}
.card_btn.hidden {
    display: none;
}
.card li {
    position: relative;
    padding-left: 1.3vw;
    margin-bottom: 2vh;
    color: #000000;
    font-size: 1vw;
    font-weight: 400;
    line-height: 2.5vh;
    text-align: left;}
.card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1vh;
    transform: translateY(-50%);
    width: 0.9vw;
    height: 1.2vw;
    background: url(/images/marker.svg) left center no-repeat;
    background-size: contain;
}
.card ul {
    margin-top: 2vh;
}
.prepod h1 {
    margin-bottom: 0
}

.card_btn{
	padding: 1vh 2vw;
	border-radius: 0.3vw;
	
	/* Yellow */
	background: rgb(255, 230, 0);

	color: rgb(0, 0, 0);
	font-size: 0.9vw;
	font-weight: 500;
	line-height: 2.4vh;
	letter-spacing: 0%;
	text-align: center;
	margin-top: 2vh;
}
.card_img img{
    margin-left: auto;
}

.card_arrow_left,
.card_arrow_right{
	display: none;
}

.hidden{
	display: none;
}

.card_orient_none{
	display: block;
}

.card_orient_block{
	display: block;
}


@media screen and (orientation: portrait){
    .prepod-block {
        display: block;
    }
    .prepod{
        position: relative;
    }
    .prepod .card {
        flex: 0 0 100%;
        width: 100%;
        margin: 0 0 3vw;
    }
    .card__image {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 3vw;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    .card__image img {
        width: 90%;
        border-radius: 1vw;
    }
    .card__title {
        font-size: 6.4vw;
    }
    .card__text {
        margin: 3vw 0;
    }
    .card li {
        padding-left: 6vw;
        margin-bottom: 2vw;
        font-size: 4.5vw;
        line-height: normal;
    }
    .card li::before {
        top: 2.5vw;
        width: 3.9vw;
        height: 5.2vw;
    }
    .prepod .card__content {
        max-height: 100%;
    }
    .card_img{
        display: none;
    }
    .card_arrow_left{
        display: block;
        position: absolute;
        left: -1vw;
        top: 35vw;
    }
    .card_arrow_right{
        display: block;
        position: absolute;
        right: -1vw;
        top: 35vw;
    }
    .card_orient_none{
        opacity: 0;
        display: none;
        transition: opacity 0.3s ease;
    }
    .card_orient_block{
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .card_orient_block.visible{
        opacity: 1;
    }
}