/* The shared contract is scoped to managed pages; themed portal selectors remain authoritative. */
/* Four publication cards on wide screens, with the Environment portal typography. */
@media(min-width:1101px){html body.page.lp-file-page #page #primary :is(.lp-publication-grid,[data-lp-grid],#lp-quadricentenaire .q-articles){grid-template-columns:repeat(4,minmax(0,1fr))!important}}
html body.page.lp-standard-page.lp-file-page #page #primary .entry-content h2{font-size:clamp(1.25rem,2vw,1.7rem)!important;line-height:1.2!important}
html body.page.lp-standard-page.lp-file-page #page #primary .entry-content h3{font-size:1.3rem!important;line-height:1.3!important}
body.page.lp-file-page{--lp-width:1320px;--lp-reading:78ch;--lp-gutter:clamp(22px,4.4vw,60px);--lp-serif:"Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;--lp-ink:#293b32;--lp-green:#294d3b;--lp-line:#dce2d9;--lp-space:8px}
body.page.lp-file-page #page #content>.wrap{max-width:var(--lp-width)}
html body.page.lp-standard-page #page #content>.wrap{max-width:var(--lp-width)!important;padding-left:var(--lp-gutter)!important;padding-right:var(--lp-gutter)!important}
html body.page.lp-standard-page #page #primary{width:100%!important;max-width:none!important;float:none!important}
html body.page.lp-standard-page #page .site-content{padding-top:clamp(40px,5vw,70px)!important;padding-bottom:clamp(40px,5vw,70px)!important}
html body.page.lp-standard-page #page #primary .entry-header{margin:0 0 34px!important;padding:0 0 28px!important;border-bottom:1px solid var(--lp-line)}
html body.page.lp-standard-page.lp-file-page #page #primary .entry-header .entry-title{font-family:var(--lp-serif)!important;font-size:clamp(1.75rem,3vw,2.4rem)!important;line-height:1.1!important;letter-spacing:-.025em!important;color:var(--lp-page-accent,var(--lp-green))!important;margin:0!important;max-width:26ch;text-transform:none!important}
html body.page.lp-standard-page #page #primary .entry-content h2{font-family:var(--lp-serif)!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.2!important;color:var(--lp-green)!important;letter-spacing:-.02em!important;margin:0 0 24px!important;text-transform:none!important}
html body.page.lp-standard-page #page #primary .entry-content h3{font-family:var(--lp-serif)!important;font-size:clamp(22px,2vw,25px)!important;line-height:1.3!important;color:var(--lp-green)!important;letter-spacing:-.01em!important;text-transform:none!important}
body.page.lp-file-page .lp-coded-page{color:var(--lp-ink);font-size:17px;line-height:1.8}
body.page.lp-file-page .lp-coded-page *{box-sizing:border-box;min-width:0}
body.page.lp-file-page #page #primary .lp-coded-page :is(h2,h3){font-family:var(--lp-serif)!important;color:var(--lp-green)!important;letter-spacing:-.02em!important;text-transform:none!important;font-weight:700!important}
body.page.lp-file-page #page #primary .lp-coded-page h2{font-size:clamp(28px,3vw,38px)!important;line-height:1.2!important;margin:0!important}
body.page.lp-file-page #page #primary .lp-coded-page h3{font-size:clamp(22px,2vw,25px)!important;line-height:1.3!important;margin:0!important}
body.page.lp-file-page .lp-collection-intro{border-left:3px solid #b49a65;padding:4px 0 4px 24px;margin:0 0 30px}
body.page.lp-file-page .lp-collection-intro p{max-width:72ch;font-size:19px;line-height:1.75;margin:0 0 18px;text-align:left}
body.page.lp-file-page .lp-collection-intro .lp-collection-eyebrow{font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;color:#655f48;margin:0 0 12px}
body.page.lp-file-page .lp-collection-nav{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 40px;padding:16px 0;border-top:1px solid var(--lp-line);border-bottom:1px solid var(--lp-line)}
body.page.lp-file-page .lp-collection-nav a{display:inline-flex;align-items:center;min-height:32px;font-size:14px;color:#35523f;text-decoration:none;box-shadow:none}
body.page.lp-file-page .lp-collection-nav a[aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:5px}
body.page.lp-file-page .lp-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 24px}
body.page.lp-file-page .lp-total{font-size:13px;color:#667360;white-space:nowrap}
body.page.lp-file-page .lp-publication-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
body.page.lp-file-page .lp-publication-card{display:flex;min-width:0;margin:0!important;padding:0!important;border:1px solid var(--lp-line);border-radius:7px;background:#fff;overflow:hidden;transition:box-shadow .2s,transform .2s}
body.page.lp-file-page .lp-publication-card:hover{box-shadow:0 7px 24px #294d3b12;transform:translateY(-2px)}
body.page.lp-file-page #page #primary .lp-publication-link{display:flex;flex-direction:column;width:100%;text-decoration:none!important;box-shadow:none!important;border:0!important;color:var(--lp-green)!important}
body.page.lp-file-page .lp-publication-image{aspect-ratio:16/9;overflow:hidden;margin:0}
body.page.lp-file-page .lp-publication-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0}
body.page.lp-file-page .lp-publication-placeholder{display:grid;place-items:center;aspect-ratio:16/9;background:linear-gradient(135deg,#e6eddf,#f5f5ef);font:700 42px/1 var(--lp-serif);color:#7b9275}
body.page.lp-file-page .lp-publication-text{padding:22px;display:flex;flex-direction:column;flex:1;gap:18px}
body.page.lp-file-page .lp-publication-text time{margin-top:auto;padding-top:12px;border-top:1px solid #e5e8e0;font-size:13px;line-height:1.6;color:#657060}
body.page.lp-file-page .lp-coded-page a:focus-visible{outline:3px solid #b49a65!important;outline-offset:4px!important}
body.page.lp-file-page [data-lp-grid] h3[class$="-tile-title"]{margin:0;padding:0;line-height:inherit}
body.page.lp-file-page .lp-publications-fallback{grid-column:1/-1;padding:22px;background:#f5f5ef;border:1px solid var(--lp-line);border-radius:5px;color:#59675d}
@media(max-width:1000px){body.page.lp-file-page .lp-publication-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.page.lp-file-page .lp-publication-grid{grid-template-columns:1fr;gap:24px}body.page.lp-file-page .lp-collection-intro{padding-left:18px}body.page.lp-file-page .lp-collection-intro p{font-size:17px}body.page.lp-file-page .lp-section-heading{align-items:flex-start;flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){body.page.lp-file-page .lp-publication-card{transition:none;transform:none}}
@media print{body.page.lp-file-page [data-lp-grid]{display:grid!important}body.page.lp-file-page .lp-publication-card{break-inside:avoid}body.page.lp-file-page .lp-collection-nav{display:none}}


/* Discreet article-card headings, pages only. */
html body.page #page #content #primary .entry-content :is(.lp-publication-card h3,[class*="-tile-title"],.lp-cp-title,.uagb-post__title,.q-article h3,.vc-card-title){font-size:1.0625rem!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important}

/* The same four-card default applies to remaining page collections, excluding carousels. */
@media(min-width:1101px){html body.page #page #content #primary .uagb-post-grid:not(:has(.slick-list)){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}}
