/* Workshop records only: original photography, simple captions and readable detail. */
.home-manufacturing-records{padding:60px 0;background:#182f3a;color:#fff;border-top:1px solid #42606b}
.home-manufacturing-records .mr-home-inner{width:min(1440px,calc(100% - 96px))}
.mr-home-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:28px}
.mr-home-heading .eyebrow{color:#efab80;font-size:11px;margin-bottom:12px}
.mr-home-heading h2{color:#fff;font-size:clamp(30px,3vw,42px);margin:0}
.mr-home-heading>p{max-width:450px;color:#c0cfd4;font-size:14px;line-height:1.7;margin:0}
.mr-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mr-home-grid.mr-single{grid-template-columns:1fr}
.mr-home-card{background:#f4f3ee;color:#1c3540;overflow:hidden;border-radius:3px}
.mr-single .mr-home-card{display:grid;grid-template-columns:1.3fr 1fr;align-items:stretch}
.mr-home-image{display:block;overflow:hidden;background:#1c3540}
.mr-home-image img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;object-position:center}
.mr-home-copy{padding:30px}
.mr-single .mr-home-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,56px)}
.mr-home-copy .mr-stage{color:#a74422;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:15px}
.mr-home-copy h3{font-size:clamp(24px,2.4vw,34px);line-height:1.2;margin-bottom:20px}
.mr-home-copy>p:not(.mr-stage){font-size:14px;line-height:1.8;color:#51656d;margin-bottom:26px}
.mr-home-copy .text-link{font-size:11px;align-self:start;color:#a74422}
.manufacturing-record-page .mr-page-heading{padding-block:40px 30px}
.manufacturing-record-page h1{max-width:1000px;font-size:clamp(34px,4vw,54px)}
.manufacturing-record-page .mr-lead{max-width:800px;font-size:17px;line-height:1.7}
.mr-record-facts{display:flex;gap:50px;padding-top:20px;border-top:1px solid #d8dfdf;margin:26px 0 0}
.mr-record-facts dt{font-size:11px;color:#63777e;margin-bottom:6px}
.mr-record-facts dd{font-size:14px;color:#183640;font-weight:700;margin:0}
.manufacturing-record-page .mr-cover{max-width:440px}
.manufacturing-record-page .mr-cover img{display:block;width:100%;height:auto;max-height:330px;object-fit:contain;background:transparent}
.mr-cover>p{font-size:12px;margin-top:10px;color:#60737a}
.manufacturing-record-page .mr-record-body{max-width:1080px;padding-block:10px 24px}
.mr-record-body .mr-record-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:40px;align-items:center;padding-block:26px;border-bottom:1px solid #d8dfdf}
.mr-record-body .mr-record-section:nth-child(even){grid-template-columns:minmax(0,360px) minmax(0,1fr)}
.mr-record-body .mr-record-section:nth-child(even) .mr-section-copy{order:2}
.mr-record-body h2{font-size:30px;line-height:1.2}
.mr-record-body p{font-size:15px;line-height:1.85}
.mr-record-body .mr-detail-image{width:100%;max-width:360px;margin:0;justify-self:center;background:transparent;padding:0}
.mr-record-body .mr-detail-image img{display:block;height:auto;max-height:280px;width:100%;object-fit:contain;background:transparent}
.mr-detail-image figcaption{font-size:12px;line-height:1.6;color:#5c7078;margin-top:10px}
.mr-record-body .mr-record-scope{padding:24px;border-left:3px solid #bd542c;background:#f4f3ee;margin-top:28px}
.mr-record-body .mr-record-scope h2{font-size:23px}
.mr-record-scope p:last-child{margin-bottom:0}
.mr-record-next{padding-block:10px 45px}
.mr-record-next>p{font-size:12px;margin-bottom:9px}
@media(max-width:1000px){.home-manufacturing-records .mr-home-inner{width:calc(100% - 48px)}.mr-home-grid{grid-template-columns:1fr 1fr}.mr-home-heading{gap:30px}.mr-record-body .mr-record-section{gap:28px}}
@media(max-width:700px){
 .home-manufacturing-records{padding-block:36px}
 .home-manufacturing-records .mr-home-inner{width:calc(100% - 40px)}
 .mr-home-heading{display:block;margin-bottom:22px}
 .mr-home-heading>p{margin-top:16px;font-size:13px}
 .mr-home-grid,.mr-single .mr-home-card{display:grid;grid-template-columns:1fr}
 .mr-home-image img{height:auto;aspect-ratio:4/3}
 .mr-single .mr-home-copy,.mr-home-copy{padding:24px 20px}
 .mr-home-copy h3{font-size:26px;margin-bottom:15px}
 .mr-home-copy>p:not(.mr-stage){font-size:13px;margin-bottom:20px}
 .mr-record-facts{gap:22px;flex-wrap:wrap}
 .manufacturing-record-page .mr-page-heading{padding-top:30px}
 .manufacturing-record-page .mr-cover{max-width:360px}
 .manufacturing-record-page .mr-cover img{height:auto;max-height:250px;aspect-ratio:auto}
 .mr-record-body .mr-record-section{display:flex;flex-direction:column;gap:10px;align-items:stretch;padding-block:28px}
 .mr-record-body .mr-record-section:nth-child(even) .mr-section-copy{order:0}
 .mr-record-body h2{font-size:26px}
 .mr-record-body .mr-detail-image{align-self:center;max-width:320px}
 .mr-record-body .mr-detail-image img{height:auto;max-height:240px}
 .mr-record-body .mr-record-scope{padding:20px}
}

/* WordPress may insert an empty paragraph beside block shortcodes. */
.mr-record-body .mr-record-section>p:empty{display:none}

/* Compact, repeatable updates: one record keeps the same width as a full row. */
.home-manufacturing-records{padding-block:38px}
.home-manufacturing-records .mr-home-heading{margin-bottom:12px}
.home-manufacturing-records .mr-home-heading h2{font-size:30px}
.home-manufacturing-records .mr-home-heading>p{font-size:13px}
.mr-index-link{text-align:right;margin-bottom:20px}
.mr-index-link .text-link{color:#efb38e;font-size:10px}
.home-manufacturing-records .mr-home-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-manufacturing-records .mr-home-card{display:flex;flex-direction:column;border-radius:3px}
.home-manufacturing-records .mr-home-image img{height:auto;aspect-ratio:16/10;object-fit:cover}
.home-manufacturing-records .mr-home-copy{padding:17px 18px 18px;display:flex;flex-direction:column;flex:1}
.home-manufacturing-records .mr-stage{font-size:9px;margin-bottom:9px}
.home-manufacturing-records .mr-home-copy h3{font-size:20px;line-height:1.3;margin-bottom:10px}
.home-manufacturing-records .mr-home-copy>p:not(.mr-stage){font-size:12px;line-height:1.65;margin-bottom:15px}
.home-manufacturing-records .mr-home-copy .text-link{margin-top:auto;font-size:10px}
.mr-archive .card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mr-archive .card-image img{aspect-ratio:16/10;object-fit:cover}
.mr-archive .card-body{padding:18px}
.mr-archive .card-body h3{font-size:20px}
.mr-archive .card-body p{font-size:13px}
@media(max-width:1000px){.home-manufacturing-records .mr-home-grid,.mr-archive .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.home-manufacturing-records .mr-home-grid,.mr-archive .card-grid{grid-template-columns:minmax(0,1fr)}.home-manufacturing-records .mr-home-inner{max-width:420px}.home-manufacturing-records .mr-home-heading h2{font-size:27px}.mr-index-link{text-align:left}.home-manufacturing-records .mr-home-copy{padding:16px 18px}.home-manufacturing-records .mr-home-image img{aspect-ratio:16/9}}

/* Colour edges and restrained pointer interaction, homepage records only. */
.home-manufacturing-records .mr-home-card{--mr-edge:#d87848;border:3px solid var(--mr-edge);border-top-width:5px;transition:transform 260ms ease,box-shadow 260ms ease,border-color 260ms ease}
.home-manufacturing-records .mr-home-card:nth-child(4n+2){--mr-edge:#49979b}
.home-manufacturing-records .mr-home-card:nth-child(4n+3){--mr-edge:#82915d}
.home-manufacturing-records .mr-home-card:nth-child(4n+4){--mr-edge:#678ab4}
.home-manufacturing-records .mr-home-image{overflow:hidden}
.home-manufacturing-records .mr-home-image img{transform:scale(1);transition:transform 450ms cubic-bezier(.2,.65,.3,1)}
.home-manufacturing-records .mr-home-card:focus-within{box-shadow:0 0 0 2px #f1ba91}
@media(hover:hover) and (pointer:fine){
 .home-manufacturing-records .mr-home-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px #06192355;border-color:#f3ad7b}
 .home-manufacturing-records .mr-home-card:hover .mr-home-image img{transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){
 .home-manufacturing-records .mr-home-card,.home-manufacturing-records .mr-home-image img{transition:none}
 .home-manufacturing-records .mr-home-card:hover,.home-manufacturing-records .mr-home-card:hover .mr-home-image img{transform:none}
}

/* Framed workshop photography: compact images with brand-colour edges. */
.manufacturing-record-page .mr-cover img,.mr-record-body .mr-detail-image img{box-sizing:border-box;padding:5px;border:1px solid #d9a17e;border-top:3px solid #c84c22;border-bottom:3px solid #234c58;border-radius:4px;background:#fff;box-shadow:0 5px 14px #18364014}
.mr-record-body .mr-record-section:nth-child(even) .mr-detail-image img{border-color:#7fa9ab;border-top-color:#2c7780;border-bottom-color:#c86737}
.mr-cover>p,.mr-detail-image figcaption{padding-left:10px;border-left:2px solid #cf6c3b}
.mr-record-body .mr-record-section:nth-child(even) .mr-detail-image figcaption{border-left-color:#36828a}
@media(max-width:700px){.manufacturing-record-page .mr-cover img,.mr-record-body .mr-detail-image img{padding:4px}}

/* Matching text panels keep each workshop explanation visually grouped. */
.mr-record-body .mr-section-copy{box-sizing:border-box;min-width:0;padding:24px 26px;background:#fffaf6;border:1px solid #e4c5b2;border-left:4px solid #cc6335;border-radius:4px;box-shadow:0 4px 14px #18364008}
.mr-record-body .mr-record-section:nth-child(even) .mr-section-copy{background:#f5faf9;border-color:#c6dcda;border-left-color:#327d83}
.mr-record-body .mr-section-copy h2{font-size:27px;line-height:1.25;margin:0 0 18px;padding-bottom:15px;border-bottom:1px solid #e8d8cc}
.mr-record-body .mr-record-section:nth-child(even) .mr-section-copy h2{border-bottom-color:#d5e4e1}
.mr-record-body .mr-section-copy p:last-child{margin-bottom:0}
@media(max-width:700px){.mr-record-body .mr-section-copy{width:100%;padding:20px 18px}.mr-record-body .mr-section-copy h2{font-size:24px;margin-bottom:14px;padding-bottom:12px}}

/* Keep recorded dates legible; preserve the top-left watermark in the new record card. */
.mr-record-facts:has(.mr-project-date){flex-wrap:wrap;column-gap:22px;row-gap:14px}
.mr-project-date{flex-shrink:0}
.mr-project-date time{white-space:nowrap}
.home-manufacturing-records img[src*="rotary-vibrating-screen-project-assembly"],.mr-archive img[src*="rotary-vibrating-screen-project-assembly"]{object-position:left top}
.mr-section-photos{min-width:0}
.mr-section-photos .mr-detail-image{margin-inline:0}

.home-manufacturing-records img[src*="rotary-vibrating-screen-assembled-units"],.mr-archive img[src*="rotary-vibrating-screen-assembled-units"]{object-position:left top}

/* Homepage workshop records: light blue and mint, matching product modules. */
.home-manufacturing-records{background:#f7fafc;color:#182d3b;border-top-color:#dce5ee}
.home-manufacturing-records .mr-home-heading .eyebrow{color:#286c86}
.home-manufacturing-records .mr-home-heading h2{color:#182d3b}
.home-manufacturing-records .mr-home-heading>p{color:#526b80}
.home-manufacturing-records .mr-index-link .text-link{color:#285f80;border-color:#bdd3e2}
.home-manufacturing-records .mr-home-card{--mr-edge:#b9d4ef;background:#eaf3ff;border-width:1px;border-top-width:4px;border-color:#d0e0ec;border-top-color:var(--mr-edge);border-radius:10px;box-shadow:0 4px 14px #17374605}
.home-manufacturing-records .mr-home-card:nth-child(4n+2){--mr-edge:#abd6cd;background:#e8f5f0}
.home-manufacturing-records .mr-home-card:nth-child(4n+3){--mr-edge:#b8d3e5;background:#edf4fa}
.home-manufacturing-records .mr-home-card:nth-child(4n+4){--mr-edge:#c6cce7;background:#f0f2fb}
.home-manufacturing-records .mr-home-image{background:#fff}
.home-manufacturing-records .mr-stage{color:#3d6d88}
.home-manufacturing-records .mr-home-copy h3{color:#182d3b}
.home-manufacturing-records .mr-home-copy>p:not(.mr-stage){color:#526b80}
.home-manufacturing-records .mr-home-copy .text-link{color:#285f80;border-color:#bdd3e2}
.home-manufacturing-records .mr-home-card:focus-within{box-shadow:0 0 0 2px #93b7d9}
@media(hover:hover) and (pointer:fine){.home-manufacturing-records .mr-home-card:hover{border-color:#adc9df;box-shadow:0 10px 24px #17374612}}
