/* Graphics projects: editorial layout — left title, uncropped cover, images stacked full width at their own shape. */
.work-hed2.proj-stacked .container,
.proj-details.proj-stacked .container { max-width: 1290px; }

.work-hed2.proj-stacked .caption { text-align: left !important; margin-bottom: 40px !important; display: flex; flex-direction: column; }
.work-hed2.proj-stacked .caption h1 { order: 1; font-size: clamp(40px, 6vw, 84px) !important; font-weight: 500 !important; line-height: 1.05; margin: 0 0 20px; }
.work-hed2.proj-stacked .caption .sub-head { order: 2; font-size: 15px; letter-spacing: .02em; opacity: .75; padding: 0 0 28px !important; border-bottom: 1px solid rgba(255, 255, 255, .15); margin: 0 !important; }
.work-hed2.proj-stacked .caption .sub-head::before,
.work-hed2.proj-stacked .caption .sub-head::after { display: none !important; }

.work-hed2.proj-stacked > .container-fluid { max-width: 1290px; padding: 0 15px; margin: 0 auto; }
.work-hed2.proj-stacked .fit-img { height: auto !important; border-radius: 0 !important; }
.work-hed2.proj-stacked .fit-img img { height: auto !important; object-fit: contain !important; transform: none !important; }

.proj-details.proj-stacked { padding-top: 60px !important; }
.proj-details.proj-stacked .proj-details__text p { font-size: 18px; line-height: 1.6; }
.proj-details.proj-stacked .proj-details__gallery { display: flex !important; flex-direction: column; gap: 16px !important; margin-top: 60px !important; padding-top: 60px !important; }
.proj-details.proj-stacked .proj-details__gallery-item { width: 100% !important; grid-column: auto !important; grid-row: auto !important; aspect-ratio: auto !important; height: auto !important; border-radius: 0 !important; margin: 0 !important; }
.proj-details.proj-stacked .proj-details__gallery-item img { width: 100% !important; height: auto !important; object-fit: contain !important; border-radius: 0 !important; }

@media (max-width: 767px) {
    .work-hed2.proj-stacked .caption { margin-bottom: 24px !important; }
    .work-hed2.proj-stacked .caption .sub-head { padding-bottom: 20px !important; }
    .proj-details.proj-stacked { padding-top: 32px !important; }
    .proj-details.proj-stacked .proj-details__text p { font-size: 16px; }
    .proj-details.proj-stacked .proj-details__gallery { gap: 10px !important; margin-top: 32px !important; padding-top: 32px !important; }
}
