.presidents-heading { z-index:1; }



/* Successive Presidents */
.presidents-page{
    position:relative;
    padding:70px 0 90px;
    background:linear-gradient(145deg,#f6f6fb,#fff 48%,#f3f2fa);
    overflow:hidden;
}
.presidents-page::before{
    content:"";
    position:absolute;
    top:-180px;
    right:-180px;
    width:430px;
    height:430px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(98,102,234,.13),transparent 70%);
    pointer-events:none;
}
.presidents-page::after{
    content:"";
    position:absolute;
    bottom:-230px;
    left:-230px;
    width:500px;
    height:500px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(238,118,71,.08),transparent 70%);
    pointer-events:none;
}
.presidents-list{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
    max-width:1180px;
    margin:0 auto;
}
.president-card{
    position:relative;
    display:grid;
    grid-template-columns:52px 150px minmax(0,1fr);
    align-items:center;
    gap:24px;
    min-width:0;
    padding:24px 28px 24px 18px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
    box-shadow:0 12px 32px rgba(33,34,84,.07);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.president-card:hover{
    border-color:rgba(98,102,234,.3);
    transform:translateY(-3px);
    box-shadow:0 18px 42px rgba(33,34,84,.13);
}
.president-card::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:4px;
    border-radius:15px 0 0 15px;
    background:var(--rose);
}
.president-card:nth-child(4n+2)::before{
    background:var(--coral);
}
.president-card:nth-child(4n+3)::before{
    background:var(--orchid);
}
.president-card:nth-child(4n+4)::before{
    background:var(--emerald);
}
.president-number{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border:1px solid rgba(98,102,234,.18);
    border-radius:50%;
    background:rgba(98,102,234,.08);
    color:var(--rose);
    font-size:13px;
    font-weight:800;
    letter-spacing:.04em;
}
.president-card:nth-child(4n+2) .president-number{
    border-color:rgba(238,118,71,.2);
    background:rgba(238,118,71,.09);
    color:#c9572b;
}
.president-card:nth-child(4n+3) .president-number{
    border-color:rgba(144,82,168,.2);
    background:rgba(144,82,168,.09);
    color:var(--orchid);
}
.president-card:nth-child(4n+4) .president-number{
    border-color:rgba(24,32,118,.18);
    background:rgba(24,32,118,.08);
    color:var(--emerald);
}
.president-photo{
    width:128px;
    height:128px;
    overflow:hidden;
    border:1px solid #d7b875;
    border-radius:50%;
    background:var(--wash);
    box-shadow:0 0 0 3px rgba(98,102,234,.13),0 10px 24px rgba(33,34,84,.16);
}
.president-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
}
.president-photo-placeholder{
    display:grid;
    width:100%;
    height:100%;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(135deg,var(--plum),var(--rose));
    color:#fff;
    font-size:34px;
    font-weight:800;
}
.president-content{
    min-width:0;
}
.president-title-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:28px;
    padding-bottom:14px;
    margin-bottom:14px;
    border-bottom:1px solid #ececf3;
}
.president-name-block{
    min-width:0;
}
.president-label{
    display:inline-block;
    margin-bottom:5px;
    color:var(--rose);
    font-size:10px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.president-name-block h2{
    margin:0 0 5px;
    color:var(--plum);
    font-size:21px;
    font-weight:800;
    line-height:1.3;
    overflow-wrap:anywhere;
}
.president-qualification{
    margin:0;
    color:var(--coral);
    font-size:13px;
    font-weight:700;
    line-height:1.55;
}
.president-tenure{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    gap:10px;
    max-width:270px;
    padding:9px 13px;
    border:1px solid #dcdcf0;
    border-radius:9px;
    background:#f5f5fb;
}
.president-tenure>i{
    color:var(--rose);
    font-size:16px;
}
.president-tenure div{
    min-width:0;
}
.president-tenure span{
    display:block;
    margin-bottom:2px;
    color:#7b7c93;
    font-size:9px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.president-tenure strong{
    display:block;
    color:var(--plum);
    font-size:12px;
    font-weight:800;
    line-height:1.45;
    white-space:nowrap;
}
.president-section{
    margin-top:8px;
}
.president-section:first-of-type{
    margin-top:0;
}
.president-profile{
    margin:0;
    color:var(--ink);
    font-size:14px;
    line-height:1.75;
}
.president-additional{
    margin-top:8px;
}
.president-additional .president-profile{
    color:var(--muted);
    font-size:13px;
}
.president-profile-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px 22px;
    margin:0;
    padding:0;
    list-style:none;
}
.president-profile-list li{
    display:grid;
    grid-template-columns:17px minmax(0,1fr);
    gap:7px;
    color:var(--ink);
    font-size:13px;
    line-height:1.6;
}
.president-profile-list i{
    margin-top:5px;
    color:var(--coral);
    font-size:9px;
}
.president-additional .president-profile-list li{
    color:var(--muted);
}
.presidents-loading{
    display:none;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:35px;
    color:var(--plum);
    font-size:14px;
    font-weight:750;
}
.presidents-status{
    position:relative;
    z-index:1;
    padding:40px 25px;
    border:1px dashed #cfcfdf;
    border-radius:14px;
    background:rgba(255,255,255,.85);
    text-align:center;
}
.presidents-status-icon{
    display:grid;
    width:54px;
    height:54px;
    margin:0 auto 14px;
    place-items:center;
    border-radius:50%;
    background:rgba(98,102,234,.1);
    color:var(--rose);
    font-size:21px;
}
.presidents-status h3{
    margin:0 0 6px;
    color:var(--plum);
    font-size:18px;
    font-weight:800;
}
.presidents-status p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}
@media(max-width:900px){
    .president-card{
        grid-template-columns:45px 120px minmax(0,1fr);
        gap:19px;
        padding:21px 22px 21px 16px;
    }
    .president-photo{
        width:108px;
        height:108px;
    }
    .president-title-row{
        flex-direction:column;
        gap:10px;
    }
    .president-tenure{
        max-width:none;
    }
    .president-profile-list{
        grid-template-columns:1fr;
    }
}
@media(max-width:650px){
    .presidents-page{
        padding:42px 0 60px;
    }
    .president-card{
        grid-template-columns:82px minmax(0,1fr);
        align-items:start;
        gap:16px;
        padding:18px;
    }
    .president-number{
        position:absolute;
        top:13px;
        right:13px;
        width:34px;
        height:34px;
        font-size:11px;
    }
    .president-photo{
        width:78px;
        height:78px;
    }
    .president-photo-placeholder{
        font-size:24px;
    }
    .president-name-block{
        padding-right:35px;
    }
    .president-name-block h2{
        font-size:17px;
    }
    .president-title-row{
        padding-bottom:11px;
        margin-bottom:11px;
    }
    .president-tenure{
        padding:8px 10px;
    }
    .president-tenure strong{
        white-space:normal;
    }
    .president-section,
    .president-additional{
        grid-column:1/-1;
    }
    .president-profile,
    .president-profile-list li,
    .president-additional .president-profile{
        font-size:13px;
    }
}
@media(max-width:430px){
    .president-card{
        grid-template-columns:72px minmax(0,1fr);
        gap:13px;
        padding:16px;
    }
    .president-photo{
        width:68px;
        height:68px;
    }
    .president-name-block h2{
        font-size:16px;
    }
    .president-qualification{
        font-size:12px;
    }
}
@media(prefers-reduced-motion:reduce){
    .president-card{
        transition:none;
    }
    .president-card:hover{
        transform:none;
    }
}
