.videos {
position: relative;
width: 100vw;
}
.videos__inner {
width: calc(100% - 160px);
padding: 0 80px;
max-width: 1200px;
}
.videos__display {
position: relative;
width: 100%;
align-items: flex-start;
justify-content: flex-start;
flex-flow: wrap;
padding-bottom: 40px;
}
.videos__card {
position: relative;
width: 31.5%;
margin: 10px 0.9166%;
background-color: var(--grey);
}
.videos__card__video {
position: relative;
width: 100%;
padding-top: 56.25%;
}
.videos__card__video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.videos__card__content {
width: 100%;
margin: 20px 0;
text-align: center;
}
.videos__card__content h2 {
font-size: 28px;
}
.videos__card__content p {
font-size: 16px;
}
.acf-block-preview {
}
@media only screen and (max-width: 1600px){
}
@media only screen and (max-width: 1100px) {
.videos__card {
position: relative;
width: 48%;
margin: 10px 1%;
}
}
@media only screen and (max-width: 775px) {
.videos__display {
justify-content: center;
}
.videos__card {
width: 100%;
max-width: 300px;
}
.videos__inner {
width: 100%;
}
}