.community-profiles{padding:86px 0 110px;background:#f7f7fc}
.community-directory-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:38px;padding-bottom:25px;border-bottom:1px solid #dcdeea}
.community-directory-heading>div:first-child>span{display:block;color:#ef684e;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.community-directory-heading h2{max-width:620px;margin:10px 0 0;color:#1d1b4e;font-size:34px;line-height:1.2}
.community-profiles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.community-profile-card{display:grid;grid-template-columns:42% minmax(0,1fr);min-height:310px;overflow:hidden;background:#fff;border:1px solid #e3e4ee;box-shadow:0 14px 35px rgba(29,27,78,.06);transition:transform .25s ease,box-shadow .25s ease}
.community-profile-card:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(29,27,78,.12)}
.community-profile-photo{display:block;min-height:310px;overflow:hidden;background:linear-gradient(145deg,#eeecff,#d9d5f5)}
.community-profile-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.community-profile-photo>span,.community-profile-portrait>span{display:grid;width:100%;height:100%;place-items:center;color:#6a5ed8;font-size:64px;font-weight:600}
.community-profile-card:hover img{transform:scale(1.04)}
.community-profile-card-content{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:32px 30px}
.community-profile-card-content>span,.community-profile-body>section>span{display:block;color:#ef684e;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.community-profile-card h2{margin:12px 0 14px}
.community-profile-card h2 a{color:#1d1b4e}
.community-profile-card p{display:-webkit-box;overflow:hidden;margin:0;color:#626780;font-size:14px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.community-profile-read{display:inline-flex;align-items:center;gap:12px;margin-top:auto;padding-top:24px;color:#5148b8;font-size:13px;font-weight:800}
.community-profile-read b{display:grid;width:30px;height:30px;place-items:center;border:1px solid #cbc8ed;border-radius:50%;font-size:14px;transition:background .2s ease,color .2s ease}
.community-profile-read:hover b{background:#6a5ed8;color:#fff}
.community-profiles-empty{grid-column:1/-1;margin:0;padding:42px;background:#fff;border:1px solid #e3e4ee;color:#5f647c;text-align:center}
.community-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:clamp(34px,5vw,64px);padding-top:24px;border-top:1px solid #dcdeea}
.community-pagination-summary{margin:0;color:#626780;font-size:13px;font-weight:600}
.community-pagination-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.community-page-control,.community-page-number,.community-page-gap{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;padding:0 13px;border:1px solid #d9dbea;background:#fff;color:#302b7f;font-size:13px;font-weight:700;text-decoration:none}
.community-page-control{min-width:104px}
.community-page-gap{min-width:24px;padding:0 5px;border-color:transparent;background:transparent}
.community-page-number.is-current{border-color:#6a5ed8;background:#6a5ed8;color:#fff}
.community-page-control.is-disabled{background:#f0f1f7;color:#989caf;cursor:not-allowed}
.community-pagination a:hover{border-color:#6a5ed8;background:#eeecff;color:#302b7f}
.community-pagination a:focus-visible{outline:2px solid #302b7f;outline-offset:3px}
.community-profile-hero{padding:74px 0;background:#1d1b4e;color:#fff}
.community-profile-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:80px}
.community-profile-hero-grid>div:first-child>a{display:inline-block;margin-bottom:42px;color:#d9d7ff;font-size:12px;font-weight:700}
.community-profile-hero-grid>div:first-child>span{display:block;color:#ffcf61;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.community-profile-hero h1{max-width:760px;margin:14px 0 19px;color:#fff;font-family:Poppins,sans-serif;font-size:clamp(30px,5vw,40px);font-weight:600;line-height:1}
.community-profile-hero p{max-width:670px;margin:0;color:#d8d9eb;font-size:18px;font-weight:600;line-height:1.55}
.community-profile-portrait{height:380px;overflow:hidden;background:#efeffb}
.community-profile-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.community-profile-body{max-width:900px;padding-top:82px;padding-bottom:105px}
.community-profile-body>section{padding:0 0 50px;margin:0 0 50px;border-bottom:1px solid #e7e7f1}
.community-profile-body>section:last-of-type{margin-bottom:30px}
.community-profile-body h2{margin:10px 0 23px;color:#1d1b4e;font-family:Poppins,sans-serif;font-size:20px;font-weight:500;line-height:1.35}
.community-profile-body section div{color:#565a71;font-size:15px;line-height:1.9}
.community-profile-body section div p{margin:0 0 18px}
.community-profile-links{display:flex;flex-wrap:wrap;gap:12px}
.community-profile-links a{display:inline-flex;align-items:center;gap:18px;padding:11px 15px;background:#6a5ed8;color:#fff;font-size:12px;font-weight:700}
.community-profile-links a:hover{background:#5147bb}
@media(max-width:1000px){.community-profile-card{grid-template-columns:38% minmax(0,1fr)}.community-profile-card-content{padding:26px 24px}.community-profile-photo{min-height:290px}}
@media(max-width:900px){.community-directory-heading h2{font-size:30px}.community-profiles-grid{grid-template-columns:1fr}.community-profile-card{grid-template-columns:240px minmax(0,1fr)}.community-profile-hero-grid{grid-template-columns:minmax(0,1fr) 250px;gap:45px}.community-profile-portrait{height:320px}}
@media(max-width:600px){.community-profiles{padding:55px 20px 75px}.community-directory-heading{display:block;margin-bottom:25px}.community-directory-heading h2{font-size:27px}.community-profile-card{grid-template-columns:1fr;min-height:0}.community-profile-photo{height:auto;min-height:0;aspect-ratio:4/3}.community-profile-card-content{padding:25px 24px 27px}.community-profile-card p{font-size:13px}.community-profile-read{margin-top:3px}.community-pagination{display:block}.community-pagination-summary{margin-bottom:14px}.community-pagination-links{gap:5px}.community-page-control,.community-page-number,.community-page-gap{height:38px;min-width:38px;padding-inline:9px;font-size:12px}.community-page-control{flex:1}.community-profile-hero{padding:55px 0}.community-profile-hero-grid{grid-template-columns:1fr;gap:35px;margin:0 20px}.community-profile-hero-grid>div:first-child>a{margin-bottom:30px}.community-profile-portrait{width:min(100%,320px);height:360px}.community-profile-body{padding:58px 20px 75px}.community-profile-body>section{padding-bottom:36px;margin-bottom:36px}.community-profile-body h2{font-size:18px}}
@media(max-width:500px){.community-profile-body section div{font-size:14px}}
