/* Version 1 layouts. Scoped away from legacy publications and marketing pages. */
.business-site.layout-v1 main { display: flex; flex-direction: column; }
.business-site.layout-v1 .business-hero, .business-site.layout-v1 .business-page-heading { order: 0; }
.business-site.layout-v1 .business-feature-image { order: 1; }
.business-site.layout-v1 .business-items { order: 2; }
.business-site.layout-v1 .business-image-story { order: 3; }
.business-site.layout-v1 .business-contact-invitation { order: 4; }
.business-site.layout-v1.layout-section-order-images-first .business-image-story { order: 1; }
.business-site.layout-v1 .business-hero-art { transform: none; width: 100%; max-width: none; }
.business-site.layout-v1.layout-navigation-stacked .business-header { flex-direction: column; align-items: center; gap: 22px; }
.business-site.layout-v1.layout-navigation-stacked .business-header nav { justify-content: center; }
.business-site.layout-v1.layout-hero-centered .business-hero { display: flex; flex-direction: column; text-align: center; }
.business-site.layout-v1.layout-hero-centered .business-hero-copy { max-width: 820px; margin-inline: auto; }
.business-site.layout-v1.layout-hero-centered .business-body { margin-inline: auto; }
.business-site.layout-v1.layout-hero-centered .inline-actions { justify-content: center; }
.business-site.layout-v1.layout-hero-centered .business-hero-art { aspect-ratio: 2.4; min-height: 0; height: auto; }
.business-site.layout-v1.layout-hero-editorial .business-hero { grid-template-columns: 1.25fr 1fr; align-items: end; }
.business-site.layout-v1.layout-hero-editorial .business-hero-art { grid-column: 1; grid-row: 1; aspect-ratio: .85; }
.business-site.layout-v1.layout-hero-editorial .business-hero-copy { grid-column: 2; grid-row: 1; padding-block: 35px; border-top: 1px solid currentColor; }
.business-site.layout-v1.layout-hero-poster .business-hero { display: flex; flex-direction: column; align-items: stretch; gap: 35px; }
.business-site.layout-v1.layout-hero-poster .business-hero-copy { max-width: none; display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px 40px; align-items: start; }
.business-site.layout-v1.layout-hero-poster .business-eyebrow { grid-column: 1 / -1; }
.business-site.layout-v1.layout-hero-poster .business-hero h1 { grid-column: 1; grid-row: 2 / 4; font-size: clamp(3.5rem, 7vw, 6.8rem); margin-block: 10px; }
.business-site.layout-v1.layout-hero-poster .business-body, .business-site.layout-v1.layout-hero-poster .inline-actions { grid-column: 2; }
.business-site.layout-v1.layout-hero-poster .business-hero-art { aspect-ratio: 3; min-height: 0; height: auto; }
.business-site.layout-v1.layout-services-rows .business-items { display: flex; flex-direction: column; gap: 0; }
.business-site.layout-v1.layout-services-rows .business-items article { display: grid; grid-template-columns: 60px 1fr 1.5fr; gap: 24px; padding: 32px 0; border: 0; border-top: 1px solid #c8cec4; border-radius: 0; background: transparent; }
.business-site.layout-v1.layout-services-rows .business-items article > * { margin-block: 0; }
.business-site.layout-v1.layout-services-spotlight .business-items { grid-template-columns: 1.4fr 1fr; }
.business-site.layout-v1.layout-services-spotlight .business-items article:first-child { grid-row: span 2; padding: clamp(28px, 4vw, 55px); background: var(--site-primary); color: var(--site-on-primary); display: flex; flex-direction: column; justify-content: end; }
.business-site.layout-v1.layout-services-spotlight .business-items article:first-child :is(h2, p, span) { color: inherit; }
.business-site.layout-v1.layout-services-spotlight .business-items article:first-child h2 { font-size: 2.3rem; }
.business-site.layout-v1.layout-spacing-compact .business-hero { padding-block: 35px; gap: 28px; }
.business-site.layout-v1.layout-spacing-compact .business-section { padding-block: 24px; }
.business-site.layout-v1.layout-corners-square :is(.business-hero-art, .business-items article, .business-button, .business-contact-invitation, .business-contact-card) { border-radius: 0; box-shadow: none; }
.business-site.layout-v1.layout-corners-soft .business-hero-art { border-radius: 32px; box-shadow: none; }
.business-site.layout-v1.layout-corners-arch .business-hero-art { border-radius: 240px 240px 12px 12px; box-shadow: none; }
.template-library { min-width: 0; }
.template-library fieldset { min-width: 0; }
.template-library legend { font-size: 1.2rem; font-weight: 650; margin-bottom: 12px; }
.template-library fieldset > p { font-size: .88rem; line-height: 1.7; color: #5a6555; }
.template-new-option { display: flex; align-items: start; gap: 14px; padding: 20px; border: 1px solid #b9c6b1; border-radius: 14px; margin-block: 22px; cursor: pointer; }
.template-new-option:has(input:checked) { background: #eef3e7; outline: 2px solid #52634c; }
.template-new-option small, .template-library-card small { display: block; margin-top: 7px; font-size: .76rem; line-height: 1.6; color: #596653; }
.template-library input[type=radio] { flex: 0 0 18px; width: 18px; height: 18px; accent-color: #52634c; }
.template-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 22px; }
.template-library-card { border: 1px solid #dbe2d4; border-radius: 14px; overflow: hidden; background: #fff; min-width: 0; }
.template-library-card:has(input:checked) { outline: 3px solid #52634c; }
.template-library-card label { display: flex; gap: 12px; padding: 18px 16px 10px; cursor: pointer; align-items: start; font-size: .92rem; }
.template-library-card > a { display: inline-block; margin: 0 16px 18px; font-size: .8rem; }
.template-thumbnail { height: 230px; overflow: hidden; position: relative; background: #fffdf8; container-type: inline-size; }
.template-thumbnail iframe { width: 1100px; height: 1050px; border: 0; pointer-events: none; transform: scale(.27); transform: scale(calc(100cqw / 1100px)); transform-origin: top left; position: absolute; left: 0; top: 0; }
.template-pagination { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: .8rem; }
.template-pagination a { text-decoration: underline; }
.template-demo-banner { text-align: center; padding: 12px; background: #edf0e7; color: #36472e; font: 14px/1.6 Arial, sans-serif; }
.template-current-option { display: flex; gap: 12px; }
@media(max-width:760px) {
  .business-site.layout-v1.layout-hero-editorial .business-hero { display: flex; flex-direction: column; align-items: stretch; }
  .business-site.layout-v1.layout-hero-editorial .business-hero-copy { order: 0; }
  .business-site.layout-v1.layout-hero-editorial .business-hero-art { order: 1; }
  .business-site.layout-v1.layout-hero-poster .business-hero-copy { display: block; }
  .business-site.layout-v1.layout-hero-poster .business-hero h1 { font-size: clamp(2.5rem, 11vw, 4.2rem); }
  .business-site.layout-v1.layout-hero-centered .business-hero-art, .business-site.layout-v1.layout-hero-poster .business-hero-art { aspect-ratio: 1.5; }
  .business-site.layout-v1.layout-services-rows .business-items article { grid-template-columns: 30px 1fr; gap: 12px; }
  .business-site.layout-v1.layout-services-rows .business-items article > :last-child { grid-column: 2; }
  .business-site.layout-v1.layout-services-spotlight .business-items { grid-template-columns: 1fr; }
  .business-site.layout-v1.layout-services-spotlight .business-items article:first-child { grid-row: auto; }
  .template-library-grid { grid-template-columns: 1fr; }
}
/* The inline editor's narrow canvas needs the same responsive composition. */
@container (max-width:600px) {
  .inline-canvas .business-site.layout-v1 .business-hero { display: flex; flex-direction: column; }
  .inline-canvas .business-site.layout-v1 .business-hero-copy { display: block; }
  .inline-canvas .business-site.layout-v1 .business-items { display: flex; flex-direction: column; }
}
/* Real photos use the composition's proportions; explicit editor overrides win. */
.business-site.layout-v1 .business-hero-art.has-image { aspect-ratio: auto; border-radius: 0; overflow: visible; }
.business-site.layout-v1.layout-hero-centered .business-hero-art .content-image img { aspect-ratio: var(--image-ratio, 2.4); }
.business-site.layout-v1.layout-hero-poster .business-hero-art .content-image img { aspect-ratio: var(--image-ratio, 3); }
.business-site.layout-v1.layout-hero-editorial .business-hero-art .content-image img { aspect-ratio: var(--image-ratio, .85); }
.business-site.layout-v1.layout-corners-square .business-hero-art .content-image img { border-radius: var(--image-radius, 0px); }
.business-site.layout-v1.layout-corners-soft .business-hero-art .content-image img { border-radius: var(--image-radius, 32px); }
.business-site.layout-v1.layout-corners-arch .business-hero-art .content-image img { border-radius: var(--image-radius, 240px 240px 12px 12px); }
@media(max-width:760px) {
  .business-site.layout-v1.layout-hero-centered .business-hero-art .content-image img,
  .business-site.layout-v1.layout-hero-poster .business-hero-art .content-image img { aspect-ratio: var(--image-ratio, 1.5); }
}
