/* Content media uses a landscape frame. Product specifications and documents remain legible. */
.fx-site :is(.yp-card-image, .yp-main-image, .yp-thumbnail, .yc-card-image, .yc-photo > a, .yc-about-gallery > a, .fx-product-image, .fx-capability-grid > a, .fx-factory-collage > a, .fx-exhibition-grid img) {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    align-self: start;
}
.fx-site :is(.yp-editor, .yc-editor) img {
    max-width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: contain;
}
.fx-site .fx-factory-collage { grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-rows: auto; }
.fx-site .fx-factory-collage > a { grid-area: auto; }
.fx-site .yf-floating-service { background:#263b42; font-size:22px; }
.yf-buying-links { margin-block: 32px 56px; }
.yf-buying-links h2 { font-size:clamp(24px, 3vw, 36px); margin-bottom:16px; }
.yf-buying-links li { border-top:1px solid #d5ddda; padding:14px 0; }
.yf-buying-links a:hover { text-decoration:underline; }
@media(max-width:700px){.fx-site .fx-factory-collage {grid-template-columns:1fr;}}

/* Keep the photograph itself at 4:3 within full-width column headings. */
.fx-site .yb-banner > .yb-image {
    inset: 0 0 0 auto;
    width: auto;
    max-width: none;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.fx-site .yb-banner::before {
    background: linear-gradient(90deg, #17262b 0%, #17262bf2 38%, #17262b80 75%, #17262b55);
}
.fx-site .yf-home-enquiry-photo {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
