html{scroll-behavior:smooth;}
html{
    scroll-behavior:smooth;
}
.anchor-section{
    scroll-margin-top:140px;
}
.dropdown-menu-cms{
    max-height:420px;
    overflow-y:auto;
}
.cms-card{
    background:#fff;
    border-radius:18px;
    box-shadow:0 0 45px rgba(0,0,0,.08);
    overflow:hidden;
    transition:.3s ease;
}
.cms-card:hover{
    transform:translateY(-4px);
}
.cms-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(240,171,0,.12);
    color:var(--bs-primary);
    font-size:1.35rem;
}
.cms-gallery-item img{
    aspect-ratio:1 / 1;
    object-fit:cover;
}
.cms-rich-text h3{
    margin-top:0;
    margin-bottom:12px;
}
.cms-rich-text p:last-child{
    margin-bottom:0;
}
.governance-card h4{
    min-height:56px;
}
.bank-box{
    background:#fff;
    border-radius:16px;
    padding:22px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.bank-details dt{
    font-weight:700;
}
.bank-details dd{
    margin-bottom:.45rem;
}
.donate-card{
    background:#fff;
    border-radius:22px;
    box-shadow:0 14px 40px rgba(15,23,42,.12);
    padding:22px;
}
.donate-card-header{
    display:flex;
    align-items:center;
    gap:12px;
    border-bottom:1px solid #eef2f7;
    padding-bottom:16px;
    margin-bottom:18px;
}
.donate-back{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f8fafc;
    color:#1e293b;
    text-decoration:none;
}
.donate-card-title{
    font-weight:700;
}
.topbar-logo{
    max-height:54px;
    width:auto;
}
.topbar-title{
    font-size:2rem;
}
@media (max-width: 991.98px){
    .topbar-title{
        font-size:1.6rem;
    }
}



.cms-readmore-content{
    overflow:hidden;
    transition:max-height .3s ease;
}
.cms-readmore-content.is-collapsed{
    max-height: var(--collapsed-height, 280px);
    position: relative;
}
.cms-readmore-content.is-collapsed::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:80px;
    background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
    pointer-events:none;
}
.cms-image-placeholder{
    min-height:220px;
    background:linear-gradient(135deg, #f6f8fb, #eef3f8);
    border:1px dashed rgba(0,0,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    color:#7b8794;
    text-align:center;
    padding:20px;
}
.cms-image-placeholder i{
    font-size:2rem;
}
.cms-gallery-item{
    position:relative;
    overflow:hidden;
}
.cms-gallery-item img{
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease;
}
.cms-gallery-item:hover img{
    transform:scale(1.04);
}
.cms-gallery-caption{
    position:absolute;
    left:0; right:0; bottom:0;
    padding:12px 14px;
    color:#fff;
    font-weight:600;
    background:linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
}
.address-panel-card .cms-icon{
    width:42px;
    height:42px;
    flex: 0 0 42px;
}
.cms-map-placeholder{
    min-height:340px;
    border:1px dashed rgba(0,0,0,.12);
    background:#f8fafc;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    border-radius:1rem;
    text-align:center;
    padding:24px;
}
.governance-card{
    transition: transform .25s ease, box-shadow .25s ease;
}
.governance-card:hover{
    transform:translateY(-4px);
}
.anchor-section{
    scroll-margin-top: 120px;
}
.cms-card-person .p-4{
    text-align:center;
}
.dropdown-menu-cms{
    max-height:420px;
    overflow-y:auto;
}

.navbar .navbar-nav{
    align-items:center;
    gap:.2rem;
}
.navbar .nav-link{
    white-space:nowrap;
}
.dropdown-menu-cms{
    min-width:280px;
    max-width:380px;
    max-height:420px;
    overflow-y:auto;
    padding:.5rem 0;
    border:0;
    box-shadow:0 18px 45px rgba(15,23,42,.12);
}
.dropdown-menu-cms-wide{
    min-width:340px;
    max-width:520px;
}
.dropdown-menu-cms .dropdown-item{
    white-space:normal;
    line-height:1.4;
    padding:.65rem 1rem;
}
.dropdown-menu-cms .dropdown-header{
    font-size:.78rem;
    letter-spacing:.02em;
    text-transform:uppercase;
    color:#64748b;
}
.cms-governance-person .cms-image-placeholder,
.cms-governance-person img{
    border-radius:1rem 1rem 0 0 !important;
}
.cms-governance-person img{
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
}
.cms-governance-photo-wrap .cms-image-placeholder{
    min-height:230px;
}
.cms-governance-empty{
    border:1px dashed rgba(15,23,42,.16);
    background:#f8fafc;
    border-radius:16px;
    padding:20px;
}
.cms-governance-empty-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.55rem .85rem;
    border-radius:999px;
    background:rgba(13,110,253,.1);
    color:#0d6efd;
    font-weight:600;
}
@media (max-width: 1199.98px){
    .navbar .nav-link{
        white-space:normal;
    }
}
.cms-governance-quick-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:1rem;
}
.cms-governance-quick-card{
    display:block;
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
    padding:1.25rem;
    transition:transform .25s ease, box-shadow .25s ease;
}
.cms-governance-quick-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 40px rgba(15,23,42,.12);
}
.cms-governance-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.35rem;
    padding:.45rem .8rem;
    border-radius:999px;
    background:rgba(13,110,253,.1);
    color:#0d6efd;
    font-weight:600;
    font-size:.88rem;
}
.cms-governance-category{
    overflow:visible;
}
.cms-governance-category-header{
    padding:2rem;
}
.cms-governance-category-body{
    padding:2rem;
}
.cms-governance-category-media img,
.cms-governance-category-media .cms-image-placeholder{
    width:100%;
    border-radius:1.25rem !important;
}
.cms-governance-category-media img{
    aspect-ratio:4 / 5;
    object-fit:cover;
}
.cms-governance-category-media .cms-image-placeholder{
    min-height:280px;
}
.cms-governance-people-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:1.5rem;
}
.cms-governance-person-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}
.cms-governance-person-avatar{
    width:180px;
    height:180px;
    border-radius:50%;
    overflow:hidden;
    border:4px solid #e2e8f0;
    background:#fff;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}
.cms-governance-person-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50% !important;
}
.cms-governance-person-avatar .cms-image-placeholder{
    min-height:100%;
    height:100%;
    border-radius:50% !important;
}
.cms-governance-person-box{
    width:100%;
    margin-top:12px;
    border:2px solid rgba(15,23,42,.55);
    background:#fff;
    padding:14px 12px;
    min-height:120px;
    box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.cms-governance-person-name{
    font-weight:700;
    font-size:1rem;
    line-height:1.35;
}
.cms-governance-person-role{
    margin-top:.35rem;
    font-weight:600;
    color:#111827;
    line-height:1.4;
}
.cms-governance-person-bio .cms-readmore-content.is-collapsed::after{
    height:48px;
}
@media (max-width: 767.98px){
    .cms-governance-category-header,
    .cms-governance-category-body{
        padding:1.25rem;
    }
    .cms-governance-person-avatar{
        width:150px;
        height:150px;
    }
}
