/* Hero Layout: Corner Photo (3.4.0, CUSTOM-TEMPLATE.md D9). A large title with a small square photo in the top corner
   (Photo Side) and a hairline carrying the sentence and buttons. Lots of white space on purpose.
   Sites restyle it with Branding (fonts, colors, image radius) and their css/screen.css. */
.ct2-hero .ct7-co { padding-bottom: clamp(60px, 7vw, 120px); }
.ct7-co-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 96px); align-items: end; }
.ct7-co--img-left .ct7-co-top { grid-template-columns: auto minmax(0, 1fr); }
.ct7-co--img-left .ct7-co-media { order: -1; }
.ct7-co--no-img .ct7-co-top { grid-template-columns: minmax(0, 1fr); }
.ct7-co-head { min-width: 0; }
.ct7-co-head .ct2-hero-title { max-width: 13em; }
.ct7-co-media { align-self: start; width: clamp(150px, 17vw, 280px); aspect-ratio: 1; overflow: hidden; border-radius: var(--img-radius, 0); }
.ct7-co-img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ct7-co-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 56px; margin-top: clamp(48px, 6vw, 96px); padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ct7-co-foot .ct2-hero-sentence { margin: 0; flex: 1 1 22em; max-width: 34em; }
.ct7-co-foot .ct2-hero-buttons { margin: 0; flex: none; }
.ct7-co-foot:not(:has(.ct2-hero-sentence)) { justify-content: flex-start; }

/* Full Browser Height: the photo holds the top corner, the title and hairline settle toward the bottom. */
.ct2-hero-corner.is-full:not(.cc-fit) { min-height: 100svh; display: flex; flex-direction: column; box-sizing: border-box; }
.ct2-hero-corner.is-full:not(.cc-fit) .ct7-co { flex: 1 1 auto; display: flex; flex-direction: column; }
.ct2-hero-corner.is-full:not(.cc-fit) .ct7-co-top { flex: 1 1 auto; }

@media (max-width: 767px) {
	.ct7-co-top, .ct7-co--img-left .ct7-co-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ct7-co-media { order: -1; width: 120px; justify-self: end; }
	.ct7-co--img-left .ct7-co-media { justify-self: start; }
	.ct2-hero-corner.is-full:not(.cc-fit) .ct7-co-top { align-content: space-between; }
	.ct7-co-foot { flex-direction: column; align-items: flex-start; margin-top: 40px; }
	.ct7-co-foot .ct2-hero-sentence { flex: none; }
	.ct7-co-foot .ct2-hero-buttons { align-self: stretch; }
}
