
/* Article 405 only. Shared header/footer and content remain unchanged. */
body.ojm-materials-article #site-main{background:#f7f6f2}
body.ojm-materials-article .article-sidebar-shell{max-width:1240px}
body.ojm-materials-article .article-sidebar-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;align-items:start}
body.ojm-materials-article .entry-panel{min-width:0;background:#fff;border:1px solid #e3e7e1;border-radius:12px;padding:36px;box-shadow:none}
body.ojm-materials-article .article-inline-hero{padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #e2e7e3}
body.ojm-materials-article .article-inline-hero h1{font-size:42px!important;line-height:1.12!important;letter-spacing:-.025em;margin:12px 0 18px;text-wrap:balance;color:#223b3b}
body.ojm-materials-article .article-inline-hero .hero-lead{font-size:16px!important;line-height:1.7!important;font-weight:400!important;color:#64706e}
body.ojm-materials-article .entry-content{min-width:0;color:#374542;font-size:16px;line-height:1.8}
body.ojm-materials-article .entry-content p{font-size:inherit;font-weight:400;line-height:1.8;margin:0 0 18px}
body.ojm-materials-article .entry-content strong{font-weight:650;color:#233d39}
body.ojm-materials-article .entry-content h2{font-size:29px;line-height:1.24;letter-spacing:-.018em;color:#203c37;margin:52px 0 20px;padding-top:28px;border-top:1px solid #e3e9e4;scroll-margin-top:140px;text-wrap:balance}
body.ojm-materials-article .entry-content h3{font-size:22px;line-height:1.35;margin:32px 0 16px;color:#24433f;scroll-margin-top:140px}
body.ojm-materials-article .entry-content #standard-sizes{margin-top:0;padding-top:0;border:0}
body.ojm-materials-article .entry-content #standard-sizes+p{background:#f1f6f3;border-left:3px solid #327367;border-radius:0 8px 8px 0;padding:20px 22px;font-size:16px}
body.ojm-materials-article .entry-content ul{padding-left:23px;margin:16px 0 24px}
body.ojm-materials-article .entry-content li{margin:8px 0;line-height:1.75;font-weight:400}
body.ojm-materials-article .entry-content a{color:#176459;text-underline-offset:3px}
body.ojm-materials-article .entry-content a:hover{color:#934b16}
body.ojm-materials-article .entry-content .article-table-scroll{overflow-x:auto;max-width:100%;margin:24px 0;border:1px solid #dbe4de;border-radius:9px;background:#fff;scrollbar-width:thin}
body.ojm-materials-article .entry-content table{width:100%;min-width:620px;margin:0;border-collapse:collapse;font-size:14px;line-height:1.6;text-align:left}
body.ojm-materials-article .entry-content .article-table-scroll[data-columns="2"] table{min-width:0}
body.ojm-materials-article .entry-content th{background:#264d46;color:#fff;font-weight:600;padding:14px 16px;text-align:left;vertical-align:top;border:0}
body.ojm-materials-article .entry-content td{padding:14px 16px;vertical-align:top;border:0;border-bottom:1px solid #e1e8e3;font-weight:400}
body.ojm-materials-article .entry-content tbody tr:nth-child(even){background:#f5f8f5}
body.ojm-materials-article .entry-content tbody tr:last-child td{border-bottom:0}
body.ojm-materials-article .entry-content td:first-child{font-weight:600;color:#264b43}
body.ojm-materials-article .entry-content figure.article-figure{margin:30px auto;max-width:100%;padding:0}
body.ojm-materials-article .entry-content figure.article-figure img{display:block;max-width:100%;height:auto;border:1px solid #e3e8e2;border-radius:9px}
body.ojm-materials-article .entry-content figure.article-figure img[src$="-v4.svg"],body.ojm-materials-article .entry-content figure.article-figure img[src$="ojmirror-face-vs-opening-v5.5.svg"]{width:100%;max-width:500px;margin:auto}
body.ojm-materials-article .entry-content figure.article-figure figcaption{display:block!important;font-size:12px;line-height:1.6;font-weight:400;color:#74807a;margin:10px auto 0;max-width:640px}
body.ojm-materials-article .entry-content details{scroll-margin-top:140px}
body.ojm-materials-article .entry-content .article-toc{background:#f5f8f5;border:1px solid #dce5de;border-radius:9px;padding:18px 22px;margin:30px 0}
body.ojm-materials-article .entry-content .article-toc summary{font-size:17px;font-weight:650;color:#234d43;cursor:pointer}
body.ojm-materials-article .entry-content .article-toc ul{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-bottom:0}
body.ojm-materials-article .entry-content .article-toc li{font-size:14px;margin:5px 0}
body.ojm-materials-article .entry-content .article-toc a{font-size:14px;font-weight:400}
body.ojm-materials-article .entry-content .article-faq-item{border:1px solid #dce4de;background:#fff;border-radius:8px;margin:12px 0;padding:18px 20px}
body.ojm-materials-article .entry-content .article-faq-item summary{font-size:16px;font-weight:600;line-height:1.5;color:#29453c;cursor:pointer}
body.ojm-materials-article .entry-content .article-faq-answer{padding-top:16px}
body.ojm-materials-article .entry-content .article-faq-answer p:last-child{margin-bottom:0}
body.ojm-materials-article .entry-content .article-sources{padding:18px 20px;background:#f6f7f4;border:1px solid #e1e6de;border-radius:8px;font-size:13px;color:#63716a;margin-top:32px}
body.ojm-materials-article .entry-content .article-sources summary{cursor:pointer;font-size:14px;font-weight:600}
body.ojm-materials-article .entry-content .article-sources a{overflow-wrap:anywhere}
body.ojm-materials-article .entry-content #ojmirror-opening-rule+p{background:#edf5f0;padding:20px;border-left:3px solid #357362;border-radius:0 8px 8px 0}
body.ojm-materials-article .entry-content #project-size-schedule{color:#176459;border-top:3px solid #33725e}
body.ojm-materials-article .entry-content a[href*="size-selection-checklist-v4"]{display:inline-block;padding:12px 18px;background:#edf4ee;border:1px solid #c9dcd0;border-radius:6px;font-weight:600}
body.ojm-materials-article .entry-content p:has(>a[href="https://www.ojmirror.com/contact/"]):has(>a[href="https://www.ojmirror.com/medicine-cabinets"]){display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:0;margin:28px 0}
body.ojm-materials-article .entry-content p:has(>a[href="https://www.ojmirror.com/contact/"]):has(>a[href="https://www.ojmirror.com/medicine-cabinets"]) a{font-size:14px;line-height:1.4;padding:14px 18px;text-decoration:none;border-radius:6px;border:1px solid #285a4c;font-weight:600}
body.ojm-materials-article .entry-content p:has(>a[href="https://www.ojmirror.com/medicine-cabinets"]) a[href="https://www.ojmirror.com/contact/"]{background:#285a4c;color:#fff}
body.ojm-materials-article .article-rfq{background:#fff;border:1px solid #dce4dc;border-top:3px solid #a55f21;box-shadow:0 12px 32px #293e2910;border-radius:10px;padding:24px;top:136px;max-height:calc(100dvh - 160px);overflow-y:auto;scrollbar-width:thin}
body.ojm-materials-article .article-rfq h2{font-size:23px;line-height:1.2;letter-spacing:-.02em}
body.ojm-materials-article .article-rfq .article-rfq__intro{font-size:13px;font-weight:400;line-height:1.65;margin-bottom:18px}
body.ojm-materials-article .article-rfq__form input,body.ojm-materials-article .article-rfq__form textarea{font-family:inherit;font-size:14px;border-radius:6px}
body.ojm-materials-article .article-rfq__form textarea{min-height:100px}
body.ojm-materials-article .article-rfq__form button{font-size:13px;border-radius:6px}
body.ojm-materials-article .entry-content a:focus-visible,body.ojm-materials-article .entry-content summary:focus-visible{outline:2px solid #a96627;outline-offset:4px}
@media(max-width:1050px){
body.ojm-materials-article .article-sidebar-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px}
body.ojm-materials-article .entry-panel{padding:26px}
body.ojm-materials-article .article-rfq{padding:20px}
}
@media(max-width:1000px){
body.ojm-materials-article .article-sidebar-layout{display:block}
body.ojm-materials-article .article-rfq{position:static;max-height:none;overflow:visible;margin-top:28px;max-width:600px}
}
@media(min-width:761px) and (max-width:1000px){
body.ojm-materials-article .article-sidebar-shell{width:calc(100% - 120px);margin-left:28px;margin-right:92px}
}
@media(max-width:760px){
body.ojm-materials-article .article-sidebar-layout{display:block}
body.ojm-materials-article .entry-panel{padding:22px 18px;border-radius:10px}
body.ojm-materials-article .article-inline-hero h1{font-size:32px!important;line-height:1.15!important;text-wrap:pretty}
body.ojm-materials-article .article-inline-hero{padding-bottom:20px;margin-bottom:24px}
body.ojm-materials-article .article-inline-hero .hero-lead{font-size:14px;line-height:1.7}
body.ojm-materials-article .entry-content{font-size:15px;line-height:1.75}
body.ojm-materials-article .entry-content h2{font-size:24px;line-height:1.25;margin-top:38px;padding-top:22px;text-wrap:pretty}
body.ojm-materials-article .entry-content h3{font-size:20px}
body.ojm-materials-article .entry-content #standard-sizes+p{padding:16px;font-size:15px}
body.ojm-materials-article .entry-content .article-toc{padding:16px}
body.ojm-materials-article .entry-content .article-toc ul{grid-template-columns:1fr}
body.ojm-materials-article .entry-content .article-table-scroll:not([data-columns="2"]):before{content:"Swipe to compare all columns →";display:block;padding:10px 12px;background:#edf3ee;font-size:12px;color:#49685b}
body.ojm-materials-article .entry-content th,body.ojm-materials-article .entry-content td{padding:12px}
body.ojm-materials-article .entry-content table{font-size:13px}
body.ojm-materials-article .entry-content #size-families{border:0;background:transparent;border-radius:0}
body.ojm-materials-article .entry-content #size-families:before{display:none}
body.ojm-materials-article .entry-content #size-families table{min-width:0;width:100%}
body.ojm-materials-article .entry-content #size-families thead{display:none}
body.ojm-materials-article .entry-content #size-families tbody,body.ojm-materials-article .entry-content #size-families tr,body.ojm-materials-article .entry-content #size-families td{display:block;width:auto}
body.ojm-materials-article .entry-content #size-families tr{background:#f2f7f3;border:1px solid #d6e3d9;border-left:3px solid #387660;border-radius:7px;margin-bottom:12px;padding:14px 16px}
body.ojm-materials-article .entry-content #size-families td{padding:3px 0;border:0}
body.ojm-materials-article .entry-content #size-families td:first-child{font-size:18px;color:#234b3e}
body.ojm-materials-article .entry-content #size-families td:first-child:before{content:"W × H (in.): ";font-size:13px;font-weight:400}
body.ojm-materials-article .entry-content #size-families td:nth-child(2):before{content:"Format / depth: ";font-weight:400}
body.ojm-materials-article .entry-content #size-families td:nth-child(3){font-size:11px;overflow-wrap:anywhere;color:#64776b}
body.ojm-materials-article .entry-content #size-families td:nth-child(3):before{content:"Source: "}
body.ojm-materials-article .article-rfq{position:static;max-height:none;overflow:visible;margin-top:28px;padding:24px}
body.ojm-materials-article .entry-content .article-faq-item{padding:16px}
body.ojm-materials-article .entry-content p:has(>a[href="https://www.ojmirror.com/medicine-cabinets"]) a{text-align:center;flex:1 1 100%}
}



body.ojm-materials-article .entry-content .article-byline{font-size:15px;margin:0 0 5px;color:#244c43}
body.ojm-materials-article .entry-content .article-byline+p{font-size:13px;line-height:1.6;color:#63736c;margin-top:0}
body.ojm-materials-article .entry-content picture{display:block}
body.ojm-materials-article .entry-content picture img{display:block;width:100%;height:auto}
body.ojm-materials-article .entry-content img[src$="medicine-cabinet-stud-spacing-v5.13.svg"]{max-width:520px;width:100%;height:auto;margin:auto}
body.ojm-materials-article .entry-content img[src$="frameless-mirrored-cabinet-v5.14-r4.jpg"]{display:block;max-width:560px;width:100%;height:auto;margin:auto}

body.ojm-materials-article .article-rfq__form textarea{height:100px;min-height:100px}body.ojm-materials-article .article-rfq .article-rfq__intro{margin-bottom:14px}#open-door-preview{scroll-margin-top:145px}#open-door-preview img{width:100%;height:auto}

    body.single-post :is(details.article-faq-item, details.faq-item, details.faq) > summary {
        padding-inline: 32px !important;
    }
    body.single-post :is(details.article-faq-item, details.faq-item, details.faq) > :is(div, p) {
        padding-inline: 32px !important;
    }
    body.single-post :is(details.article-faq-item, details.faq-item) > summary > :is(.article-faq-icon, span:last-child:not(.article-faq-question)) {
        flex-shrink: 0;
    }
    @media (max-width: 640px) {
        body.single-post :is(details.article-faq-item, details.faq-item, details.faq) > summary,
        body.single-post :is(details.article-faq-item, details.faq-item, details.faq) > :is(div, p) {
            padding-inline: 20px !important;
        }
    }
    

    body.single-post :is(details.article-faq-item, details.faq-item, details.faq, details.bevel-faq, .ada-faq details) > summary,
    body.single-post.postid-442 #site-main p:has(> a#faq) ~ h3 {
        font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
        letter-spacing: normal !important;
        color: #29453c !important;
    }
    /* Match the two-ID specificity of the shared article heading override. */
    body.single-post #site-main#site-main :is(details.article-faq-item, details.faq-item, details.faq, details.bevel-faq, .ada-faq details) > summary :is(.article-faq-question, h3, strong, b) {
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        letter-spacing: inherit !important;
        color: inherit !important;
    }
    
/* Task-specific content adapters; shared header/footer remain untouched. */
body.ojm-materials-article #site-main .article-inline-hero .hero-lead { max-width: 100% !important; }
body.ojm-materials-article #site-main .article-inline-hero .article-byline { margin: 0 0 16px; font-size: 15px; color: #244c43; }
body.ojm-materials-article #site-main .entry-content .article-faq-item > summary h3 { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; }
body.ojm-materials-article #site-main .article-image-link { display: block; cursor: zoom-in; }
body.ojm-materials-article #site-main .article-figure img { width: 100%; height: auto; }
body.ojm-materials-article #site-main .entry-content .article-toc > summary { min-height: 64px; padding: 16px 22px !important; font-size: 19px !important; }
body.ojm-materials-article #site-main .entry-content .article-toc nav { padding: 0 22px 18px; }
body.ojm-materials-article #site-main .entry-content .article-toc ul { margin: 0; }
body.ojm-materials-article #site-main .entry-content .article-toc { width: 100%; }
body.ojm-materials-article #site-main .entry-content .article-table-scroll[data-columns="2"] table { min-width: 0; }
body.ojm-materials-article #ojsite-dialog .ojsite-context { display: none; }
