
.community-site .community-home-section,.community-site .community-rich-content,.community-site .community-page-block{border:1px solid #d9dee7;border-radius:16px;background:#fff;padding:clamp(16px,3vw,28px);margin-bottom:28px;min-width:0}
.community-site .card{border:1px solid #d9dee7;border-radius:14px}.community-site .card-body{min-width:0}.community-site .community-grid{align-items:stretch}.community-site .community-grid .card{margin-bottom:0}.community-site .community-home-section:empty{display:none}
.community-site .btn{white-space:normal;line-height:1.5;min-height:44px}.community-site .card-body>.btn,.community-site .card-footer>.btn,.community-site .section-body .btn{margin-right:8px;margin-bottom:10px}.community-site .btn-group{gap:8px;flex-wrap:wrap}.community-site .btn-group>.btn{border-radius:6px!important;margin-left:0!important}.community-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.community-actions form{margin:0}
.community-breadcrumb{padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px;font-size:16px}.community-breadcrumb a{text-decoration:underline}.community-category-links{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.community-faq details{border:1px solid #d9dee7;border-radius:10px;margin:12px 0;padding:14px}.community-faq summary{font-weight:600;cursor:pointer}.community-faq p{white-space:pre-line;margin-top:12px}
.community-site .community-rich-content iframe{max-width:100%}.community-site .community-rich-content>*:last-child{margin-bottom:0}.community-site .navbar-brand img{max-width:180px;height:auto;max-height:70px}.community-site .section-body{min-width:0}
/* Retain the original theme's mobile header and 250px drawer, including
   its matching -250px closed position. Do not override drawer geometry. */
.community-site .card.profile-widget{overflow:visible}
/* Show the complete uploaded picture; fixed cover frames cropped faces/text. */
.community-site .community-card-image,.community-site .card-img-top,
.community-site .community-content-image,.community-site .cause-hero-image{
 display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain
}
.community-site .card>a:first-child>.card-img-top,
.community-site .card>a:first-child>.community-card-image{border-radius:13px 13px 0 0}
.community-site .section-header{flex-wrap:wrap;gap:12px}
.community-site .section-header h1{overflow-wrap:anywhere}
.community-site .section-header-breadcrumb{min-width:0;max-width:100%;flex-wrap:wrap}
.community-site .community-breadcrumb{overflow-wrap:anywhere}
.community-site .community-grid:empty,.community-site .community-category-links:empty{display:none}
/* The theme leaves this absolute bar at its static vertical position.
   Anchor it so the secondary menu's flow spacing cannot displace it. */
.community-site .main-navbar{top:0}
/* Preserve the original separate header bars and their absolute positions.
   Allow long desktop menus to wrap; measure only their content clearance. */
@media(min-width:1025px){
 body.community-site.layout-3 .navbar.navbar-secondary{top:70px;height:auto;min-height:70px}
 body.community-site.layout-3 .community-public-menu{flex-wrap:wrap}
 body.community-site.layout-3 .main-content{padding-top:calc(100px + var(--community-menu-height,70px))}
}
@media(max-width:991px){
 .community-site .community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1024px){
 .community-site .main-sidebar .community-managed-menu{display:block}
 .community-site .main-sidebar .community-managed-menu>li{display:block;width:100%}
 .community-site .main-sidebar .community-managed-menu li>ul{position:static;min-width:0;box-shadow:none}
 .community-site .main-sidebar .community-managed-menu li:focus-within:not(.community-menu-open)>ul{display:none}
 .community-site .main-sidebar .community-managed-menu li.community-has-children>a{padding-right:48px}
 .community-site .main-sidebar .community-menu-toggle{position:absolute;right:0;top:0;min-height:50px}
}
@media(max-width:575px){
 .community-site .community-grid{grid-template-columns:minmax(0,1fr)}
 .community-site .community-public-row{row-gap:18px}
 .community-site .section-header h1{font-size:24px}
 .community-site .section-header .section-header-breadcrumb{margin-left:0}
 .community-site .profile-widget-items{flex-wrap:wrap}
 .community-site .profile-widget-items .profile-widget-item{min-width:80px}
}
