@charset "utf-8";
/* CSS Document */
/* Art Gallery Plugin */

/* Video Embed to make videos associated with Works responsive */

.youtube-container-child
{
	position: relative;
	/* padding-bottom: 56.25%;  16:9 */
	padding-bottom:75%; /* 4:3 */
	padding-top: 25px;
	height: 0;
}

.youtube-container-child iframe, .youtube-container-child img
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.agp_works_inside_wrapper {
	display: grid;
	grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto ; 
}

.artistinfo_wrapper, .workinfo_wrapper, .orginfo_wrapper { 
	display:grid;  
	grid-template-columns: 30% 70%;	
}

/* Ensure the layout grid works as intended */
.agp-layout-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 2em;
	box-sizing: border-box;
}

/* Base styling for each block */
.agp-block {
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #ccc;
	background: #fdfdfd;
	width: 100%;
	max-width: 100%;
}

/* Full-width block */
.agp-width-full {
	flex: 0 0 100%;
}

/* Half-width block */
.agp-width-half {
	flex: 0 0 48%;
}

/* Ensure internal content like images and videos scale properly */
.agp-block img,
.agp-block iframe,
.agp-block video {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
	box-sizing: border-box;
}

/* Optional: remove margins on paragraphs and divs inside blocks */
.agp-block p,
.agp-block div {
	margin: 0 0 0 0;
}

/* Contain long values like URLs inside layout blocks */
.agp-block,
.agp-block * {
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Specific rule to truncate single-line values (e.g. in a schema label-value row) */
.agp-schema-field-value {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.agp-schema-field-value {
	word-break: break-all;
	white-space: normal;
}


/* Optional: spacing for each block type */
.agp-block-featured_image {}
.agp-block-spin_carousel {}
.agp-block-video {}
.agp-block-gallery {}
.agp-block-schema_block {}
.agp-block-description {}


.agp-video-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 ratio */
	overflow: hidden;
}
.agp-video-wrapper iframe,
.agp-video-wrapper video,
.agp-video-wrapper .wistia_embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.agp-video-thumbnail img {
	width: 100%;
	height: auto;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.agp-video-link-button a {
	display: inline-block;
	background: #333;
	color: #fff;
	padding: 10px 16px;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
}
