/*.tbs-fullscreen {
    width: 100vw;
    overflow: hidden;
}
.tbs-fullscreen .carousel-inner,
.tbs-fullscreen .carousel-item,
.tbs-fullscreen .wp-block-group {
}

.tbs-slider-editor.fullscreen {
    border: 2px dashed #ccc;
    height: 60vh;
    overflow: auto;
}
    max-height: calc(100vh - 150px) !important;
*/
 .entry-content.has-global-padding > div:not(.tbs-fullscreen) {   padding-left: 40px; padding-right:40px; overflow:hidden; }

/* Elimina todos los márgenes/paddings heredados dentro del slider fullscreen */
 .tbs-fullscreen {
    margin-right: calc(var(--wp--style--root--padding-right) * -1);
    margin-left: calc(var(--wp--style--root--padding-left) * -1);
}


/* Contenedor fullscreen:  */
.tbs-fullscreen {
    inset: 0 !important;          /* ocupa top+right+bottom+left automáticamente */
	min-width:100%!important;
    width: 100vw!important;
   /* height: 100vh;*/
    z-index: 9999;                /* por encima de todo */
    overflow: hidden;
}
.tbs-fullscreen>.wp-block-group,
.tbs-fullscreen>.wp-block-cover {
    margin: 0 !important;
    padding: 0 !important;
}

/* Asegura que el inner y cada item ocupen la altura completa */
.tbs-fullscreen .carousel-inner,
.tbs-fullscreen .carousel-item {
  height: 100%;
}

/* Si el slide contiene un cover block, forzamos que ocupe toda la altura */
/*
.tbs-fullscreen .wp-block-cover,
.tbs-fullscreen .wp-block-cover.alignfull {
  min-height: 100%;
  height: 100%;
  display: block;
}*/

/* Forzar que la imagen de fondo del cover cubra el contenedor */
.tbs-fullscreen .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* recorta sin deformar */
  object-position: center;
}

/* Centrar verticalmente el contenido dentro del cover (opcional) */
.tbs-fullscreen .wp-block-cover__inner-container {
  height: 100%;
  display: flex;
  align-items: center;      /* centrar verticalmente */
  justify-content: center;  /* centrar horizontalmente, o ajusta */
}

/* Si tienes headers fijos del theme que se ven por encima, baja su z-index cuando el slider esté activo. */
/* Ajusta el selector del header si tu theme usa otro: */
body.tbs-slider-active .site-header,
body.tbs-slider-active .main-header {
  z-index: 0 !important;
}

.carousel   .wp-block-cover {
  min-height: 500px!important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
}
.wp-block-cover-is-layout-constrained {  bottom:10px;  max-width:1280px; margin:0 auto;}
.groupblackslider {padding:20px;}
.groupblackslider p:first-child {font-weight:bold; color:#000}

@media only screen and (min-width: 720px) {
.carousel   .wp-block-cover {  min-height: 700px !important;}
.groupblackslider  {font-size:1.6rem;padding:2%;}
.wp-block-cover-is-layout-constrained {bottom: 10vh;  }
}
/*
.carousel ,
.carousel  .carousel-item,
.carousel  .carousel-item > * {
  height: 100vh;
}*/

