/* v6.2 — shared report image choreography: primary -> secondary -> gallery.
   Images are positioned by a single PHP template for every report. */
body.kw-oc .kwrm-v62-media{margin:18px 0 28px;max-width:100%;clear:both}
body.kw-oc .kwrm-v62-figure{margin:0;min-width:0;background:#fff;border:1px solid #e5e6e8}
body.kw-oc .kwrm-v62-figure>a{display:block;text-decoration:none;background:#f6f7f7}
body.kw-oc .kwrm-v62-figure>a:focus-visible{outline:3px solid #a51f37;outline-offset:2px}
body.kw-oc .kwrm-v62-figure img{display:block;width:100%;object-fit:cover;background:#f2f3f4}
body.kw-oc .kwrm-v62-figure figcaption{font:14px/1.5 Arial,Helvetica,sans-serif;color:#5a6269;margin:0;padding:10px 14px;background:#fafafa}
/* Primary = visually dominant but never an enormous full-height portrait. */
body.kw-oc .kwrm-v62-primary-slot{margin:15px 0 22px}
body.kw-oc .kwrm-v62-primary img{height:clamp(270px,30vw,420px)!important;max-height:420px!important;object-fit:contain!important;background:#f0f1f2!important}
/* Secondary = one standalone large image within the report, below the details. */
body.kw-oc .kwrm-v62-secondary-slot{max-width:900px;margin:24px 0 32px}
body.kw-oc .kwrm-v62-secondary img{height:clamp(230px,26vw,340px)!important;max-height:340px!important;object-fit:contain!important;background:#f2f3f4!important}
/* Gallery = all remaining approved images at the end of the report body. */
body.kw-oc .kwrm-v62-final-gallery{border-top:1px solid #e4e6e8;padding-top:23px;margin:32px 0 37px}
body.kw-oc .kwrm-v62-final-gallery>h2{font:400 25px/1.25 Georgia,serif!important;color:#282b2d;margin:0 0 18px!important}
body.kw-oc .kwrm-v62-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.kw-oc .kwrm-v62-gallery-grid img{aspect-ratio:4/3!important;height:auto!important;min-height:150px!important;max-height:none!important;object-fit:cover!important}
body.kw-oc .kwrm-v62-gallery-grid figure{height:100%}
body.kw-oc .kwrm-v62-no-image{background:#f6f7f8;border:1px solid #e4e5e7;min-height:145px;display:flex;align-items:center;justify-content:center}
body.kw-oc .kwrm-v62-no-image>div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:17px;color:#717981;font:14px/1.4 Arial,Helvetica,sans-serif;text-align:center}
body.kw-oc .kwrm-v62-no-image img{width:100px;height:70px;object-fit:contain;opacity:.65}
@media(max-width:850px){body.kw-oc .kwrm-v62-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.kw-oc .kwrm-v62-primary img{height:250px!important}body.kw-oc .kwrm-v62-secondary img{height:245px!important}body.kw-oc .kwrm-v62-gallery-grid{gap:10px}body.kw-oc .kwrm-v62-gallery-grid img{min-height:105px!important}body.kw-oc .kwrm-v62-figure figcaption{font-size:12px;padding:8px}}
@media(max-width:380px){body.kw-oc .kwrm-v62-gallery-grid{grid-template-columns:1fr}}
