/* V72 – cumulative polish: Community lower tools + member/patron dashboards. */

/* Community lower section: keep all three services together, each with a photo-supported ministry card. */
.v72-community-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px;align-items:stretch}
.v72-ministry-card{background:#fff;border:1px solid #dce7e1;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(3,64,45,.07);display:flex;flex-direction:column;min-width:0}
.v72-ministry-card .v72-card-image{height:180px;position:relative;overflow:hidden;background:#eaf2ee}
.v72-ministry-card .v72-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.v72-ministry-card .v72-card-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(2,55,39,.58))}
.v72-ministry-card .v72-card-image .v72-image-label{position:absolute;left:18px;bottom:14px;z-index:1;color:#fff;font-weight:800;font-size:13px;letter-spacing:.04em}
.v72-ministry-card .v72-card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.v72-ministry-card h2{margin:0 0 7px;color:#064b39;font-family:Georgia,serif;font-size:27px;line-height:1.05}
.v72-ministry-card .v72-intro{color:#60746b;line-height:1.55;margin:0 0 17px;font-size:14px}
.v72-ministry-card form{display:grid;gap:12px;margin-top:auto}
.v72-ministry-card label{display:grid;gap:6px;font-size:13px;font-weight:800;color:#17352a}
.v72-ministry-card input,.v72-ministry-card textarea{width:100%;border:1px solid #cfded6;border-radius:10px;padding:11px 12px;background:#fff;color:#13271f;outline:none}
.v72-ministry-card input:focus,.v72-ministry-card textarea:focus{border-color:#0b7654;box-shadow:0 0 0 3px rgba(11,118,84,.10)}
.v72-ministry-card textarea{resize:vertical;min-height:118px}
.v72-ministry-card .v72-check{display:flex;align-items:flex-start;gap:9px;font-weight:600;line-height:1.35}.v72-ministry-card .v72-check input{width:auto;margin-top:2px}
.v72-scripture{margin:13px 0 0;padding:12px 14px;border-left:3px solid #f2b423;background:#fbf8ed;border-radius:0 10px 10px 0;color:#6b5a2c;font-family:Georgia,serif;font-style:italic;font-size:13px;line-height:1.5}
.v72-community-tools .v70-btn{justify-self:start;min-height:42px;padding:10px 17px}

/* Member portal: keep role-aware functionality but make dashboard visually close to the approved example. */
@media (min-width:901px){
  .portal-sidebar{background:linear-gradient(180deg,#064b39,#033428)!important;border-right:0!important;box-shadow:7px 0 25px rgba(2,43,31,.06)}
  .portal-topbar{background:#fff!important;color:#133328!important;border-bottom:1px solid #e4ece8!important;box-shadow:0 4px 16px rgba(0,55,39,.04)!important}
  .portal-topbar .portal-brand{color:#064b39!important}.portal-topbar .portal-brand small{color:#a97500!important}.portal-topbar .portal-user strong{color:#16362b}.portal-topbar .portal-user small{color:#6f8379!important}
  .portal-main{background:#f6f9f7!important}.portal-nav-v27 a{border-radius:9px;margin:3px 8px}.portal-nav-v27 a.active{background:#f2b423!important;color:#073e2f!important;font-weight:900}
  .v43-dashboard{gap:16px}.v43-member-hero{min-height:150px;border-radius:18px;padding:22px 24px;background:linear-gradient(105deg,rgba(1,65,45,.96),rgba(4,82,58,.88)),url('assets/choir.jpg') center 38%/cover no-repeat}.v43-member-photo{width:104px;height:104px}.v43-member-hero h2{font-size:30px}.v43-member-hero blockquote{font-size:14px;margin-top:10px}.v43-member-since{font-size:12px;padding:8px 11px}
  .v43-rehearsal-card,.v43-card{border-radius:14px;box-shadow:0 6px 18px rgba(0,59,40,.045)}.v43-rehearsal-card{padding:18px 20px}.v43-round-icon{width:58px;height:58px;font-size:27px}.v43-rehearsal-card h3{font-size:22px}.v43-days strong{font-size:32px}
  .v43-card{padding:18px 20px}.v43-card-head h3{font-size:18px}.v43-announcement h4{font-size:19px}.v43-quick{grid-template-columns:repeat(4,minmax(0,1fr))}.v43-quick a{border-radius:12px;padding:14px 8px}
}

/* Patron dashboard: cleaner, compact command-centre look while preserving every module. */
.admin-sidebar{background:linear-gradient(180deg,#064b39,#033428 78%)!important}.admin-brand{height:82px!important}.admin-brand img{width:54px!important;height:54px!important}.admin-nav{padding-top:9px!important}.admin-nav button{height:38px!important;font-size:12.5px!important;border-radius:8px!important}.admin-nav button.active{background:#0b6b4a!important;box-shadow:inset 3px 0 #f2b423!important}.admin-topbar{height:68px!important;background:#fff!important;color:#17352a!important;border-bottom:1px solid #e2ebe6!important;box-shadow:0 4px 14px rgba(0,60,42,.04)!important}.admin-topbar h1{color:#073e2f!important}.admin-topbar p{color:#73857c!important}.admin-toolbar{background:#f6f9f7!important}.admin-content{background:#f6f9f7!important}
#panel-dashboard .kpi-grid{gap:12px!important}#panel-dashboard .kpi{border-radius:12px!important;border:1px solid #e0e9e4!important;box-shadow:0 5px 16px rgba(0,58,41,.04)!important}#panel-dashboard .dashboard-grid{gap:14px!important}#panel-dashboard .card{border-radius:12px!important;box-shadow:0 5px 16px rgba(0,58,41,.04)!important}#panel-dashboard .manage-grid{gap:10px!important}#panel-dashboard .manage-grid button{border-radius:11px!important;box-shadow:none!important}

@media(max-width:1050px){.v72-community-tools{grid-template-columns:1fr 1fr}.v72-community-tools .v72-ministry-card:last-child{grid-column:1/-1}}
@media(max-width:720px){.v72-community-tools{grid-template-columns:1fr}.v72-community-tools .v72-ministry-card:last-child{grid-column:auto}.v72-ministry-card .v72-card-image{height:170px}.v72-ministry-card h2{font-size:24px}}
