:root {
	--owh-bg: #f6f2e8;
	--owh-surface: rgba(255, 252, 246, 0.96);
	--owh-surface-strong: #ffffff;
	--owh-ink: #1b1712;
	--owh-muted: #625b52;
	--owh-line: rgba(56, 43, 24, 0.12);
	--owh-accent: #8c9c28;
	--owh-accent-dark: #74811e;
	--owh-shadow: 0 22px 54px rgba(42, 30, 14, 0.08);
	--owh-radius-xl: 30px;
	--owh-radius-lg: 24px;
	--owh-radius-md: 18px;
}

.owh-single-entry {
	padding: 40px 20px 72px;
	background:
		radial-gradient(circle at top left, rgba(226, 235, 196, 0.55), transparent 26%),
		radial-gradient(circle at top right, rgba(241, 234, 218, 0.76), transparent 28%),
		linear-gradient(180deg, #f3efe5 0%, #fbf8f1 100%);
}

.owh-single-entry__shell {
	width: min(1180px, 100%);
	margin: 0 auto;
	display: grid;
	gap: 28px;
}

.owh-single-entry__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
	gap: 28px;
	align-items: start;
}

.owh-single-entry__panel,
.owh-single-section {
	background: var(--owh-surface);
	border: 1px solid var(--owh-line);
	border-radius: var(--owh-radius-xl);
	box-shadow: var(--owh-shadow);
	backdrop-filter: blur(16px);
}

.owh-single-entry__panel {
	padding: 28px;
	position: sticky;
	top: 110px;
}

.owh-single-pill,
.owh-single-card__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(140, 156, 40, 0.14);
	color: #5f6c14;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.owh-single-entry__panel h1 {
	margin: 18px 0 22px;
	font-size: clamp(2.3rem, 4vw, 4rem);
	line-height: 0.94;
	letter-spacing: -0.05em;
}

.owh-single-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.owh-single-spec {
	padding: 16px 16px 15px;
	border: 1px solid rgba(56, 43, 24, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.76);
}

.owh-single-spec span {
	display: block;
	margin-bottom: 10px;
	color: var(--owh-muted);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.owh-single-spec strong {
	display: block;
	font-size: 1.08rem;
	line-height: 1.35;
}

.owh-single-entry__back {
	margin-top: 22px;
}

.owh-single-entry__back a,
.owh-single-links__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 16px;
	text-decoration: none !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.owh-single-entry__back a,
.owh-single-links__button.is-primary {
	background: var(--owh-accent);
	color: #ffffff !important;
}

.owh-single-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.owh-single-links__button {
	background: #fffdf7;
	border: 1px solid rgba(56, 43, 24, 0.12);
	color: var(--owh-ink) !important;
}

.owh-single-entry__back a:hover,
.owh-single-links__button:hover {
	transform: translateY(-1px);
}

.owh-single-gallery {
	position: relative;
}

.owh-single-gallery__frame {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--owh-line);
	border-radius: 32px;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(227, 235, 207, 0.7), transparent 28%),
		linear-gradient(180deg, #eef3e1 0%, #e5ebd6 100%);
	box-shadow: var(--owh-shadow);
}

.owh-single-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	cursor: zoom-in;
}

body.owh-single-entry-page--stallions .owh-single-gallery__image {
	object-fit: cover;
}

.owh-single-gallery__fallback {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font-weight: 700;
	color: var(--owh-muted);
}

.owh-single-gallery__fallback.is-visible {
	display: flex;
}

.owh-single-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.72);
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.owh-single-gallery__nav--prev {
	left: 18px;
}

.owh-single-gallery__nav--next {
	right: 18px;
}

.owh-single-entry__sections {
	display: grid;
	gap: 24px;
}

.owh-single-section {
	padding: 28px;
}

.owh-single-section h3 {
	margin: 0 0 18px;
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.owh-single-copy,
.owh-single-copy p,
.owh-single-card p,
.owh-single-table td {
	color: var(--owh-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.owh-single-copy p:first-child {
	margin-top: 0;
}

.owh-single-copy p:last-child {
	margin-bottom: 0;
}

.owh-single-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-left: 18px;
}

.owh-single-list li {
	color: var(--owh-muted);
	line-height: 1.6;
}

.owh-single-table-wrap {
	overflow-x: auto;
}

.owh-single-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
}

.owh-single-table th,
.owh-single-table td {
	padding: 14px 12px;
	border-bottom: 1px solid rgba(56, 43, 24, 0.1);
	text-align: left;
	vertical-align: top;
}

.owh-single-table th {
	color: var(--owh-ink);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.owh-single-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.owh-single-card {
	padding: 18px;
	border: 1px solid rgba(56, 43, 24, 0.1);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.74);
}

.owh-single-card h4 {
	margin: 14px 0 10px;
	font-size: 1.15rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.owh-single-card p {
	margin: 0;
}

.owh-single-card p + p {
	margin-top: 8px;
}

.owh-single-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(10, 10, 10, 0.86);
	backdrop-filter: blur(8px);
}

.owh-single-lightbox.is-open {
	display: flex;
}

.owh-single-lightbox__dialog {
	position: relative;
	width: min(94vw, 1440px);
	max-height: 92vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.owh-single-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 92vh;
	border-radius: 24px;
	background: #f4f0e7;
}

.owh-single-lightbox__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 28px;
	cursor: pointer;
}

@media (max-width: 1100px) {
	.owh-single-entry__hero {
		grid-template-columns: 1fr;
	}

	.owh-single-entry__panel {
		position: static;
	}
}

@media (max-width: 782px) {
	.owh-single-entry {
		padding: 26px 14px 54px;
	}

	.owh-single-entry__panel,
	.owh-single-section {
		padding: 22px;
		border-radius: 24px;
	}

	.owh-single-gallery__frame {
		min-height: 420px;
		border-radius: 24px;
	}

	.owh-single-specs,
	.owh-single-card-grid {
		grid-template-columns: 1fr;
	}

	.owh-single-links {
		flex-direction: column;
	}

	.owh-single-links__button,
	.owh-single-entry__back a {
		width: 100%;
	}

	.owh-single-table {
		min-width: 0;
		border-collapse: separate;
		border-spacing: 0;
	}

	.owh-single-table thead {
		display: none;
	}

	.owh-single-table tbody {
		display: grid;
		gap: 14px;
	}

	.owh-single-table tr {
		display: grid;
		gap: 10px;
		padding: 16px;
		border: 1px solid rgba(56, 43, 24, 0.1);
		border-radius: 18px;
		background: rgba(255, 255, 255, 0.74);
	}

	.owh-single-table td {
		display: grid;
		grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
		gap: 12px;
		padding: 0;
		border: 0;
		align-items: start;
	}

	.owh-single-table td::before {
		content: attr(data-label);
		color: var(--owh-ink);
		font-size: 0.72rem;
		font-weight: 800;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		line-height: 1.35;
	}
}

@media (max-width: 540px) {
	.owh-single-gallery__frame {
		min-height: 320px;
	}

	.owh-single-table td {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
