/* Image and prose remain paired; smaller source images are never stretched. */
.editorial-page .document-content{max-width:1120px}
.editorial-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start;margin:32px 0 52px}
.editorial-page .document-section .editorial-media figure{margin:0 0 24px;max-width:min(100%,var(--image-width));width:100%}
.editorial-copy>:first-child{margin-top:0}
.editorial-copy h3{font-size:19px;line-height:1.65;margin:28px 0 14px}
.editorial-copy p{font-size:15px;line-height:1.95;margin:14px 0}
.editorial-page .document-section figure{max-width:min(100%,var(--image-width));}
.portfolio-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px;align-items:start;margin:26px 0 48px}
.editorial-page .other-content .document-section .portfolio-gallery figure{width:100%;max-width:min(100%,var(--image-width));margin:0}
.editorial-page .portfolio-gallery .image-button{width:fit-content;max-width:100%;margin:0;background:transparent}
.editorial-page .portfolio-gallery img{width:auto;max-width:100%;max-height:460px;object-fit:contain;object-position:left top}
.editorial-page .compact-cover{width:50%;max-width:620px;margin:36px 0 0 auto}
.editorial-page .compact-cover img{width:100%;height:auto}
@media(max-width:760px){
 .editorial-row{grid-template-columns:1fr;gap:8px;margin:24px 0 36px}
 .portfolio-gallery{grid-template-columns:1fr;gap:28px}
 .editorial-page .compact-cover{width:100%;margin:28px 0 0}
 .editorial-copy h3{font-size:18px}
}
