/* Hero Layout: Panorama + Info Bar (3.4.0, CUSTOM-TEMPLATE.md D9). A wide cinematic photo with the title low on it and
   an accent bar of three facts under it. Sites restyle with Branding and their css/screen.css; --ct7-accent colors the
   bar and --ct7-on-accent its text. */
.ct7-pn { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(clamp(640px, 88svh, 960px) - var(--ct2-hero-top)); }
.ct2-hero-panorama.is-full .ct7-pn { min-height: calc(100svh - var(--ct2-hero-top)); }
.ct7-pn-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: color-mix(in srgb, currentColor 10%, transparent); }
.ct7-pn-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ct7-pn-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .22) 50%, rgba(0, 0, 0, 0) 70%); }
.ct7-pn-shade { position: absolute; inset: 0; background: var(--ct2-hero-shade, #000); }
.ct7-pn-copy { position: relative; z-index: 1; padding-bottom: clamp(48px, 5.6vw, 96px) !important; }
.ct7-pn:not(.ct7-pn--noimg) .ct7-pn-copy { color: #fff; }
.ct7-pn-copy .ct2-hero-title { max-width: 12em; }
.ct2-hero.ct2-hero-panorama .ct7-pn:not(.ct7-pn--noimg) .ct2-hero-title span { color: inherit !important; opacity: .75; }
.ct7-pn-copy .ct2-hero-sentence { max-width: 34em; }

.ct7-pn-bar { position: relative; z-index: 1; background: var(--ct7-accent); color: var(--ct7-on-accent); }
.ct7-pn-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0; }
.ct7-pn-cells.ct7-pn-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct7-pn-cells.ct7-pn-n1 { grid-template-columns: minmax(0, 1fr); }
.ct7-pn-cell { min-width: 0; padding: clamp(26px, 2.6vw, 40px) clamp(20px, 2.6vw, 44px); border-left: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.ct7-pn-cell:first-child { border-left: 0; padding-left: 0; }
.ct7-pn-k { margin: 0 0 10px; font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.3; opacity: .78; }
.ct7-pn-v { margin: 0; font-family: var(--font-headlines, var(--font-titles)); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.3; overflow-wrap: anywhere; }
.ct7-pn-link { color: inherit !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.ct7-pn-link span[aria-hidden] { display: inline-block; }
.ct2-hero-panorama :is(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
	.ct7-pn-img { animation: ct7-pn-settle 2.4s cubic-bezier(.2, .7, 0, 1) both; }
	.ct7-pn-link span[aria-hidden] { transition: transform .2s ease; }
	.ct7-pn-link:hover span[aria-hidden] { transform: translateX(4px); }
}
@keyframes ct7-pn-settle { from { transform: scale(1.06); } }

@media (max-width: 767px) {
	.ct7-pn-scrim { background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, .32) 70%, rgba(0, 0, 0, .12)); }
	.ct7-pn { min-height: calc(clamp(560px, 86svh, 760px) - var(--ct2-hero-top)); }
	.ct7-pn-copy { padding-bottom: 44px !important; }
	.ct7-pn-cells, .ct7-pn-cells.ct7-pn-n2 { grid-template-columns: minmax(0, 1fr); padding-block: 8px !important; }
	.ct7-pn-cell, .ct7-pn-cell:first-child { padding: 20px 0; border-left: 0; border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
	.ct7-pn-cell:first-child { border-top: 0; }
}
