/* Archive */
.ogvr-archive-section-title {
	margin-bottom: 1em;
}
.ogvr-archive-list {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}
.ogvr-archive-row {
	border-bottom: 1px solid #e2e2e2;
	padding: 1em 0;
}
.ogvr-archive-row-link {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
	align-items: baseline;
	text-decoration: none;
	color: inherit;
}
.ogvr-archive-row-artist {
	font-weight: 600;
}
.ogvr-archive-row-date {
	margin-left: auto;
	color: #666;
	font-size: 0.9em;
}

.ogvr-year-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 1.5em;
}
.ogvr-year-tab {
	background: none;
	border: 1px solid #ccc;
	padding: 0.4em 1em;
	cursor: pointer;
}
.ogvr-year-tab.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
}

/* Single Viewing Room */
.ogvr-single-hero-image {
	width: 100%;
	height: auto;
	display: block;
}
.ogvr-single-header {
	margin: 1.5em 0;
}
.ogvr-single-title {
	margin: 0 0 0.25em;
}
.ogvr-single-date,
.ogvr-single-artist {
	margin: 0.2em 0;
	color: #555;
}

.ogvr-artwork-list {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5em;
}
.ogvr-artwork-card {
	display: flex;
	flex-direction: column;
}
.ogvr-artwork-list--is-list {
	grid-template-columns: 1fr !important;
}
.ogvr-artwork-list--is-list .ogvr-artwork-card {
	flex-direction: row;
	gap: 1.5em;
	align-items: flex-start;
}
.ogvr-artwork-list--is-list .ogvr-artwork-image {
	flex: 0 0 200px;
}
.ogvr-artwork-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.35s ease;
}
.ogvr-artwork-info {
	margin-top: 0.5em;
}
.ogvr-artwork-description {
	margin: 0 0 0.4em;
	font-size: 0.95em;
}
.ogvr-artwork-status {
	display: inline-block;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
}
.ogvr-status-available {
	color: #1a7f37;
	text-decoration: underline;
}
.ogvr-status-sold {
	color: #999;
	text-decoration: underline;
}

/* Archive Grid ("Viewing Rooms Grid" widget) */
.ogvr-grid-wrapper {
	width: 100%;
}
.ogvr-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, 1fr);
}
.ogvr-grid-item {
	display: block;
	color: inherit;
}
.ogvr-grid-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 3/4;
	text-decoration: none;
}
.ogvr-grid-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.ogvr-grid-item:hover .ogvr-grid-thumb img {
	transform: scale(1.03);
}
.ogvr-grid-caption {
	margin-top: 0.75em;
}
.ogvr-grid-artist,
.ogvr-grid-title,
.ogvr-grid-dates {
	display: block;
	text-decoration: none;
	color: inherit;
}
.ogvr-grid-dates {
	color: #777;
	font-size: 0.85em;
}
.ogvr-empty {
	opacity: 0.7;
}

/**
 * Optional full-bleed utility - add "ogvr-full-bleed" as a CSS class (via
 * Elementor's own Advanced tab -> CSS Classes field) on any Container you
 * want to visually escape the theme's boxed content wrapper, exactly like
 * Woodmart's own "Stretch Section" option does. Provided as a
 * theme-independent alternative/fallback: use whichever of the two
 * actually behaves correctly with your theme and language direction.
 */
.ogvr-full-bleed {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Request view */
.ogvr-request-breadcrumb {
	margin-bottom: 1.5em;
}
.ogvr-request-breadcrumb a {
	text-decoration: none;
}
.ogvr-request-view {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 2.5em;
}
@media (max-width: 782px) {
	.ogvr-request-view {
		grid-template-columns: 1fr;
	}
}

.ogvr-carousel {
	position: relative;
	overflow: hidden;
}
.ogvr-carousel-viewport {
	overflow: hidden;
	width: 100%;
}
.ogvr-carousel-track {
	display: flex;
	transition-property: transform;
	transition-timing-function: ease;
}
.ogvr-carousel-slide {
	box-sizing: border-box;
}
.ogvr-carousel-slide img {
	width: 100%;
	height: auto;
	display: block;
}
.ogvr-carousel-prev,
.ogvr-carousel-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.85);
	border: none;
	width: 36px;
	height: 36px;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ogvr-carousel-prev {
	left: 8px;
}
.ogvr-carousel-next {
	right: 8px;
}
.ogvr-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}
.ogvr-carousel-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #ccc;
	cursor: pointer;
	padding: 0;
}
.ogvr-carousel-dots button.is-active {
	background: #111;
}

.ogvr-request-status {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85em;
	margin: 0.5em 0 1em;
}
.ogvr-request-status.ogvr-status-available {
	color: #1a7f37;
}
.ogvr-request-status.ogvr-status-sold {
	color: #999;
}
.ogvr-request-sold-note {
	color: #777;
}
