:root {
	--odg2-orange: #ff6a13;
	--odg2-orange-dark: #e65300;
	--odg2-cream: #fff7f1;
	--odg2-pale: #f3f7f9;
	--odg2-charcoal: #343434;
	--odg2-ink: #252525;
	--odg2-muted: #687178;
	--odg2-line: #e3e8eb;
	--odg2-white: #ffffff;
	--odg2-shadow: 0 24px 70px rgba(27, 42, 51, .11);
}

body.ortodent-gallery-v2-page {
	overflow-x: hidden;
	background: var(--odg2-white);
}

body.ortodent-gallery-v2-page #content,
body.ortodent-gallery-v2-page #content > .ast-container,
body.ortodent-gallery-v2-page #primary,
body.ortodent-gallery-v2-page .content-area,
body.ortodent-gallery-v2-page .site-main {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.odg2-page {
	color: var(--odg2-ink);
	font-size: 16px;
	line-height: 1.68;
}

.odg2-page *,
.odg2-page *::before,
.odg2-page *::after {
	box-sizing: border-box;
}

.odg2-page h1,
.odg2-page h2,
.odg2-page p {
	margin-top: 0;
}

.odg2-page h1,
.odg2-page h2 {
	color: inherit;
	line-height: 1.03;
	letter-spacing: -.05em;
}

.odg2-page h1 {
	margin-bottom: 0;
	font-size: clamp(3rem, 6vw, 6rem);
}

.odg2-page a {
	text-decoration: none;
}

.odg2-shell {
	width: min(1320px, calc(100% - 48px));
	margin-inline: auto;
}

.odg2-section {
	padding: clamp(50px, 5.5vw, 84px) 0 clamp(68px, 7vw, 106px);
	background: var(--odg2-white);
}

.odg2-eyebrow {
	margin-bottom: 13px;
	color: var(--odg2-orange);
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.odg2-heading {
	margin-bottom: clamp(28px, 4vw, 44px);
}

.odg2-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(30px, 4vw, 48px);
}

.odg2-filters button {
	min-height: 44px;
	padding: 10px 19px;
	border: 1px solid var(--odg2-line);
	border-radius: 999px;
	background: var(--odg2-white);
	color: var(--odg2-ink);
	font-weight: 850;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.odg2-filters button:hover,
.odg2-filters button:focus,
.odg2-filters button.is-active {
	border-color: var(--odg2-orange);
	background: var(--odg2-orange);
	color: var(--odg2-white);
	transform: translateY(-1px);
}

.odg2-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.odg2-item[hidden] {
	display: none !important;
}

.odg2-card {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 390px;
	border-radius: 22px;
	background: var(--odg2-pale);
	box-shadow: 0 14px 42px rgba(27, 42, 51, .08);
	cursor: zoom-in;
}

.odg2-card__media,
.odg2-card__media img {
	display: block;
	width: 100%;
	height: 100%;
}

.odg2-card__media {
	position: absolute;
	inset: 0;
}

.odg2-card__media img {
	object-fit: cover;
	transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.odg2-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(20, 24, 28, .02) 30%,
		rgba(20, 24, 28, .78) 100%
	);
	content: "";
}

.odg2-card:hover .odg2-card__media img,
.odg2-card:focus .odg2-card__media img {
	transform: scale(1.045);
}

.odg2-card__overlay {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 30px 25px 24px;
	color: var(--odg2-white);
}

.odg2-card__overlay span {
	display: block;
	margin-bottom: 8px;
	color: var(--odg2-orange);
	font-size: .7rem;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.odg2-card__overlay h2 {
	margin-bottom: 0;
	color: var(--odg2-white);
	font-size: clamp(1.65rem, 2.5vw, 2.55rem);
}

.odg2-card--placeholder {
	display: grid;
	place-items: center;
	cursor: default;
}

.odg2-card--placeholder::after {
	display: none;
}

.odg2-placeholder {
	text-align: center;
}

.odg2-placeholder span,
.odg2-placeholder strong {
	display: block;
}

.odg2-placeholder span {
	margin-bottom: 12px;
	color: var(--odg2-orange);
	font-size: 2rem;
	font-weight: 900;
}

.odg2-contact {
	padding: clamp(58px, 6vw, 90px) 0;
	background: var(--odg2-orange);
	color: var(--odg2-white);
}

.odg2-contact .odg2-eyebrow {
	color: var(--odg2-white);
	opacity: .8;
}

.odg2-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 48px;
}

.odg2-contact h2 {
	max-width: 760px;
	margin-bottom: 0;
	font-size: clamp(2.3rem, 4vw, 4rem);
}

.odg2-contact__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.odg2-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 24px;
	border-radius: 999px;
	background: var(--odg2-white);
	color: var(--odg2-orange-dark);
	font-weight: 900;
}

.odg2-phone {
	color: var(--odg2-white);
	font-weight: 900;
	white-space: nowrap;
}

/* Lightbox */
.odg2-lightbox {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) 68px;
	align-items: center;
	padding: 50px 34px 34px;
}

.odg2-lightbox[hidden] {
	display: none;
}

.odg2-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 18, 21, .95);
	backdrop-filter: blur(7px);
}

.odg2-lightbox figure {
	position: relative;
	z-index: 2;
	display: grid;
	width: min(1280px, 100%);
	max-height: calc(100vh - 90px);
	margin: auto;
	place-items: center;
}

.odg2-lightbox img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	border-radius: 14px;
	object-fit: contain;
	box-shadow: 0 26px 90px rgba(0, 0, 0, .4);
}

.odg2-lightbox figcaption {
	margin-top: 13px;
	color: rgba(255, 255, 255, .82);
	text-align: center;
}

.odg2-lightbox button {
	position: relative;
	z-index: 3;
	display: grid;
	width: 48px;
	height: 48px;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: var(--odg2-white);
	font-size: 2rem;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.odg2-lightbox button:hover,
.odg2-lightbox button:focus {
	background: var(--odg2-orange);
	transform: scale(1.05);
}

.odg2-lightbox__close {
	position: absolute !important;
	top: 20px;
	right: 22px;
}

body.odg2-lightbox-open {
	overflow: hidden;
}

@media (max-width: 980px) {
	.odg2-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.odg2-contact__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.odg2-shell {
		width: min(100% - 28px, 1320px);
	}

	.odg2-section {
		padding: 42px 0 64px;
	}

	.odg2-grid {
		grid-template-columns: 1fr;
	}

	.odg2-card {
		min-height: 430px;
	}

	.odg2-contact {
		padding: 48px 0 54px;
	}

	.odg2-contact__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.odg2-lightbox {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		padding: 62px 8px 20px;
	}

	.odg2-lightbox button {
		width: 40px;
		height: 40px;
	}

	.odg2-lightbox__close {
		top: 12px;
		right: 12px;
	}
}
