/* Shared editorial presentation for the home, article index and article template.
 * Native Bricks trees own content and queries; these rules do not affect profiles. */
body.mfg-community-content{background:#f5f6f7;color:#27362f}
body.mfg-community-content #brx-content{background:#f5f6f7}
body.mfg-community-content .mfg-home-v3{background:#f5f6f7;--mfg3-paper:#f5f6f7;--mfg3-ink:#27362f;--mfg3-accent:#326249}
body.mfg-community-content #brx-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) :is(h1,h2,h3,h4){color:#27362f;font-family:Arial,Helvetica,sans-serif}
body.mfg-community-content #brx-content .mfg-native-article h1{font-size:34px;line-height:1.3}
body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article){font-family:Arial,Helvetica,sans-serif;color:#27362f}
body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) :is(h1,h2,h3,h4,h5,h6){font-family:Arial,Helvetica,sans-serif;font-weight:650;letter-spacing:-.025em;color:#27362f}
body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) h1{font-size:34px;line-height:1.24;max-width:100%;margin:0 0 16px}
body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) h2{font-size:22px;line-height:1.35}
body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) h3{font-size:18px;line-height:1.4}
body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) a:focus-visible{outline:2px solid #326d53;outline-offset:4px}
body.mfg-community-content .mfg3-wrap{width:min(1440px,calc(100% - 80px));max-width:none}
body.mfg-community-content .mfg3-hero{display:block;padding:40px 0 22px;min-height:0;gap:0;border:0}
body.mfg-community-content .mfg3-intro{width:100%;max-width:880px;padding:0}
body.mfg-community-content .mfg3-lead{font-size:16px;line-height:1.7;max-width:780px;margin:0 0 20px;color:#68736c}
body.mfg-community-content .mfg3-search-hints{font-size:13px;gap:14px;margin-top:12px}
body.mfg-community-content .mfg3-search-hints>div{font-family:inherit;letter-spacing:0;text-transform:none}
body.mfg-community-content .mfg3-quick{margin:0 auto 32px;gap:0;border:1px solid #dde3df;border-radius:6px;background:white}
body.mfg-community-content .mfg3-quick>a{padding:17px 22px;font-size:15px;font-weight:600;min-height:0;background:transparent}
body.mfg-community-content .mfg3-quick>a:hover{background:#f0f4f1;transform:none}
body.mfg-community-content .mfg3-quick .mfg3-icon{width:22px;height:22px}
body.mfg-community-content .mfg3-fields{padding:0 0 32px}
body.mfg-community-content .mfg3-section-heading{margin:0 0 16px;align-items:center}
body.mfg-community-content .mfg3-section-heading h2{margin:0}
body.mfg-community-content .mfg3-field-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.mfg-community-content .mfg3-field-grid{border:0;background:transparent}
body.mfg-community-content .mfg3-field{padding:22px 24px;border:1px solid #dde3df;border-radius:6px;background:white;box-shadow:none;min-height:0;position:relative}
body.mfg-community-content .mfg3-field:hover{box-shadow:none;transform:none;border-color:#99b3a4}
body.mfg-community-content .mfg3-field-top{height:30px;margin-bottom:10px;justify-content:flex-start}
body.mfg-community-content .mfg3-field-icon{width:30px;height:30px;border:0;border-radius:0;background:none;padding:0}
body.mfg-community-content .mfg3-field-icon .mfg3-icon{width:28px;height:28px}
body.mfg-community-content .mfg3-field h3{margin:0 0 8px}
body.mfg-community-content .mfg3-field>div:not(.mfg3-field-top):not(.mfg3-text-link){font-size:14px;line-height:1.7}
body.mfg-community-content .mfg3-field ul{margin:14px 0 0}
body.mfg-community-content .mfg3-field li a{padding:9px 0;font-size:14px}
body.mfg-community-content .mfg3-field.mfg3-compact{padding:20px 24px}
body.mfg-community-content .mfg3-compact .mfg3-field-top{float:left;margin:0 14px 0 0}
body.mfg-community-content .mfg3-beyond{padding-top:16px;gap:20px;font-size:14px}
body.mfg-community-content .mfg-home-latest{margin-bottom:36px}
body.mfg-community-content .mfg-content-section-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
body.mfg-community-content .mfg-content-section-head h2{margin:0}
body.mfg-community-content .mfg-content-section-head>a{font-size:14px;color:#326249;white-space:nowrap}
body.mfg-community-content .mfg-home-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-card{display:flex;flex-direction:column;gap:0;border:1px solid #dde3df;border-radius:6px;background:white;overflow:hidden;padding:0;margin:0}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-image{display:block;width:100%;height:190px;background:#f8f9fa;overflow:hidden}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-image img{width:100%;height:100%;object-fit:contain}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-card-body{padding:20px;display:flex;flex-direction:column;gap:12px}
body.mfg-community-content .mfg-home-article-grid h3{margin:0;font-size:18px}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-card h2{margin:0;font-size:18px;line-height:1.45}
body.mfg-community-content .mfg-home-article-grid h3 a{color:#27362f}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-excerpt{font-size:14px;line-height:1.65;color:#68736c}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-byline{font-size:12px;gap:5px;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;color:#68736c}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-byline img{width:23px;height:23px;border-radius:50%}
body.mfg-community-content .mfg-home-article-grid .mfg-lib-card-foot{display:flex;flex-direction:row;justify-content:space-between;gap:12px;font-size:12px;border-top:1px solid #e6ebe7;padding-top:12px}
body.mfg-community-content .mfg3-dispatch{border-radius:6px;background:white;border:1px solid #dde3df;padding:24px;gap:20px;margin:36px auto 40px;min-height:0}
body.mfg-community-content .mfg3-dispatch-icon{display:none}
body.mfg-community-content .mfg3-dispatch h2{margin:0 0 6px}
body.mfg-community-content .mfg3-dispatch p,body.mfg-community-content .mfg3-dispatch>div>div{font-size:14px}
body.mfg-community-content .mfg3-button{font-size:14px;border-radius:5px}
body.mfg-community-content .mfg-library{padding-top:32px;padding-bottom:40px}
body.mfg-community-content .mfg-lib-hero{padding:0 0 24px;align-items:center;grid-template-columns:minmax(0,1fr) auto;gap:24px;margin-bottom:24px}
body.mfg-community-content .mfg-lib-hero h1{font-size:32px;margin-bottom:12px}
body.mfg-community-content .mfg-lib-hero .mfgx-lead{font-size:16px;line-height:1.7;max-width:780px;color:#68736c}
body.mfg-community-content .mfg-lib-hero-note{border:0;padding:0;max-width:250px;font-size:13px}
body.mfg-community-content .mfg-lib-hero-note a{white-space:nowrap;font-size:13px}
body.mfg-community-content .mfg-lib-layout{gap:32px;grid-template-columns:minmax(0,1fr) 290px}
body.mfg-community-content .mfg-lib-feed-head{margin-bottom:20px;padding-bottom:14px;gap:16px}
body.mfg-community-content .mfg-lib-feed-head h2{font-size:20px;margin:0}
body.mfg-community-content .mfg-lib-feed-head>div{font-size:13px}
body.mfg-community-content #brx-content .mfg-lib-feed-head .brxe-text-basic{font:13px/1.6 Arial,Helvetica,sans-serif;color:#68736c}
body.mfg-community-content .mfg-lib-feed>.mfg-lib-card{grid-template-columns:210px minmax(0,1fr);padding:22px 0;gap:22px}
body.mfg-community-content .mfg-lib-feed .mfg-lib-image{height:160px;min-height:0;border-radius:4px;background:#fff}
body.mfg-community-content .mfg-lib-card h3{font-size:20px;line-height:1.4;margin:0}
body.mfg-community-content .mfg-lib-image img{object-fit:contain}
body.mfg-community-content .mfg-lib-image:empty{display:none}
body.mfg-community-content .mfg-lib-image:empty:after{content:none}
body.mfg-community-content .mfg-lib-card:has(>.mfg-lib-image:empty){grid-template-columns:minmax(0,1fr)}
body.mfg-community-content .mfg-lib-excerpt{font-size:14px;line-height:1.7}
body.mfg-community-content .mfg-lib-byline{font-size:12px}
body.mfg-community-content .mfg-lib-card-foot{font-size:12px;letter-spacing:0;text-transform:none}
body.mfg-community-content .mfg-lib-sidebar{gap:24px}
body.mfg-community-content .mfg-lib-sidebar>div,body.mfg-community-content .mfg-lib-dispatch{border:1px solid #dde3df;background:white;border-radius:5px;padding:20px;box-shadow:none}
body.mfg-community-content .mfg-lib-sidebar h2{font-size:18px;line-height:1.4;margin:0 0 12px}
body.mfg-community-content .mfg-lib-side-intro{font-size:13px;line-height:1.7;margin-bottom:14px;color:#68736c}
body.mfg-community-content .mfg-lib-sidebar .mfgx-link{font-size:13px}
body.mfg-community-content .mfg-lib-contribute{margin-top:32px;padding:24px;border-radius:6px;background:white;border:1px solid #dde3df;gap:20px}
body.mfg-community-content .mfg-lib-contribute h2{margin:0 0 8px;font-size:21px}
body.mfg-community-content .mfg-lib-contribute p{font-size:14px}
body.mfg-community-content .mfg-native-article{padding-top:28px;padding-bottom:40px;max-width:1200px;background:white;border-color:#e0e5e2;border-radius:6px}
body.mfg-community-content .mfg-native-article-head{padding:10px 0 4px;max-width:920px;margin:0}
body.mfg-community-content .mfg-native-article-head h1{font-size:34px;line-height:1.3;max-width:920px;margin:10px 0 16px}
body.mfg-community-content .mfg-article-kind{font:500 12px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;color:#68736c;text-transform:none}
body.mfg-community-content .mfg-reading-tools{font-size:13px;padding-bottom:14px;gap:18px;flex-wrap:wrap;margin-bottom:8px}
body.mfg-community-content .mfg-reading-summary{margin:16px 0;font-size:12px;padding:12px 0;gap:16px;letter-spacing:0;text-transform:none}
body.mfg-community-content .mfg-reading-followbar{margin:0 0 24px;padding:0;border:0;background:transparent;min-height:0}
body.mfg-community-content .mfg-reading-layout{grid-template-columns:minmax(0,840px) 230px;gap:48px;margin-top:0}
body.mfg-community-content .mfg-reading-body{font-size:16px;line-height:1.85;min-width:0}
body.mfg-community-content .mfg-reading-body h2{font-size:24px;margin:32px 0 14px}
body.mfg-community-content .mfg-reading-body h3{font-size:20px;margin:26px 0 12px}
body.mfg-community-content .mfg-reading-body h4{font-size:18px}
body.mfg-community-content .mfg-reading-body :is(p,ul,ol){margin-bottom:20px}
body.mfg-community-content .mfg-content-rail-title{font:600 14px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;text-transform:none;margin-bottom:12px}
body.mfg-community-content .mfg-reading-rail{font-size:13px}
body.mfg-community-content .mfg-reading-author{padding-top:20px;margin-top:20px}
body.mfg-community-content .mfg-reading-author-box{display:grid;grid-template-columns:58px minmax(0,1fr);padding:22px 0;margin:28px 0;gap:18px;border:0;border-top:1px solid #dde3df;border-bottom:1px solid #dde3df;background:transparent;border-radius:0}
body.mfg-community-content .mfg-reading-author-box h2{font-size:18px;line-height:1.4;margin:0 0 8px}
body.mfg-community-content .mfg-reading-author-box h3{font-size:18px;margin:0 0 8px}
body.mfg-community-content .mfg-reading-next{padding:24px;margin:24px 0;background:white;border:1px solid #dde3df;border-radius:6px}
body.mfg-community-content .mfg-reading-next h2{font-size:21px;margin:0 0 8px}
body.mfg-community-content .mfg-reading-next>div{font-size:14px}
body.mfg-community-content .mfg-reading-next .mfgx-actions{margin-top:16px;gap:20px}
body.mfg-community-content .mfg-reading-related{padding-top:28px;margin-top:28px}
body.mfg-community-content .mfg-reading-related>h2{font-size:22px;margin:0 0 18px}
body.mfg-community-content .mfg-native-related h3{font-size:18px}
body.mfg-community-content .mfg-native-related .mfg-lib-card h2{font-size:18px;line-height:1.45}
body.mfg-community-content .mfg-native-related .mfg-lib-card{border-radius:5px;box-shadow:none}
body.mfg-community-content .mfg-reading-bottom-nav{margin-top:24px;font-size:14px}
/* Original, script-free SVG reference plates. Full-size links retain legibility on phones. */
.mfg-diagrams{font-family:Arial,Helvetica,sans-serif;color:#27362f;width:100%;min-width:0}
.mfg-diagrams h2{margin:0 0 8px;font-size:22px;line-height:1.4}
.mfg-diagram-intro{font-size:14px;line-height:1.7;color:#68736c;margin:0 0 18px}
.mfg-diagram-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.mfg-diagrams figure{margin:0;background:white;border:1px solid #dde3df;border-radius:6px;overflow:hidden}
.mfg-diagrams figure>a{display:block}
.mfg-diagrams img{display:block;width:100%;height:auto;aspect-ratio:840/500;object-fit:contain;background:white}
.mfg-diagrams figcaption{padding:16px 20px;border-top:1px solid #edf0ee}
.mfg-diagrams figcaption h3{font-size:17px!important;margin:0 0 6px}
.mfg-diagrams figcaption p{font-size:13px;color:#68736c;line-height:1.65;margin:0 0 12px}
.mfg-diagrams figcaption>div{display:flex;gap:20px;font-size:12px}
.mfg-diagrams a{color:#326249}
.mfg-diagram-note{font-size:12px;line-height:1.65;color:#68736c;margin:14px 0 8px}
.mfg-diagrams summary{cursor:pointer;font-size:13px;line-height:1.6;padding:12px 0;color:#326249}
.mfg-diagrams summary:hover{text-decoration:underline}
.mfg-diagrams summary:focus-visible{outline:2px solid #326d53;outline-offset:3px}
.mfg-diagram-references{border-top:1px solid #dde3df}
.mfg-diagram-references ul{margin:0 0 12px;padding-left:18px;font-size:12px;line-height:1.8}
.mfg-diagrams-compact>h3{font-size:17px!important;margin:0 0 8px}
.mfg-diagrams-compact>details:not(.mfg-diagram-references){border-top:1px solid #dde3df}
.mfg-diagrams-compact figcaption{padding:12px}
.mfg-diagrams-compact figcaption p{margin-bottom:8px}
@media(max-width:600px){body.mfg-community-content #brx-content .mfg-native-article h1{font-size:27px}}
body.mfg-community-content .mfg-lib-sidebar>.brxe-shortcode{padding:20px}
body.mfg-community-content .mfg-native-article>.mfg-diagrams-slot{margin-top:28px;max-width:840px}
@media(min-width:1600px){body.mfg-community-content .mfg-library{width:calc(100% - 120px);max-width:1560px}body.mfg-community-content .mfg3-wrap{width:calc(100% - 120px);max-width:1560px}}
@media(max-width:991px){body.mfg-community-content .mfg3-wrap{width:calc(100% - 40px)}body.mfg-community-content .mfg-lib-layout{grid-template-columns:minmax(0,1fr);gap:28px}body.mfg-community-content .mfg-lib-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}body.mfg-community-content .mfg-reading-layout{grid-template-columns:minmax(0,1fr);gap:24px}body.mfg-community-content .mfg-reading-rail{order:-1}body.mfg-community-content .mfg-reading-sticky{position:static;display:block}body.mfg-community-content .mfg-reading-author{display:none}body.mfg-community-content .mfg-reading-toc{max-height:160px;overflow:auto}body.mfg-community-content .mfg-home-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.mfg-community-content :is(.mfg-home-v3,.mfg-library,.mfg-native-article) h1{font-size:27px}body.mfg-community-content .mfg3-hero{padding-top:28px}body.mfg-community-content .mfg3-lead{font-size:15px}body.mfg-community-content .mfg3-search-hints{gap:8px 14px}body.mfg-community-content .mfg3-quick{display:flex;flex-direction:column;margin-bottom:26px}body.mfg-community-content .mfg3-quick>a{width:100%;border-right:0;border-bottom:1px solid #e2e7e3;padding:14px 18px}body.mfg-community-content .mfg3-quick>a:last-child{border-bottom:0}body.mfg-community-content .mfg3-field-grid,body.mfg-community-content .mfg-home-article-grid{grid-template-columns:minmax(0,1fr)}body.mfg-community-content .mfg3-field{padding:20px}body.mfg-community-content .mfg3-dispatch{display:flex;flex-direction:column;align-items:flex-start;padding:20px}body.mfg-community-content .mfg3-dispatch .mfg3-button{width:auto}body.mfg-community-content .mfg-lib-hero{grid-template-columns:minmax(0,1fr);gap:14px}body.mfg-community-content .mfg-lib-hero h1{font-size:28px}body.mfg-community-content .mfg-lib-sidebar{grid-template-columns:minmax(0,1fr)}body.mfg-community-content .mfg-lib-feed>.mfg-lib-card{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0}body.mfg-community-content .mfg-lib-feed .mfg-lib-image{height:200px;width:100%}body.mfg-community-content .mfg-lib-card h3{font-size:19px}body.mfg-community-content .mfg-lib-contribute{display:flex;flex-direction:column;align-items:flex-start;padding:20px}body.mfg-community-content .mfg-reading-tools{gap:12px;font-size:12px}body.mfg-community-content .mfg-native-article-head h1{font-size:27px}body.mfg-community-content .mfg-reading-body{font-size:16px;line-height:1.8}body.mfg-community-content .mfg-reading-body h2{font-size:22px}body.mfg-community-content .mfg-reading-body h3{font-size:19px}body.mfg-community-content .mfg-reading-next{padding:20px}.mfg-diagram-grid{grid-template-columns:minmax(0,1fr)}.mfg-diagrams figcaption{padding:14px 16px}.mfg-diagrams summary{padding:13px 0}}
