.socials {
    display: grid;

    grid-template-columns: 100%;
    grid-template-rows: repeat(7, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    @media (min-width: 767px) {
        grid-template-columns: 100%;
        grid-template-rows: repeat(6, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        margin-bottom: 50px;
    }

    @media (min-width: 1199px) {
        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        width: 100%;
        margin-bottom: 50px;
    }  


}

/* .div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 7 / 1 / 8 / 2; }
.div4 { grid-area: 3 / 1 / 7 / 2; } */

.socials-title {

    grid-area: 1 / 1 / 2 / 2; 

    @media (min-width: 767px) {
        grid-area: 1 / 1 / 2 / 2; 
    }

    @media (min-width: 1199px) {
        grid-area: 1 / 1 / 2 / 2;
    }    
}

.socials-text {

    grid-area: 2 / 1 / 3 / 2;
    position: relative;
    bottom: 50px;
    
    @media (min-width: 767px) {
        grid-area: 2 / 1 / 3 / 2;  
        bottom: 0px;
    }

    @media (min-width: 1199px) {
        grid-area: 2 / 1 / 3 / 2;
    }
    
}

.socials-buttons {
    position: relative;
    
    grid-area: 6 / 1 / 8 / 2;

    @media (min-width: 767px) {
        grid-area: 6 / 1 / 7 / 2;
    }

    @media (min-width: 1199px) {
        grid-area: 3 / 1 / 4 / 2;
    }  

    
}

.socials-buttons-link {
    position: relative;
    bottom: 0;
}

.socials-videos {
    width: 100%;
    grid-area: 3 / 1 / 6 / 2;
    @media (min-width: 600px) {
        position: relative;
        bottom: 40px; 
    }
    @media (min-width: 767px) {
        grid-area: 3 / 1 / 6 / 2; 
        bottom: 50px; 
    }
    @media (min-width: 1199px) {
        position: relative;
        bottom: 0;
        grid-area: 1 / 2 / 4 / 3;
    }    
}


.video {

    display: flex;
    gap: 20px;
    position: relative;
}

.socials-links__hr {  
    background-color: #ff5200;
}

.socials-links__text {
    font-weight: 400;
    font-size: 18px;
}    


.video__item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.video__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

video::-webkit-media-controls {
    display: none;
  }

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    cursor: pointer;
    z-index: 2;               /* выше видео */

    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}

/* стрелка внутри круга */
.play-btn::before {
    content: '';
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;         /* визуальный центровщик */
}

.play-btn:hover         { background: rgba(0, 0, 0, .8); }
.play-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }



.pause-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    cursor: pointer;
    z-index: 2;               /* выше видео */

    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
    display: none;              /* скрыта, пока ролик не запущен */

    /* рисуем две полосы */
    &::before,
    &::after {
        content: '';
        width: 8px;             /* ширина каждой полоски */
        height: 28px;
        background: #fff;
        border-radius: 2px;
    }

    &::before { margin-right: 6px; }
    /* flex‑контейнер наследуется, так что полоски станут по центру */
}


.socials-links__flex-item__big {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background-color: #292929;

    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: #FFFFFF;
    /* width: 55%; */
    height: 60px;
}
.socials-links__flex-item__big:hover, .socials-links__flex-item__little:hover {
    color: #f8f8f8;
}
.socials-links__flex-item__little {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background-color: #292929;

    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: #FFFFFF;
    /* width: 43%; */
    height: 60px;
}


/* .socials-links__flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

} */

.socials-buttons-link {

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    width: 100%;
   

    @media (min-width: 767px) {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    @media (min-width: 1199px) {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }


}




.ok {    

    grid-area: 1 / 1 / 2 / 2;

    @media (min-width: 767px) {
        grid-area: 1 / 1 / 2 / 3;
    }

    @media (min-width: 1199px) {
        grid-area: 1 / 1 / 2 / 8; 
    }
   

}


.vk {    

    grid-area: 2 / 1;

    @media (min-width: 767px) {
        grid-area: 1 / 3 / 2 / 5;
    }

    @media (min-width: 1199px) {
        grid-area: 2 / 1 / 3 / 6;
    }
    

}

.tg {    

    grid-area: 3 / 1;

    @media (min-width: 767px) {
        grid-area: 2 / 1 / 3 / 3;
    }

    @media (min-width: 1199px) {
        grid-area: 2 / 6 / 3 / 11;
    }
   

}

/* d
.div1 { grid-area: 2 / 1 / 3 / 6; }
.div2 { grid-area: 2 / 6 / 3 / 11; }

p
.div2 { grid-area: 1 / 3 / 2 / 5; }
.div3 { grid-area: 2 / 1 / 3 / 3; }

m
.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 3 / 1 / 4 / 2; } */


.socials-links__flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}
