.bkvideo-background {
    box-sizing: border-box;
    position: relative; /* Para que a altura se ajuste ao conteúdo e sirva de referência para o :after */
    top: 0;
    left: 0;
    width: 100%;
    /*min-height: 450px; /* Mantendo a altura mínima inicial */
    z-index: 0;
    background-color: #000;
	
	
	background-repeat: no-repeat;
    background-size: cover;
	/*background-attachment: fixed;*/
}
.bkvideo-background.bk1 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../img/bk-institucional.webp');
	background-position: center center;
}
.bkvideo-background.bk2 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../img/bk-servicos.webp');
	background-position: center center;
}
.bkvideo-background.bk3 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../img/bk-contato.webp');
	background-position: center center;
}


.bkvideo-background.blog_bk1 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/1.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk2 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/2.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk3 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/3.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk4 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/4.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk5 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/5.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk6 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/6.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk7 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/7.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk8 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/8.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk9 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/9.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk10 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/10.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk11 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/11.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk12 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/12.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk13 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/13.webp');
	background-position: center center;
}
.bkvideo-background.blog_bk14 {
    background-image:linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),url('../../img_blog/14.webp');
	background-position: center center;
}

.bkvideo-background:after {
    content: '';
    position: absolute; /* Alterado para absolute para se referenciar ao .video-background */
    width: 100%;
    height: 100%; /* Agora a altura será relativa à altura do .video-background */
    top: 0;
    left: 0;
    background: transparent url("../img/pattern.png") repeat top left;
    z-index: 2; /* Garante que o padrão fique acima do vídeo e do overlay */
    pointer-events: none; /* Para permitir interações com o conteúdo abaixo */
}

.bkvideo-background video {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Garante que o vídeo esteja abaixo do :after */
}

.bkvideo-overlay {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1; /* Garante que a sobreposição esteja acima do vídeo, mas abaixo do :after */
    pointer-events: none;
}

.bkvideo-content-above {
    box-sizing: border-box;
    position: relative;
    z-index: 3; /* Garante que este conteúdo fique ACIMA de tudo */
}