.bg-page{padding-top:28px;padding-bottom:55px}.bg-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;line-height:1.7;color:#8c8076;margin-bottom:26px}.bg-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.bg-heading h1{font:600 30px/1.4 Montserrat,Arial,sans-serif;letter-spacing:-.8px;color:#1f2937;margin:12px 0}.bg-heading h2{font:600 25px/1.4 Montserrat,Arial,sans-serif;letter-spacing:-.5px;margin:9px 0}.bg-heading p{font-size:13px;color:#8c8076;line-height:1.8}.bg-home{margin:40px 0}.bg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.bg-card{min-width:0;background:white;border:1px solid #e9e3db;border-radius:9px;overflow:hidden}.bg-cover{display:flex;align-items:center;justify-content:center;background:#f4ece2;aspect-ratio:16/10;overflow:hidden}.bg-cover img{width:100%;height:100%;object-fit:cover}.bg-cover>.pera-icon{width:45px;height:45px}.bg-card-copy{padding:17px}.bg-card-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:9px;line-height:1.7;color:#9a7555}.bg-card h3{font:600 14px/1.65 Montserrat,Arial,sans-serif;margin:13px 0 5px;color:#27303c;overflow-wrap:anywhere}.bg-card p{font-size:11px;line-height:1.9;color:#8a817a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.bg-all{text-align:center;margin-top:25px}.bg-category-links,.bg-tag-links{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px}.bg-category-links a,.bg-tag-links a{font-size:11px;padding:9px 13px;border:1px solid #e7dfd6;border-radius:5px;background:#fff}.bg-category-links a[aria-current]{border-color:var(--brand,#F97316);color:#9a6032}.bg-search{display:flex;gap:10px;margin-bottom:26px}.bg-search input{flex:1;min-width:0}.bg-search input,.bg-search select{border:1px solid #e6ded5;border-radius:5px;background:white;padding:12px;font:12px Montserrat,Arial,sans-serif;color:#4b5563}.bg-search button{background:#27303c;color:white;padding:12px 23px;border-radius:5px;font-size:12px}.bg-pagination{display:flex;justify-content:center;gap:25px;font-size:12px;margin-top:28px}.bg-empty{padding:50px 15px;text-align:center;color:#857c72;font-size:13px}.bg-article{max-width:900px;margin:auto}.bg-article-meta{display:flex;gap:20px;font-size:11px;color:#a36e43;margin:20px 0}.bg-article h1{font:600 34px/1.45 Montserrat,Arial,sans-serif;letter-spacing:-.8px;color:#1f2937;max-width:none;overflow-wrap:anywhere;margin:15px 0 22px}.bg-lead{font-size:15px;line-height:1.9;color:#827468;max-width:750px}.bg-hero-image{width:100%;max-height:500px;object-fit:cover;border-radius:10px;margin:22px 0}.bg-article-body{font-size:15px;line-height:2;color:#4b5563;overflow-wrap:anywhere;margin:30px 0 38px}.bg-article-body p{margin:0 0 22px;line-height:2}.bg-back{font-size:12px;color:#a57550}
@media(max-width:1050px){.bg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.bg-page{padding-top:20px}.bg-grid{grid-template-columns:1fr;gap:15px}.bg-heading h1{font-size:24px}.bg-heading h2{font-size:22px}.bg-article h1{font-size:26px}.bg-search{flex-wrap:wrap}.bg-search input{flex-basis:100%}.bg-search select{flex:1}.bg-lead,.bg-article-body{font-size:14px}}

