/* banner principal */

.c-videos-fundacion__columns-1-left {
    max-width: 44% !important;
}

    .wp-block-cover.c-videos-fundacion__columns-1-column-left-back {
        padding: 16px 20px 16px 30px;
    }

    .wp-block-cover__inner-container.has-global-padding.is-layout-constrained.wp-block-cover-is-layout-constrained {
        max-width: 490px;
    }

    p.c-videos-fundacion__columns-1-title {
        text-align: left;
        /* line-height: 0.9; */
        max-width: 490px;
    }

    .wp-block-spacer.c-videos-fundacion__columns-1-spacer-1 {
        height: 15px !important;
    }

    .wp-block-cover.c-videos-fundacion__columns-1-column-left-back p {
        margin: 0 !important;
    }

    .wp-block-buttons.c-videos-fundacion__columns-1-buttons {
        margin: 0px !important;
    }

    .wp-block-spacer.c-videos-fundacion__columns-1-spacer-3 {
        height: 0px !important;
    }

.c-videos-fundacion__columns-1-right {
    max-width: 56% !important;
}

.wp-block-cover.is-light.c-videos-fundacion__column-right-back img {
    border-radius: 0 0 0 60px;
}


/* --------------------------------------------------------------------------- */

/* menu secundario */

.c-home-fundacion__menu-secundary-buttons {
    display: none !important;
}
/* .c-home-fundacion__menu-secundary-buttons {
    visibility: hidden !important;
} */

.o-menu-internal {
    z-index: 1 !important;
    padding-top: 0px !important;
	align-items: inherit !important;
}

ul.o-menu-internal.c-home-fundacion__menu-secundary {
    max-width: 100%;
    margin: 0 0 !important;
    /* padding-bottom: 30px; */
}

.o-menu-internal__element {
    /* color: #000; */
    padding-bottom: 30px !important;
    padding-top: 30px;
    color: #848484 !important;
    font-weight: 400 !important;
}

.o-menu-internal::after {
    width: 100% !important;
    left: 0 !important;
}

.o-menu-internal__element:hover:after {
    border-bottom: solid var(--color-barra-inferior-menu-secundario) 5px !important;
}

.menu-item-active {
    border-bottom: solid var(--color-barra-inferior-menu-secundario) 5px !important;
    content: '';
    transition: 0.5s;
    position: absolute;
    z-index: 1;
    bottom: -2px;
    /* width: 0px; */
    left: 0;
    right: 0;
    margin: 0 !important;
    color: #000 !important;
    pointer-events: none;
}


/* --------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------- */

.c-videos-fundacion {
    width: 50% !important;
}

.c-videos-fundacion__container {
    width: 50% !important;
}

.wp-block-spacer.c-videos-fundacion__spacer-1 {
    height: 70px !important;
}

.wp-block-columns.c-videos-fundacion__columns-2,
.wp-block-columns.c-videos-fundacion__columns-3 {
    max-width: 1312px !important;

}



.wp-block-column.c-videos-fundacion__columns-3-column {
    flex-wrap: wrap !important;
    display: flex;
    justify-content: center;
    gap: 2.2%;
}

/* .c-single_post.c-videos-fundacion__columns-3-single-post figure a img {
    border-radius: 10px 10px 0 0;
} */

.c-videos-fundacion__columns-3-single-post a img {
    max-width: 416px;
    width: 100%;
    object-fit: cover !important;
    min-height: 270px;
    max-height: 270px;
    border-radius: 10px 10px 0 0;
}

.c-single_post.c-videos-fundacion__columns-3-single-post {
    max-width: 31%;
}

h3.c-single_post__title {
    color: #0A1E8C;
    font-size: 22px;
    margin: 5px 0;
	font-family: var(--wp--preset--font-family--open-sans);
}

a.c-single_post__anchor,
span.c-single_post__date {
    display: none;
}

.c-videos-fundacion__columns-3-buttons {
	display: none !important;
}

.hidden-mobile {
	display: block;
}

/* --------------------------------------------------------------------------- */


@media only screen and (min-width: 768px) and (max-width: 1280px) {

	
/* 	--------------------------------------------------------------------- */
	
/* menú secundario	 */
	
	.o-menu-internal__element:hover:after {
		width: 80% !important;
	}
	
/* 	--------------------------------------------------------------------- */
	

    .c-videos-fundacion__columns-3-single-post figure {
        height: 20vw;
    }

    .c-videos-fundacion__columns-3-single-post a img {
        min-height: 100%;
        max-height: 100%;
    }
	
	.c-videos-fundacion__columns-3-buttons {
		display: none;
	}
	
	.hidden-mobile {
		display: block;
	}

}


