/* LYG SITE-WIDE CONTENT WIDTH — SYG parity — 2026-09-11
 * Authoritative desktop page-shell policy:
 *   width: 90%; max-width: 1728px
 * This file loads after component CSS so individual apps cannot silently
 * reintroduce older 1180/1240/1280/1400/1440 page-shell limits.
 */

@media (min-width: 1200px) {
    .container,
    .container.narrow,
    .footer-container,
    .lyg-site-width-shell,
    .lyg-news-index-inner,
    .lyg-news-home-inner,
    .lyg-companies-index-map-section,
    .syg-tender-hub,
    .syg-tender-directory {
        width: 90% !important;
        max-width: 1728px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* A narrow class may still describe a reading measure, but must not shrink
 * the page shell. Text stays readable inside the full-width shell. */
.container.narrow.rich-text > p,
.container.narrow.rich-text > h1,
.container.narrow.rich-text > h2,
.container.narrow.rich-text > h3,
.container.narrow.rich-text > h4,
.container.narrow.rich-text > h5,
.container.narrow.rich-text > h6,
.container.narrow.rich-text > ul,
.container.narrow.rich-text > ol,
.container.narrow.rich-text > blockquote,
.container.narrow.rich-text > table,
.container.narrow.rich-text > div:not(.image-grid) {
    max-width: var(--narrow-width);
}

/* Contact forms use the standard page shell while the form itself stays
 * comfortably readable. */
.enquiry-form,
.success-message {
    max-width: var(--narrow-width);
}

/* Legal and long-form design pages use a standard shell with a readable
 * inner text measure. */
.legal-page > header,
.legal-page > section,
.legal-page > p {
    max-width: 920px;
}

.lyg-design-reading-shell > p,
.lyg-design-reading-shell > article {
    max-width: 960px;
}

/* Tender detail pages retain a sensible reading measure inside the common
 * 1728px page shell. */
.lyg-tender-detail-shell > * {
    max-width: 1200px;
}
