/* Shared rendering of original Jupiter and Visual Composer content. */
.ss-legacy-row {
	display: grid;
	grid-template-columns: repeat(12,minmax(0,1fr));
	gap: clamp(1.25rem,3.5vw,3rem);
	align-items: center;
	position: relative;
}
.entry-content > .ss-legacy-row, .home-content > .ss-legacy-row {
	margin: 0 auto;
	padding-block: clamp(2rem,6vw,5.25rem);
	border-top: 1px solid var(--ss-line);
}
.home-content > .ss-legacy-row {
	width: min(92%, 78rem);
}
.ss-legacy-section.ss-legacy-with-photo,
.ss-legacy-box.ss-legacy-with-photo {
	isolation: isolate;
	overflow: hidden;
	background: #17252c;
	color: white;
	padding: clamp(2rem,6vw,5rem);
}
.ss-legacy-col { min-width: 0; grid-column: span 12; overflow-wrap: break-word; }
.ss-legacy-col-2 { grid-column: span 2; }
.ss-legacy-col-3 { grid-column: span 3; }
.ss-legacy-col-4 { grid-column: span 4; }
.ss-legacy-col-6 { grid-column: span 6; }
.ss-legacy-col-8 { grid-column: span 8; }
.ss-legacy-col-9 { grid-column: span 9; }
.ss-legacy-col-10 { grid-column: span 10; }
.ss-legacy-col > :first-child, .ss-legacy-copy > :first-child { margin-top: 0; }
.ss-legacy-col > :last-child, .ss-legacy-copy > :last-child { margin-bottom: 0; }
.ss-legacy-box { position: relative; }
.ss-legacy-box > :first-child { margin-top: 0; }
.ss-legacy-box > :last-child { margin-bottom: 0; }
.ss-legacy-photo, .ss-legacy-image, .ss-legacy-backdrop p { margin: 0; }
.ss-legacy-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1.42;
	object-fit: cover;
}
.ss-legacy-backdrop {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.ss-legacy-backdrop img {
	display: block; width: 100%; height: 100%;
	object-fit: cover; opacity: .29;
}
.ss-legacy-backdrop p { height: 100%; }
.ss-legacy-image { margin-block: 1.15rem; }
.ss-legacy-image img { display: block; height: auto; max-width: 100%; }
.ss-legacy-section .ss-legacy-image:first-child img { max-height: 10rem; width: auto; object-fit: contain; }
.ss-legacy-title {
	margin: .3em 0 .45em;
	font-family: var(--ss-display);
	font-size: clamp(1.85rem,3.7vw,3.6rem);
	line-height: 1.08;
	letter-spacing: -.035em;
}
.ss-legacy-title-small { font-size: clamp(1.15rem,2vw,1.5rem); letter-spacing: -.01em; line-height: 1.32; }
.ss-legacy-copy { line-height: 1.67; }
.ss-legacy-copy p, .ss-legacy-feature p { max-width: 72ch; }
.ss-legacy-rule { margin: 1.4rem 0; max-width: 8rem; border: 0; border-top: 2px solid currentColor; }
.ss-legacy-button, .ss-legacy-contact button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 2.75rem; padding: .65em 1.2em; margin-top: 1rem;
	border: 1px solid currentColor; border-radius: .25rem;
	color: inherit; background: transparent;
	font-family: var(--ss-font); font-weight: 650;
	text-decoration: none; line-height: 1.25;
	transition: transform .2s ease;
}
.ss-legacy-button:hover, .ss-legacy-contact button:hover { transform: translateY(-2px); text-decoration: underline; }
.ss-legacy-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.ss-legacy-gallery a { display: block; }
.ss-legacy-gallery img { display: block; width: 100%; height: auto; }
.ss-legacy-tiles { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(16rem,100%),1fr)); align-items: start; gap: clamp(1rem,2.5vw,2.2rem); }
.ss-legacy-tile {
	margin: 0; min-width: 0;
	padding: clamp(1rem,2.2vw,1.7rem) 0;
	border-top: 1px solid currentColor;
}
.ss-legacy-tile h3, .ss-legacy-feature h3 { margin: .35em 0; font: 650 1.35rem/1.18 var(--ss-display); }
.ss-legacy-tile img { display: block; max-width: 100%; height: auto; }
.ss-legacy-tile cite { font-weight: 650; }
.ss-legacy-tile > :first-child { margin-top: 0; }
.ss-legacy-tile > :last-child { margin-bottom: 0; }
.ss-legacy-price { font-size: 1.3rem; font-weight: bold; }
.ss-legacy-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 1rem; }
.ss-legacy-contact { max-width: 45rem; }
.ss-legacy-contact form { display: grid; gap: 1rem; }
.ss-legacy-contact label { display: block; }
.ss-legacy-contact label input, .ss-legacy-contact textarea {
	display: block; margin-top: .3rem; width: 100%; padding: .7rem;
	color: #17252c; background: #fff; border: 1px solid #75818a; border-radius: .2rem;
}
.ss-legacy-contact textarea { resize: vertical; }
.ss-legacy-contact button { margin: 0; justify-self: start; }
.ss-legacy-map ul { padding-inline-start: 1.2em; }
.ss-legacy-map li { margin-block: .4rem; }
@media (max-width: 52rem) {
	.ss-legacy-row { gap: 1.3rem; }
	.ss-legacy-col { grid-column: span 12; }
	.ss-legacy-col-3, .ss-legacy-col-4 { grid-column: span 6; }
}
@media (max-width: 35rem) {
	.ss-legacy-col { grid-column: span 12; }
	.ss-legacy-gallery { gap: .45rem; }
	.ss-legacy-section.ss-legacy-with-photo, .ss-legacy-box.ss-legacy-with-photo { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ss-legacy-button, .ss-legacy-contact button { transition: none; }
	.ss-legacy-button:hover, .ss-legacy-contact button:hover { transform: none; }
}