@media (max-width: 1000px) {
    /* menu secundario */
  
  
    .c-home-fundacion__menu-secundary-buttons {
      display: block !important;
  }
  
  .wp-block-buttons.c-home-fundacion__menu-secundary-buttons {
      text-align: center;
  }
  
  a.wp-block-button__link.wp-element-button {
/*       width: 100%; */
  }
  
  .wp-block-button.c-home-fundacion__menu-secundary-button-1,
  .wp-block-button.c-home-fundacion__menu-secundary-button-2 {
      background-color: rgba(0, 0, 0, .05);
      width: 100%;
      margin: 10px 0;
      color: rgba(0, 0, 0, .05);
  }
  
  .wp-block-button.c-home-fundacion__menu-secundary-button-2 {
      display: none;
  }
  
  .o-menu-internal {
      padding: 0px !important;
      display: flow !important;
  }
  
  .menu-item-active {
      color: white !important;
      padding: 0 !important;
      border: 0px !important;
      background-color: #3f444b;
  }
  
  .o-menu-internal__element {
      color: #000;
      padding: 7px 0 !important;
      font-size: 16px !important;
  }
  
  .o-menu-internal__element:hover:after {
      border-bottom: 0px !important;
      color: white !important;
      padding: 0 !important;
      border: 0px !important;
      background-color: #5c5f63;
  }
  
  .icon-menu-lines {
      background-image: url("./icon/menu.png");
      background-size: 25px;
      background-position: center;
      background-repeat: no-repeat;
      /* transform: translate(13px, 10px); */
  }
  .icon-menu-x {
      background-image: url("./icon/x.png");
      background-size: 23px;
      background-position: center;
      background-repeat: no-repeat;
      /* transform: translate(13px, 10px); */
  }
  
  /* .c-home-fundacion__columns-menu {
      height: 60px;
  } */
  
  .c-home-fundacion__menu-secundary.height-transition-open {
      height: auto !important;
  }
  
  
  /* .c-home-fundacion__menu-secundary {
      height: 0px;
  } */
  
  .c-home-fundacion__menu-secundary {
      height: 0px;
      transition: height  1s ease !important;
  }
  
  .hidden-item {
      /* display: none !important; */
      visibility: hidden !important;
      /* height: 0px; */
  }
  
  .o-menu-internal li {
      opacity: 0 !important;
      transition: opacity 1s !important;
  }
	
	li.o-menu-internal__element:hover {
		color: white !important;
		background-color: #3f444b;
	}
	
	li.o-menu-internal__element a:hover {
		color: white;
	}	
	
}


@media (max-width: 767px) { 

    /* --------------------------------------------------------------------------- */
    /* banner */
    
    
    .wp-block-columns.c-videos-fundacion__columns-1 {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .c-videos-fundacion__columns-1-right {
        max-width: 100% !important;
    }

    .c-videos-fundacion__columns-1-left {
        max-width: 100% !important;
    }

	.wp-block-cover.is-light.c-videos-fundacion__column-right-back img {
		border-radius: 0 0 0 0px;
	}
	
    .wp-block-cover.is-light.c-videos-fundacion__column-right-back {
        border-radius: 0 0 0 0px;
        min-height: 100%;
        height: 290px;
    }

    .wp-block-cover.c-videos-fundacion__columns-1-column-left-back {
        min-height: 157px !important;
        padding: 0px 20px 0px 20px;
    }

    .wp-block-cover.c-videos-fundacion__columns-1-column-left-back p {
        margin: 0 !important;
        max-width: 100%;
    }

    p.c-videos-fundacion__columns-1-title {
        text-align: center;
        /* line-height: 0.9; */
        padding: 0 5%;
    }

    p.c-videos-fundacion__columns-1-paragraph.has-open-sans-font-family {
        max-width: 100%;
        text-align: center;
        font-weight: 400;
        font-size: 11px !important;
    }

    p.has-text-align-center.c-videos-fundacion__columns-1-title.has-colour-sans-font-family {
        width: 295px;
        margin-left: auto !important;
        margin-right: auto !important;
    }


/* --------------------------------------------------------------------------- */

/* cards */

    .wp-block-columns.c-videos-fundacion__columns-3 {
        padding: 0 20px;
    }

    .c-single_post.c-videos-fundacion__columns-3-single-post {
        max-width: 100%;
    }

    .c-videos-fundacion__columns-3-single-post a img {
        max-width: 100%;
        width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    .c-single_post.c-videos-fundacion__columns-3-single-post {
        max-width: 100%;
    }

    .c-single_post.c-videos-fundacion__columns-3-single-post figure img {
        max-height: 53vw;
    }
	
	.wp-block-button.c-videos-fundacion__columns-3-button.button-videos a {
		font-size: 15px;
		padding: var(--padding-botones);
		align-content: center;
		background: var(--color-botones-verde);
		border-radius: var(--border-radius-botones);
	}
	
	.wp-block-button.c-videos-fundacion__columns-3-button.button-videos {
/* 		width: 70vw; */
	}
	
	.c-videos-fundacion__columns-3-buttons {
		display: block !important;
	}
	
	.hidden-mobile {
		display: none;
	}

/* --------------------------------------------------------------------------- */
}   