.od-gallery-page.od-vehicle-content {
	width: 100%;
	min-height: 720px;
	padding: 32px 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #15263e;
}

.od-gallery-heading { margin-bottom: 20px; }
.od-gallery-kicker,
.od-gallery-preview-label {
	display: inline-flex;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .065em;
	text-transform: uppercase;
}
.od-gallery-kicker { margin-bottom: 7px; color: #f15a24; }
.od-gallery-heading h2 { margin: 0; font-size: clamp(27px, 3vw, 35px); line-height: 1.15; letter-spacing: -.035em; }
.od-gallery-heading p { max-width: 720px; margin: 8px 0 0; color: #60728a; font-size: 13px; line-height: 1.65; }
.od-gallery-preview-label { margin-top: 10px; padding: 5px 9px; border-radius: 999px; background: #fff3eb; color: #b9491e; }

.od-gallery-filters { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: thin; }
.od-gallery-filters button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	height: 43px;
	padding: 0 16px;
	border: 1px solid #dce4ec;
	border-radius: 9px;
	background: #fff;
	color: #263b52;
	font-size: 11px;
	font-weight: 750;
	box-shadow: 0 3px 12px rgba(19, 37, 57, .025);
}
.od-gallery-filters button span { display: grid; place-items: center; width: 18px; height: 18px; }
.od-gallery-filters button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.od-gallery-filters button small { color: #738397; font-size: 9px; }
.od-gallery-filters button:hover,
.od-gallery-filters button:focus-visible { border-color: #9fb1c2; }
.od-gallery-filters button:focus-visible { outline: 3px solid rgba(23, 61, 96, .14); outline-offset: 2px; }
.od-gallery-filters button.is-active { border-color: #153b60; background: linear-gradient(135deg, #173e64, #0d2948); color: #fff; box-shadow: 0 9px 20px rgba(14, 43, 72, .15); }
.od-gallery-filters button.is-active small { color: #dce9f4; }
.od-gallery-result-count { margin-left: auto; color: #738397; font-size: 10px; white-space: nowrap; }

.od-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: dense;
	grid-auto-rows: 142px;
	gap: 9px;
}
.od-gallery-item {
	position: relative;
	min-width: 0;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid #dfe6ec;
	border-radius: 11px;
	background: #f1f5f8;
}
.od-gallery-item[hidden] { display: none; }
.od-gallery-item--wide { grid-column: span 2; }
.od-gallery-item--hero { grid-column: span 2; grid-row: span 2; }
.od-gallery-item figcaption {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 28px 13px 10px;
	background: linear-gradient(transparent, rgba(12, 30, 48, .78));
	color: #fff;
	pointer-events: none;
}
.od-gallery-item figcaption span { overflow: hidden; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.od-gallery-item figcaption b { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .17); font-size: 7px; }

.od-gallery-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: radial-gradient(circle at 65% 28%, #fff 0, #edf3f7 48%, #dce5ec 100%); }
.od-gallery-open img { display: block; width: 100%; height: 100%; padding: 16px; object-fit: contain; transition: transform .28s ease; }
.od-gallery-open > span { position: absolute; z-index: 4; top: 11px; right: 11px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 999px; background: rgba(16, 41, 64, .78); color: #fff; font-size: 8px; opacity: 0; transform: translateY(-3px); transition: opacity .2s ease, transform .2s ease; }
.od-gallery-open > span svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.od-gallery-open:hover img,
.od-gallery-open:focus-visible img { transform: scale(1.035); }
.od-gallery-open:hover > span,
.od-gallery-open:focus-visible > span { opacity: 1; transform: none; }
.od-gallery-open:focus-visible { outline: 3px solid rgba(255, 92, 31, .45); outline-offset: -4px; }

.od-gallery-item--preview > div { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 7px; padding: 18px; color: #263e56; text-align: center; }
.od-gallery-item--preview > div::before,
.od-gallery-item--preview > div::after { position: absolute; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; content: ''; }
.od-gallery-item--preview > div::before { width: 160px; height: 160px; transform: translate(42%, -34%); }
.od-gallery-item--preview > div::after { width: 95px; height: 95px; transform: translate(-75%, 65%); }
.od-gallery-item--preview > div svg { position: relative; z-index: 1; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .72); fill: none; stroke: currentColor; stroke-width: 1.6; }
.od-gallery-item--preview > div strong { position: relative; z-index: 1; font-size: 11px; }
.od-gallery-item--preview > div small { position: relative; z-index: 1; color: #66798d; font-size: 8px; }
.od-gallery-item--slate { background: linear-gradient(145deg, #edf2f5, #cfdbe3); }
.od-gallery-item--navy { background: linear-gradient(145deg, #dfeaf4, #b9cddd); }
.od-gallery-item--charcoal { background: linear-gradient(145deg, #e4e8eb, #bec6cc); }
.od-gallery-item--blue { background: linear-gradient(145deg, #e8f2fa, #c7dfef); }
.od-gallery-item--silver { background: linear-gradient(145deg, #f2f4f5, #d9dfe3); }
.od-gallery-item--graphite { background: linear-gradient(145deg, #e5e9ed, #c4cdd5); }
.od-gallery-item--indigo { background: linear-gradient(145deg, #e9ebfb, #ccd2ef); }
.od-gallery-item--orange { background: linear-gradient(145deg, #fff0e7, #f5cfbb); }

.od-gallery-contribute { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 15px; padding: 13px 15px; border: 1px solid #dce4eb; border-radius: 11px; background: linear-gradient(90deg, #fafcfd, #fff); }
.od-gallery-contribute > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #eaf0f5; color: #173b5d; }
.od-gallery-contribute svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.od-gallery-contribute strong { color: #1c334b; font-size: 11px; }
.od-gallery-contribute p { margin: 4px 0 0; color: #66798e; font-size: 9px; line-height: 1.5; }
.od-gallery-contribute button { min-width: 165px; min-height: 40px; padding: 7px 13px; border: 0; border-radius: 8px; background: #153b60; color: #fff; font-size: 10px; font-weight: 800; opacity: 1; }
.od-gallery-contribute button small { display: block; color: #d8e6f2; font-size: 7px; }
.od-gallery-source { margin: 10px 0 0; padding: 9px 12px; border-radius: 7px; background: #f5f9fd; color: #61758a; font-size: 8px; }
.od-gallery-source > span { margin-right: 5px; color: #287bd0; }

.od-gallery-lightbox { width: min(92vw, 1100px); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 14px; background: #101c28; box-shadow: 0 35px 100px rgba(0, 0, 0, .5); }
.od-gallery-lightbox::backdrop { background: rgba(5, 16, 27, .82); backdrop-filter: blur(5px); }
.od-gallery-lightbox img { display: block; width: 100%; max-height: 78vh; padding: 24px; object-fit: contain; }
.od-gallery-lightbox p { margin: 0; padding: 0 24px 18px; color: #e9f0f5; font-size: 11px; }
.od-gallery-lightbox-close { position: absolute; z-index: 2; top: -13px; right: -13px; display: grid; place-items: center; width: 38px; height: 38px; min-width: 0; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #173b5d; color: #fff; font-size: 22px; line-height: 1; }
.od-gallery-lightbox-close:focus-visible { outline: 3px solid rgba(255, 255, 255, .45); outline-offset: 3px; }

@media (max-width: 850px) {
	.od-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
	.od-gallery-item--wide { grid-column: span 1; }
	.od-gallery-item--hero { grid-column: span 1; grid-row: span 2; }
}

@media (max-width: 560px) {
	.od-gallery-page.od-vehicle-content { padding: 24px 0 10px; }
	.od-gallery-result-count { display: none; }
	.od-gallery-grid { grid-auto-rows: 125px; gap: 7px; }
	.od-gallery-item--hero { grid-row: span 2; }
	.od-gallery-item figcaption { padding-inline: 9px; }
	.od-gallery-item figcaption b { display: none; }
	.od-gallery-contribute { grid-template-columns: 42px minmax(0, 1fr); }
	.od-gallery-contribute button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.od-gallery-open img,
	.od-gallery-open > span { transition: none; }
}
