/* 1.2.1: retain the original 1.1 dark theme and contain company documents. */
html[data-theme="dark"]{--ink:#eef4f0;--muted:#b7c6bb;--paper:#0e1411;--line:#2c3b34;--soft:#1c2822;--green:#b7e09a}
html[data-theme="dark"] body{background:#0e1411;color:var(--ink)}
html[data-theme="dark"] .topline,html[data-theme="dark"] .site-footer{background:#0a100e}
html[data-theme="dark"] .site-header{background:rgba(14,20,17,.92);border-color:#24312b}
html[data-theme="dark"] .pmi-product-card{background:#17211c;border-color:#2c3b34}
html[data-theme="dark"] .pmi-production-copy h1 span{color:#b7e09a}
html[data-theme="dark"] .button,html[data-theme="dark"] .wp-block-button__link{background:#175c3d;border-color:#175c3d;color:#fff}
html[data-theme="dark"] .button:hover,html[data-theme="dark"] .wp-block-button__link:hover{background:#10462e;border-color:#10462e;color:#fff}
html[data-theme="dark"] .button.outline{background:transparent;color:#b7e09a;border-color:#3c6a4e}
html[data-theme="dark"] .button.white{background:#e6efe8;color:#12382c;border-color:#e6efe8}
html[data-theme="dark"] .pmi-stage-caption>a{background:#175c3d;color:white}
html[data-theme="dark"] .pmi-product-visual{background:#f4f6f2}
.footer-logo img{width:148px;height:auto;max-height:55px;object-fit:contain;filter:none;display:block}
.pmi-company-intro{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:40px;align-items:start;margin-bottom:35px}
.source-content .pmi-company-photo{margin:0;border-radius:8px;overflow:hidden;background:var(--soft)}
.source-content .pmi-company-photo img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;float:none;margin:0}
.pmi-company-copy p{max-width:none;margin:0 0 20px;font-size:16px;line-height:1.8}
.pmi-company-copy .pmi-company-video{font-size:13px;margin-top:24px}
.pmi-company-documents{clear:both;margin:40px 0;padding-block:28px;border-block:1px solid var(--line)}
.source-content .pmi-company-documents h2{font-size:26px;margin:0 0 22px;line-height:1.25}
.pmi-certificates-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.source-content .pmi-certificate-link{display:grid;grid-template-columns:140px minmax(0,1fr);gap:6px 20px;align-content:center;align-items:center;min-height:146px;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:6px;text-decoration:none!important;color:var(--ink)}
.source-content .pmi-certificate-link:hover{border-color:var(--green)}
.source-content .pmi-certificate-link>span:not(.pmi-certificate-file){grid-column:2;font-size:19px;font-weight:500;line-height:1.3}
.source-content .pmi-certificate-link>small{grid-column:2;color:var(--muted);font-size:11px;line-height:1.5}
.source-content img.pmi-certificate-mark{grid-column:1;grid-row:1/3;width:140px;height:70px;max-width:140px;max-height:70px;object-fit:contain;background:white;padding:8px;border-radius:3px;margin:0}
.pmi-certificate-file{grid-column:1;grid-row:1/3;justify-self:center;width:65px;height:78px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;font-size:17px;font-weight:600;color:var(--green);background:var(--soft)}
html[data-theme="dark"] .source-content .pmi-certificate-link{background:#17211c;border-color:#2c3b34;color:#eef4f0}
.pmi-listing-collection>br,.pmi-listing-collection>p:empty{display:none}
@media(max-width:1000px){.pmi-certificates-grid{grid-template-columns:1fr}.pmi-company-documents{margin:30px 0}}
@media(max-width:900px){.pmi-company-intro{grid-template-columns:1fr;gap:25px}.source-content .pmi-company-photo{max-width:650px}.source-content .pmi-company-photo img{max-height:360px}.pmi-company-copy p{font-size:15px}}
@media(max-width:600px){.source-content .pmi-certificate-link{padding:18px;grid-template-columns:110px minmax(0,1fr);gap:6px 15px;min-height:128px}.source-content img.pmi-certificate-mark{width:110px;max-width:110px;height:64px;max-height:64px}.source-content .pmi-certificate-link>span:not(.pmi-certificate-file){font-size:17px}.source-content .pmi-company-documents h2{font-size:24px}}
