/* Private composition rules share the public shell's spacing and surface tokens. */
.c3-services.pass-c-client-process { background-image: none; padding-bottom: 0; }
.pass-c-client-process .c3-service-steps { height: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.pass-c-client-process .pass-c-staff-group { display: block; width: 100%; max-width: 1200px; height: auto; margin: 1.5rem auto 0; object-fit: contain; }
#c2-identity .identity-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); grid-template-areas: 'copy social' 'services social' 'qr qr'; gap: 1.75rem 2rem; align-items: start; height: auto; grid-template-rows: auto auto auto; }
#c2-identity .identity-copy { grid-area: copy; align-self: start; min-width: 0; padding: 0; }
#c2-identity .identity-banners { grid-area: services; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; margin: 0; padding: 0; align-self: start; }
#c2-identity .identity-banners a { display: flex; align-items: center; min-width: 0; width: 100%; }
#c2-identity .identity-banners img { display: block; width: 100%; height: auto; object-fit: contain; }
#c2-identity .identity-social { grid-area: social; display: block; width: 100%; max-width: none; min-width: 0; padding: 1.25rem; align-self: start; }
#c2-identity .identity-social .social-card { width: 100%; max-width: none; }
#c2-identity .fb-frame { width: 100%; max-width: none; height: auto; min-height: 0; }
#c2-identity .fb-fallback { width: 100%; min-height: 0; padding-bottom: 1.5rem; }
#c2-identity .fb-frame iframe { width: 100%; max-width: 100%; }
#c2-identity .fb-open { display: flex; justify-content: center; margin: 1rem auto 0; }
#c2-identity .polish-qr-cards { grid-area: qr; display: grid; grid-template-columns: repeat(2, minmax(240px, 360px)); justify-content: center; align-items: stretch; width: 100%; max-width: none; height: auto; gap: 1.5rem; padding-top: .5rem; }
#c2-identity .polish-municipal-line, #c2-identity .polish-waterworks { width: 100%; min-width: 0; margin: 0; padding: 1.25rem; border: 1px solid #cfe8d6; border-radius: 1.25rem; background: #fffdf8; text-align: center; }
#c2-identity .polish-qr-cards h3 { color: #137c3c; margin: 0 0 1rem; font-size: 1.2rem; }
#c2-identity .polish-municipal-line .line-card { padding: 0; border: 0; background: transparent; box-shadow: none; height: auto; }
#c2-identity .polish-municipal-line .line-poster { width: min(100%,220px); max-width: none; margin: 0 auto; }
#c2-identity .polish-municipal-line img, #c2-identity .polish-waterworks img { display: block; width: min(100%,220px); height: auto; max-width: 100%; object-fit: contain; margin: 0 auto; }
#c2-identity .polish-waterworks p { margin: .75rem 0 0; color: #45614c; font-size: .875rem; }
#c2-identity .polish-waterworks a { display: block; }
#c2-exec.exec-reference { position: relative; isolation: isolate; padding: 3rem max(20px,6.667cqw); background: #fffaf3; border-block: 2px solid #c7a354; }
#c2-exec.exec-reference::before { content: ''; position: absolute; inset: 0; background: url('/preview-facade/assets/client-latest/executive-lineart.jpg') center/cover; opacity: .14; z-index: -1; }
#c2-exec.exec-reference > h2 { text-align: center; color: var(--shell-red); margin: 0 0 2rem; }
#c2-exec .pass-c-executive-stage { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 2rem; width: min(100%,960px); height: auto; min-height: 0; margin: 0 auto; padding: 0; }
#c2-exec .pass-c-executive-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.5rem,3cqw,3rem); align-items: stretch; }
#c2-exec .pass-c-executive-person { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 0; border: 1px solid var(--shell-line); border-radius: 1.25rem; background: #fffdf8; box-shadow: 0 8px 24px #5a140a0c; overflow: hidden; }
#c2-exec .pass-c-executive-person .executive-cutout { position: static; width: 100%; height: auto; max-height: none; aspect-ratio: 3/4; object-fit: cover; object-position: center top; transform: none; margin: 0; }
#c2-exec .pass-c-executive-person .executive-copy { position: static; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; min-width: 0; min-height: 0; transform: none; padding: 1.25rem; margin: 0; text-align: center; background: #fffdf8; }
#c2-exec .executive-copy h3 { margin: 0 0 .5rem; color: var(--shell-red); font-size: clamp(1.25rem,1.7cqw,1.6rem); line-height: 1.6; }
#c2-exec .executive-copy p { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.7; }
#c2-exec .executive-phone { margin-top: auto; padding: .55rem .9rem; border-radius: .7rem; background: var(--shell-red); color: white; font-size: 1rem; }
#c2-exec .pass-c-executive-stage .executive-actions { position: static; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; gap: 1.5rem; }
#c2-exec .executive-all { padding: .8rem 1.25rem; background: var(--shell-red); color: white; border: 1px solid var(--shell-red); border-radius: 999px; font-size: 1rem; }
#c2-exec .executive-gold { display: flex; justify-content: center; flex-wrap: wrap; width: 100%; gap: 1rem; }
#c2-exec .executive-gold a { flex: 0 1 320px; min-width: 0; }
#c2-activities .pass-c-home-activity-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
#c2-activities .pass-c-home-activity { display: flex; flex: 0 1 calc((100% - 3rem)/3); min-width: 0; flex-direction: column; border: 1px solid var(--shell-line); border-radius: 1rem; background: #fffdf8; box-shadow: 0 6px 24px #5a140a0b; }
#c2-activities .pass-c-home-activity-media { display: block; position: relative; aspect-ratio: 4/3; border-radius: 1rem 1rem 0 0; }
#c2-activities .pass-c-home-activity-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
#c2-activities .pass-c-home-date { position: absolute; left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); background: var(--shell-red); color: white; font-size: .8rem; line-height: 1.5; padding: .4rem .7rem; border-radius: .6rem; }
#c2-activities .pass-c-home-activity .act-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; gap: .75rem; }
#c2-activities .pass-c-home-activity .act-t { font-size: 1.05rem; font-weight: 600; line-height: 1.6; min-height: 3.2em; }
#c2-activities .pass-c-home-activity .act-x { font-size: .875rem; line-height: 1.7; min-height: 5.1em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: #756653; }
#c2-activities .pass-c-home-activity .act-more { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--shell-line); color: var(--shell-red); font-size: .875rem; }
@media (max-width: 1000px) {
  #c2-identity .identity-layout { grid-template-columns: minmax(0,1fr) minmax(250px,1fr); gap: 1.5rem; }
  #c2-identity .identity-banners { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #c2-exec .pass-c-executive-stage { width: min(100%,820px); }
  #c2-activities .pass-c-home-activity { flex-basis: calc((100% - 1.5rem)/2); }
}
@media (max-width: 600px) {
  #c2-identity .identity-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: 'copy' 'services' 'qr' 'social'; gap: 1.5rem; }
  #c2-identity .polish-qr-cards { grid-template-columns: minmax(0,360px); gap: 1rem; }
  #c2-identity .identity-social { padding: 1rem; }
  #c2-exec .pass-c-executive-pair { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  #c2-exec .pass-c-executive-person { width: min(100%,360px); margin: 0 auto; }
  #c2-activities .pass-c-home-activity { flex-basis: 100%; }
}

#c2-exec .executive-gold img { display: block; width: 100%; height: auto; }
#c2-identity .identity-social.fb-only .social-card { width: 100%; max-width: none; height: auto; }
#c2-identity .identity-social .fb-open { color: white; }

/* Staff photo as the full-width backdrop of the e-service section: under steps 1-4, faded at the top,
   with room below the tracking form for the staff to show (owner review 2026-10-19). */
#c2-eservice{padding-bottom:clamp(200px,calc(46.875vw - 300px),380px)!important;isolation:isolate}
#c2-eservice::before{content:"";position:absolute;left:0;right:0;bottom:0;aspect-ratio:2752/1290;background:url(/customer-content/pass-c/staff-group-photo.webp) center bottom/cover no-repeat;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 38%);mask-image:linear-gradient(to bottom,transparent 0,#000 38%);z-index:0;pointer-events:none}
#c2-eservice>*{position:relative;z-index:1}
#c2-eservice .pass-c-staff-group{display:none!important}
@media (max-width:767px){#c2-eservice{padding-bottom:230px!important}#c2-eservice::before{aspect-ratio:auto;height:440px}}

/* SILA gallery detail pages (e.g. /gallery/restaurants/...) inside the preview shell: the shell lacks the
   Tailwind utilities that template uses, so the image column stretched to 2600px. (live hotfix 03) */
.preview-main .flex.flex-col.gap-8:has(> .flex-shrink-0.space-y-4){display:flex;flex-direction:column;gap:2rem;align-items:flex-start}
@media (min-width:1024px){.preview-main .flex.flex-col.gap-8:has(> .flex-shrink-0.space-y-4){flex-direction:row}}
.preview-main .flex-shrink-0.space-y-4{flex:0 0 auto;width:100%;max-width:28rem;display:flex;flex-direction:column;gap:1rem}
.preview-main .flex-shrink-0.space-y-4>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.preview-main .flex-shrink-0.space-y-4>.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
@media (min-width:640px){.preview-main .flex-shrink-0.space-y-4>.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.preview-main .flex-shrink-0.space-y-4>.grid img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px;border:1px solid #e7d9bf}
.preview-main .flex-shrink-0.space-y-4~.flex-1{flex:1 1 0;min-width:0;line-height:1.8}
