/* Mobile Font Size Fix - targeting screens up to 768px */
@media (max-width: 768px) {
	body,
							  p,
							  li,
							  span,
							  div {
		font-size: 18px !important;
		line-height: 1.7 !important;
	}
	
	h1 {
		font-size: 32px !important;
	}
	
	h2 {
		font-size: 26px !important;
	}
	
	h3 {
		font-size: 22px !important;
	}
	
	h4, h5, h6 {
		font-size: 20px !important;
	}
	
	.wp-block-paragraph,
							  .entry-content p {
		font-size: 18px !important;
		line-height: 1.7 !important;
	}
	
	nav,
							  .nav-menu a,
							  .wp-block-navigation a {
		font-size: 16px !important;
	}
	
	small,
							  .wp-block-post-date,
							  figcaption {
		font-size: 14px !important;
	}
}

/* Hide duplicate site title text in navbar - logo already shows the brand */
.wp-block-site-title {
	display: none !important;
}

/* Gallery Page Redesign */
#xcollabz-gallery-wrap {
	font-family: 'Georgia', serif;
	background: #fff;
	padding: 0 0 60px;
}

#xcollabz-gallery-header {
	text-align: center;
	padding: 40px 20px 10px;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 30px;
}

#xcollabz-gallery-header h2 {
	font-size: 13px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #333;
	margin: 0 0 6px;
	font-weight: 400;
}

#xcollabz-gallery-header p {
	font-size: 13px;
	color: #888;
	margin: 0;
}

.xcollabz-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.xcollabz-filter-bar .filter-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.xcollabz-filter-bar .filter-tab {
	padding: 6px 16px;
	border: 1px solid #333;
	background: transparent;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s;
	border-radius: 2px;
}

.xcollabz-filter-bar .filter-tab:hover,.xcollabz-filter-bar .filter-tab.active {
	background: #111;
	color: #fff;
	border-color: #111;
}

.xcollabz-filter-bar .filter-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.xcollabz-filter-bar .sort-select {
	border: 1px solid #ccc;
	padding: 6px 12px;
	font-size: 12px;
	background: #fff;
	cursor: pointer;
	border-radius: 2px;
}

.xcollabz-search {
	border: 1px solid #ccc;
	padding: 6px 12px;
	font-size: 12px;
	width: 200px;
	border-radius: 2px;
	outline: none;
}

#xcollabz-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
	gap: 24px;
	padding: 0 20px;
}

.xc-art-tile {
	cursor: pointer;
	position: relative;
	background: #f8f8f8;
	overflow: hidden;
	border-radius: 3px;
	transition: transform .3s ease, box-shadow .3s ease;
}

.xc-art-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.xc-art-tile img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	display: block;
	background: #eee;
	transition: transform .4s ease;
}

.xc-art-tile:hover img {
	transform: scale(1.03);
}

.xc-art-info {
	padding: 14px 16px;
}

.xc-art-info .xc-title {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	margin: 0 0 4px;
	letter-spacing: .3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.xc-art-info .xc-collection {
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #888;
	margin: 0 0 8px;
}

.xc-art-info .xc-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.xc-art-info .xc-price {
	font-size: 13px;
	color: #333;
}

.xc-art-info .xc-editions {
	font-size: 11px;
	color: #aaa;
}

.xcollabz-loading {
	text-align: center;
	padding: 60px;
	color: #888;
	font-size: 13px;
	letter-spacing: 2px;
}

.xcollabz-load-more {
	display: block;
	margin: 40px auto 0;
	padding: 12px 40px;
	border: 1px solid #111;
	background: transparent;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s;
	border-radius: 2px;
}

.xcollabz-load-more:hover {
	background: #111;
	color: #fff;
}

.xcollabz-results-count {
	text-align: center;
	font-size: 12px;
	color: #aaa;
	letter-spacing: 1px;
	padding: 0 0 16px;
}

.xc-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.xc-modal-overlay.active {
	display: flex;
}

.xc-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.7);
}

.xc-modal-box {
	position: relative;
	z-index: 1;
	background: #fff;
	max-width: 880px;
	width: 92%;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 4px;
	display: flex;
	flex-direction: row;
	box-shadow: 0 24px 80px rgba(0,0,0,.4);
}

.xc-modal-img-side {
	flex: 0 0 48%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

.xc-modal-img-side img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	max-height: 70vh;
}

.xc-modal-info-side {
	flex: 1;
	padding: 36px 32px;
	overflow-y: auto;
}

.xc-modal-info-side .m-collection {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #888;
	margin: 0 0 10px;
}

.xc-modal-info-side .m-title {
	font-size: 24px;
	font-weight: 600;
	color: #111;
	margin: 0 0 16px;
	line-height: 1.3;
}

.xc-modal-info-side .m-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0 0 24px;
}

.xc-modal-info-side .m-meta {
	border-top: 1px solid #eee;
	padding-top: 20px;
	margin-top: 4px;
}

.xc-modal-info-side .m-meta-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f5f5f5;
	font-size: 13px;
}

.xc-modal-info-side .m-meta-row .m-label {
	color: #888;
	letter-spacing: .5px;
}

.xc-modal-info-side .m-meta-row .m-val {
	color: #111;
	font-weight: 500;
}

.xc-modal-info-side .m-buy-btn {
	display: inline-block;
	margin-top: 24px;
	padding: 14px 32px;
	background: #111;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	border-radius: 2px;
	transition: background .2s;
}

.xc-modal-info-side .m-buy-btn:hover {
	background: #333;
}

.xc-modal-close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: #333;
	z-index: 2;
	line-height: 1;
}

@media(max-width:640px) {
	.xc-modal-box {
		flex-direction: column;
	}
	
	.xc-modal-img-side {
		min-height: 260px;
	}
	
	#xcollabz-grid {
		grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
		gap: 14px;
	}
}

/* Exhibition/Archive page font fix — match Cormorant serif used site-wide */
.archive,
.archive h1,
.archive h2,
.archive h3,
.archive h4,
.archive p,
.archive .entry-title,
.archive .entry-content,
.archive .entry-summary,
.blog,
.blog h1,
.blog h2,
.blog h3,
.blog p,
.blog .entry-title,
.blog .entry-content {
	font-family: 'Cormorant', Georgia, serif !important;
}

/* Exhibition archive card fix */
.archive .entry-title a,
.archive .entry-title,
.post-card .entry-title,
.post-card h2,
.post-card p,
.post-card .entry-content,
.post-card .entry-summary,
h1.page-title,
.page-title {
	font-family: 'Cormorant', Georgia, serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.archive .entry-title a {
	font-family: 'Cormorant', Georgia, serif !important;
	text-transform: none !important;
	font-size: 22px !important;
}

/* WordPress embed template font fix */
.wp-embed-heading,
.wp-embed-heading a,
.wp-embed .wp-embed-heading {
	font-family: 'Cormorant', Georgia, serif !important;
	text-transform: none !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
}

.wp-embed,
.wp-embed p,
.wp-embed-excerpt p {
	font-family: 'Cormorant', Georgia, serif !important;
}

/* Force Cormorant on wp-embed pages */
body.wp-embed-responsive .wp-embed-heading,
body.wp-embed-responsive h2,
body.wp-embed-responsive p,
body.wp-embed-responsive {
	font-family: 'Cormorant', Georgia, serif !important;
	text-transform: none !important;
}