/* Blog discovery and removable demo content. */
.bg-home{padding:30px;background:#f8f6f2;border:1px solid #e9e3db;border-radius:16px}.bg-home .bg-heading{gap:20px}.bg-heading-link{white-space:nowrap;font-size:12px;font-weight:600;color:#9a6032}.bg-card{transition:transform .2s,box-shadow .2s}.bg-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #1f293710}.bg-card a:focus-visible,.bg-heading-link:focus-visible{outline:2px solid var(--brand,#f97316);outline-offset:3px}.bg-demo-label{background:#f0e6d9;color:#795537;padding:2px 6px;border-radius:3px;font-weight:600;letter-spacing:.6px}.bg-read{display:flex;justify-content:space-between;border-top:1px solid #eee8e1;padding-top:13px;margin-top:17px;font-size:11px;font-weight:600;color:#925b32}.bg-demo-notice{padding:12px 16px;background:#f8f0e4;color:#795537;border:1px solid #e9dbc5;border-radius:7px;font-size:12px;line-height:1.8}.bg-page .bg-grid{row-gap:26px}@media(max-width:600px){.bg-home{padding:20px 15px}.bg-home .bg-heading{align-items:flex-start;flex-direction:column;gap:5px}.bg-home .bg-heading h2{font-size:21px}}@media(prefers-reduced-motion:reduce){.bg-card{transition:none}.bg-card:hover{transform:none}}

/* Extend the background to both viewport edges without widening the cards. */
.bg-home{border-color:transparent;border-radius:0;box-shadow:0 0 0 100vmax #f8f6f2;clip-path:inset(0 -100vmax)}

/* Keep the blog background continuous down to the footer. */
body .pe-home .bg-home{margin-bottom:0;padding-bottom:78px}
body .pe-home:has(.bg-home)+.pe-site-footer-wrap{margin-top:0}
@media(max-width:600px){body .pe-home .bg-home{padding-bottom:68px}}

/* Article and right-hand blog sidebar. */
.bg-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;align-items:start}.bg-content-layout>.bg-article{width:100%;min-width:0;max-width:none;margin:0}.bg-sidebar{display:grid;gap:22px;min-width:0}.bg-widget{background:#fff;border:1px solid #e8e2da;border-radius:10px;padding:22px}.bg-widget h2{font:600 16px/1.5 Montserrat,Arial,sans-serif;letter-spacing:-.2px;margin:0 0 17px;padding-bottom:13px;border-bottom:1px solid #eee8e1;color:#27303c}.bg-side-categories{display:flex;flex-direction:column;align-items:stretch;gap:0}.bg-side-categories a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;font-size:12px;line-height:1.6;border-bottom:1px solid #f2eee9}.bg-side-categories a:last-child{border:0;padding-bottom:0}.bg-side-recent{display:grid;gap:16px}.bg-recent-link{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:start}.bg-recent-link img,.bg-recent-placeholder{width:80px;height:64px;object-fit:cover;border-radius:6px;background:#f8f0e4}.bg-recent-placeholder{display:flex;align-items:center;justify-content:center}.bg-recent-placeholder svg{width:26px;height:26px}.bg-recent-link strong{display:block;font-size:11px;font-weight:600;line-height:1.7;color:#27303c;overflow-wrap:anywhere}.bg-recent-link time{display:block;margin-top:5px;font-size:10px;color:#978575}.bg-side-tags{display:flex;flex-wrap:wrap;gap:8px}.bg-side-tags a{padding:7px 10px;background:#f8f6f2;border:1px solid #e9e3db;border-radius:5px;font-size:11px;line-height:1.6;color:#856245}.bg-side-urgent{list-style:none;padding:0;margin:0}.bg-side-urgent li+li{border-top:1px solid #eee8e1}.bg-side-urgent a{display:block;padding:11px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.bg-widget-urgent h2{color:#b75c22}.bg-side-all{display:inline-block;margin-top:15px;font-size:11px;font-weight:600;color:#a36637}.bg-widget-empty{font-size:12px;line-height:1.8;color:#8a817a}.bg-sidebar a:hover{color:#b75c22}.bg-sidebar a:focus-visible{outline:2px solid var(--brand,#f97316);outline-offset:3px}.bg-content-layout .bg-article h1{font-size:30px}
@media(max-width:1000px){.bg-content-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.bg-widget{padding:18px}.bg-recent-link{grid-template-columns:64px minmax(0,1fr);gap:10px}.bg-recent-link img,.bg-recent-placeholder{width:64px;height:58px}}
@media(max-width:800px){.bg-content-layout{grid-template-columns:minmax(0,1fr);gap:32px}.bg-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.bg-content-layout .bg-article h1{font-size:26px}}
@media(max-width:550px){.bg-sidebar{grid-template-columns:minmax(0,1fr)}.bg-recent-link{grid-template-columns:80px minmax(0,1fr)}.bg-recent-link img,.bg-recent-placeholder{width:80px;height:64px}}

/* Reading metadata, expandable dates and related posts. */
.bg-article-meta{flex-wrap:wrap;align-items:center}.bg-reading-time{padding:4px 9px;background:#f0e9df;border-radius:20px;color:#855b38;font-size:11px}.bg-post-info{margin:26px 0;background:#fff;border:1px solid #e8e2da;border-radius:9px;overflow:hidden}.bg-post-info summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 20px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:#39424e}.bg-post-info summary::-webkit-details-marker{display:none}.bg-post-info summary>span{font-size:18px;transition:transform .2s}.bg-post-info[open] summary>span{transform:rotate(180deg)}.bg-post-info summary:focus-visible{outline:2px solid var(--brand,#f97316);outline-offset:-3px}.bg-post-info dl{margin:0 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid #eee8e1;padding-top:18px}.bg-post-info dt{font-size:11px;color:#8a817a;margin-bottom:6px}.bg-post-info dd{font-size:12px;color:#39424e;line-height:1.8;margin:0}.bg-post-info>p{font-size:11px;line-height:1.8;color:#978575;padding:15px 20px;margin:0}.bg-article-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:28px 0}.bg-related{margin-top:40px;padding-top:28px;border-top:1px solid #e5dfd8}.bg-related .bg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.bg-related .bg-heading h2{font-size:23px}.bg-related .bg-card-copy{padding:14px}.bg-related .bg-card h3{font-size:12px}.bg-related .bg-card-meta{font-size:9px}.bg-related .bg-card p{font-size:11px}#blog-article{scroll-margin-top:24px}@media(max-width:1050px) and (min-width:801px){.bg-related .bg-grid{grid-template-columns:1fr}}@media(max-width:600px){.bg-related .bg-grid{grid-template-columns:1fr}.bg-post-info dl{grid-template-columns:1fr}.bg-post-info summary{font-size:12px;padding:16px}.bg-article-meta{gap:12px}}

/* Comfortable blog typography on desktop and mobile. */
body .bg-page .bg-article-body,body .bg-page .bg-article-body p{font-size:18px;line-height:1.9;font-weight:400;color:#414b58}
body .bg-page .bg-lead{font-size:18px;line-height:1.85;color:#596472}
body .bg-page .bg-content-layout .bg-article h1{font-size:34px;line-height:1.45}
body .bg-page .bg-article-meta,body .bg-page .bg-reading-time{font-size:13px}
body .bg-page .bg-demo-notice{font-size:13px;color:#795537}
body .bg-page .bg-widget h2{font-size:18px}
body .bg-page .bg-side-categories a,body .bg-page .bg-side-urgent a{font-size:14px;line-height:1.8;color:#485362}
body .bg-page .bg-recent-link strong{font-size:13px;line-height:1.75}
body .bg-page .bg-recent-link time{font-size:12px;color:#786a5c}
body .bg-page .bg-side-tags a,body .bg-page .bg-tag-links a{font-size:13px}
body .bg-page .bg-side-all,body .bg-page .bg-widget-empty,body .bg-page .bg-back{font-size:13px;line-height:1.8}
body .bg-page .bg-post-info summary{font-size:15px}
body .bg-page .bg-post-info dt,body .bg-page .bg-post-info>p{font-size:13px;color:#71685f}
body .bg-page .bg-post-info dd{font-size:14px}
body .bg-page .bg-card h3{font-size:16px;line-height:1.65}
body .bg-page .bg-card p{font-size:14px;line-height:1.85;color:#64707d}
body .bg-page .bg-card-meta{font-size:11px;color:#80634b}
body .bg-page .bg-read{font-size:13px}
@media(max-width:600px){body .bg-page .bg-content-layout .bg-article h1{font-size:28px}body .bg-page .bg-article-body,body .bg-page .bg-article-body p,body .bg-page .bg-lead{font-size:17px;line-height:1.9}}

/* Keep recent-post titles to two lines at every screen width. */
body .bg-page .bg-recent-link>span{min-width:0}
body .bg-page .bg-recent-link strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-height:3.5em}
