/* Constrain grid children instead of hiding overflowing article text. */
body #latest-posts .post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;gap:24px!important}
body #latest-posts .post-card{min-width:0;max-width:100%;min-height:0;display:flex;flex-direction:column}
body #latest-posts .post-thumb{display:block;flex:none;aspect-ratio:16/10;line-height:0}
body #latest-posts .post-thumb img{display:block;width:100%;height:100%;object-fit:cover}
body #latest-posts .post-body{min-width:0;max-width:100%;flex:1;display:flex;flex-direction:column;padding:22px}
body #latest-posts .post-title,body #latest-posts .post-title a,body #latest-posts .post-meta,body #latest-posts .excerpt{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;min-width:0;max-width:100%}
body #latest-posts .post-title{font-size:22px;line-height:1.25;margin:0 0 14px}
body #latest-posts .excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.65;margin:0 0 20px}
body #latest-posts .read-more{margin-top:auto;align-self:flex-start;line-height:1.5}
body #latest-posts .section-head>div,body #latest-posts .section-head .search-form{min-width:0}
body #latest-posts .section-head .search-form{max-width:360px}
body .search-form label{min-width:0}
body .search-form .search-field{min-width:0}
body .site-header .header-inner{grid-template-columns:170px minmax(0,1fr) 240px!important;gap:18px!important}
body .site-header .brand{min-width:0;max-width:100%}
body .site-header .brand img,body .site-header .brand .custom-logo{width:170px!important;max-width:100%!important}
body .site-header .main-nav{min-width:0}
body .site-header .main-nav ul{gap:3px!important;flex-wrap:nowrap!important}
body .site-header .main-nav a{font-size:13px!important;padding:10px 8px!important;white-space:nowrap}
body .site-header .header-search{min-width:0!important;width:100%}
body .site-header .search-submit{white-space:nowrap}
body .site-header a:focus-visible,body #latest-posts a:focus-visible,body .search-form input:focus-visible,body .site-header button:focus-visible{outline:3px solid #d88439!important;outline-offset:3px}
@media(max-width:1150px){
 body .site-header .header-inner{grid-template-columns:minmax(0,1fr) 260px!important;gap:12px 20px!important}
 body .site-header .brand{grid-column:1;grid-row:1}
 body .site-header .header-search{grid-column:2;grid-row:1;max-width:none!important;display:block!important}
 body .site-header .main-nav{grid-column:1/-1;grid-row:2;justify-content:center!important}
 body .site-header .main-nav ul{justify-content:center!important;flex-wrap:wrap!important}
}
@media(max-width:1100px){body #latest-posts .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){
 body .site-header{position:relative!important;top:auto!important}
 body .site-header .header-inner{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}
 body .site-header .brand{grid-column:1;grid-row:1}
 body .site-header .menu-toggle{grid-column:2;grid-row:1;display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;background:var(--brand);color:#fff;border:0;border-radius:14px;padding:10px 13px;font-weight:800}
 body .site-header .header-search{grid-column:1/-1;grid-row:3;width:100%}
 body .site-header .main-nav{grid-column:1/-1;grid-row:2;display:flex!important}
 html.rch-menu-ready body .site-header .main-nav:not(.is-open){display:none!important}
 body .site-header .main-nav ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:6px!important}
 body .site-header .main-nav a{width:100%;white-space:normal!important;min-height:42px}
 body #latest-posts .post-grid{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
 body #latest-posts .section-head{align-items:stretch!important;flex-direction:column}
 body #latest-posts .section-head .search-form{width:100%;max-width:none}
 body #latest-posts .post-title{font-size:23px}
 body #latest-posts .post-body{padding:22px}
 body .hero-grid{min-width:0}
 body .hero-grid>div,body .feature-strip>div{min-width:0}
}
@media(prefers-reduced-motion:reduce){body #latest-posts .post-thumb img{transition:none}body #latest-posts .post-card:hover .post-thumb img{transform:none}}
