
/*Родительский клуб PS*/

.parents-club-wrapper h1{
    margin-bottom: 2.5vw;
    font-weight: 500;
}

.parents-club-wrapper{
    max-width: 1245px;
    margin: 0 auto;
}

.ps{
   width: max(800px, min(100%, 2000px));
   font-size: 18px;
   margin-left: auto;
   margin-right: auto;
}

.ps a{
    color: #ad83ff;
    text-decoration: none;
}

.ps h1 {
    font-size: 24px;
    letter-spacing: -2%;
    color: #313332;
    font-family: "Ony One";
    font-weight: 500;
}

@media (max-width: 912px){
    
    .ps {
        width: max(350px, 100%);
    }
    
}

@media (orientation: portrait){
    
    .ps{
        width: max(300px, min(100%, 1440px));
        font-size: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    
    @media (min-width: 600px){
        .ps{
            font-size: 18px;
        }
        h1{
            margin: 30px 0;
        }
    }
}

    @media (max-width: 600px){
        h1{
            margin: 0;
        }
    }



.parents-club-wrapper {
    margin: 0 auto;
    max-width: 1245px;
}

.parents-club-wrapper * {
    font-family: "Ony One";
    color: #313332;
    font-weight: 400;
    line-height: 130%;
}

.parents-club-wrapper p {
    font-size: 16px;
    line-height: 135%;
}

@media(min-width: 500px) {
    .parents-club-wrapper p {
        font-size: 18px;
    }
}

.parents-club-row {
    display: flow-root;
}

.image-parents-club-left {
    float: left;
    width: 50%;
    /*aspect-ratio: 4 / 3;*/
    margin: 0 24px 20px 0;
    min-width: 280px;
}

.image-parents-club-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.text-successor-right>p:first-of-type  {
    margin-top: 0;
}

/* Сбрасывает текст под картинку, когда JS добавляет этот класс */
/*.text-parents-club-right .clear-text {*/
/*    clear: left;*/
/*}*/

@media(max-width: 1000px) {
    .parents-club-wrapper {
        margin: 30px auto;
    }

    .parents-club-row {
        display: block;
    }

    .image-parents-club-left {
        float: none;
        width: 100%;
        max-width: 540px;
        margin: 0 auto 30px;
    }
}
