
.textmedia, .textpic {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.frame-type-textpic .textmedia, .textpic {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.textpic-centered > .textmedia, 
.textpic-centered {
	display: block;
	flex-wrap: wrap;
	gap: 40px;
}

.textpic-centered {
	border: 0px dotted red;
}

.textpic-centered > .textpic-gallery{
	float:right;
	border: 0px dotted green;
	display: block !important;
	margin: 0px 0px 10px 0px;
	padding:  0px 0px 0px 10px !important;
}

.textpic-centered > .textpic-text{
	border: 0px dotted blue;
	clear: right;
	display: unset;
}
@media (max-width: 991px) {

	.textpic-centered > .textpic-gallery {
	    float: right;
	    border: 0px dotted green;
	    display: block !important;
	    margin: 0px 0px 0px 0px;
	    padding: 0px 0px 0px 0px !important;
	}
	.textpic-right  {
	    margin: 30px 0px 0px 0px;
	}

}