/* QARAR Enterprise v26.3.42 — Community internal pages unified with the approved internal-page system. */
body.page-template-page-community-group .qarar-community-internal-page{background:#fff}
body.page-template-page-community-group .community-internal-layout{padding-top:28px;padding-bottom:54px;grid-template-columns:255px minmax(0,1fr);gap:46px}
body.page-template-page-community-group .community-internal-sidebar{min-width:0;position:sticky;top:118px}
body.page-template-page-community-group .community-internal-sidebar .inner-side-nav{position:static;top:auto}
body.page-template-page-community-group .community-internal-content{min-width:0;background:#fff}
body.page-template-page-community-group .community-internal-breadcrumbs{margin:0 0 24px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#8a919b;font-size:12px}
body.page-template-page-community-group .community-internal-breadcrumbs a{color:#8a919b;text-decoration:none}
body.page-template-page-community-group .community-internal-breadcrumbs a:hover{color:#be1622}
body.page-template-page-community-group .community-internal-breadcrumbs strong{color:#be1622;font-weight:800}
body.page-template-page-community-group .community-internal-intro{margin-bottom:18px}
body.page-template-page-community-group .community-internal-intro>span{display:block;color:#be1622;font-size:12px;font-weight:900;letter-spacing:.5px;margin-bottom:7px}
body.page-template-page-community-group .community-internal-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}
body.page-template-page-community-group .community-internal-intro h2{font-family:'Tajawal',Arial,sans-serif;font-size:clamp(32px,3.8vw,50px);line-height:1.12;margin:0 0 8px;color:#1b222d}
body.page-template-page-community-group .community-internal-intro p{margin:0;color:#707985;max-width:720px;line-height:1.85;font-size:15px}
body.page-template-page-community-group .community-internal-count{flex:0 0 76px;height:76px;border:1px solid #e2e5e9;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#be1622;font-family:'Tajawal',Arial,sans-serif;font-weight:900;font-size:25px;box-shadow:0 7px 22px rgba(24,30,41,.05)}
body.page-template-page-community-group .community-internal-count small{font-family:Tajawal,Arial,sans-serif;color:#777f8a;font-size:10px;font-weight:700;margin-top:1px}
body.page-template-page-community-group .community-internal-rule{height:1px;background:#e6e9ed;margin:0 0 30px;position:relative}
body.page-template-page-community-group .community-internal-rule:after{content:"";display:block;width:62px;height:3px;background:#be1622;position:absolute;right:0;top:-1px}
body.page-template-page-community-group .community-internal-people .org-level{margin-bottom:26px}
body.page-template-page-community-group .community-internal-people .org-level+.org-level{padding-top:24px;border-top:1px solid #eef0f2}
body.page-template-page-community-group .community-internal-people .people-grid{gap:22px 18px}
body.page-template-page-community-group .community-internal-people .person-card{border:1px solid #e1e4e8!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 24px rgba(17,24,39,.045)!important;padding:18px 14px 15px!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.page-template-page-community-group .community-internal-people .person-card:hover{transform:translateY(-3px)!important;border-color:rgba(190,22,34,.3)!important;box-shadow:0 14px 30px rgba(17,24,39,.08)!important}
body.page-template-page-community-group .community-internal-people .person-open{text-align:center!important}
body.page-template-page-community-group .community-internal-people .person-photo{width:min(170px,82%)!important;margin:0 auto 3px;border-radius:50%!important;aspect-ratio:1/1!important;border:1px solid #dfe3e7;box-shadow:0 7px 18px rgba(17,24,39,.08);background:#f3f4f6}
body.page-template-page-community-group .community-internal-people .person-info{text-align:center;padding:12px 2px 0}
body.page-template-page-community-group .community-internal-people .person-info strong{font-size:17px!important;line-height:1.55}
body.page-template-page-community-group .community-internal-people .person-info small{font-size:12px!important;color:#6c7480!important;min-height:20px}
body.page-template-page-community-group .community-internal-people .person-info i{font-size:11px!important;color:#8a919b!important;margin-top:7px}
@media(max-width:1050px){body.page-template-page-community-group .community-internal-layout{grid-template-columns:190px minmax(0,1fr);gap:30px}}
@media(max-width:780px){body.page-template-page-community-group .community-internal-layout{grid-template-columns:1fr;padding-top:22px}.community-internal-sidebar{position:static!important}.community-internal-title-row{align-items:flex-start!important;flex-direction:column;gap:18px!important}.community-internal-count{width:58px!important;height:58px!important;font-size:20px!important}.community-internal-intro h2{font-size:34px!important}.community-internal-people .people-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important}}
@media(max-width:480px){body.page-template-page-community-group .community-internal-people .person-card{padding:14px 8px 12px!important}.community-internal-intro p{font-size:13px!important}.community-internal-people .person-info strong{font-size:15px!important}.community-internal-people .person-info small{font-size:11px!important}}
