﻿.about-hero p{
    max-width:760px;
    margin:10px auto 0;
    color:rgba(255,255,255,.9);
    font-size:17px;
}

.about-intro-section{
    background:#fff;
}

.about-intro-grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:48px;
    align-items:center;
}

.about-lead{
    margin:14px 0 0;
    color:#34475f;
    font-size:20px;
    line-height:2.1;
    font-weight:600;
}

.about-main-image{
    margin:0;
    min-height:360px;
    overflow:hidden;
    border-radius:30px;
    background:linear-gradient(135deg,#eaf4ff,#f8fbff);
    box-shadow:0 18px 45px rgba(13,52,105,.14);
}

.about-main-image img{
    display:block;
    width:100%;
    height:100%;
    min-height:360px;
    object-fit:cover;
}

.about-main-image--placeholder{
    background:
        linear-gradient(135deg,rgba(6,47,99,.78),rgba(10,87,183,.45)),
        url("../images/header-banner.png") center/cover no-repeat;
}

.about-details-section{
    background:#f6f9fd;
}

.about-details-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.about-card{
    position:relative;
    padding:30px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e1e8f1;
    border-radius:24px;
    box-shadow:0 12px 30px rgba(13,52,105,.08);
}

.about-card:after{
    content:"";
    position:absolute;
    left:-42px;
    bottom:-42px;
    width:120px;
    height:120px;
    border-radius:50%;
    background:rgba(201,154,66,.08);
}

.about-card__icon{
    display:block;
    width:46px;
    height:46px;
    margin-bottom:14px;
    border-radius:14px;
    background:#eef5fc center/25px no-repeat;
}

.about-card--identity .about-card__icon{
    background-image:url("../images/icon-admission.svg");
}

.about-card--education .about-card__icon{
    background-image:url("../images/icon-news.svg");
}

.about-card--calendar .about-card__icon{
    background-image:url("../images/icon-calendar.svg");
}

.about-card--admission .about-card__icon{
    background-image:url("../images/icon-achievement.svg");
}

.about-card--gallery .about-card__icon{
    background-image:url("../images/icon-gallery.svg");
}

.about-card--phone .about-card__icon{
    background-image:url("../images/icon-phone.svg");
}

.about-card--topic .about-card__icon{
    background-image:url("../images/icon-general-topic.svg");
}

.about-card--idea .about-card__icon{
    background-image:url("../images/icon-general-idea.svg");
}

.about-card h2{
    margin:0 0 12px;
    color:#062f63;
    font-size:24px;
}

.about-card__text p{
    margin:0;
    color:#53647b;
    font-size:15px;
    line-height:2;
}

.about-staff-section{
    position:relative;
    overflow:hidden;
    background:#fff;
}

.about-staff-section:before{
    content:"";
    position:absolute;
    top:-170px;
    right:-170px;
    width:390px;
    height:390px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(10,87,183,.1),rgba(10,87,183,0) 68%);
    pointer-events:none;
}

.about-staff-heading{
    position:relative;
    max-width:760px;
    margin:0 auto 34px;
    text-align:center;
}

.about-staff-heading h2{
    margin:8px 0 10px;
    color:#062f63;
    font-size:34px;
    line-height:1.45;
}

.about-staff-heading p{
    margin:0;
    color:#607086;
    font-size:16px;
    line-height:1.95;
}

.about-staff-grid{
    position:relative;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.about-staff-card{
    display:flex;
    min-width:0;
    overflow:hidden;
    flex-direction:column;
    border:1px solid #e0e8f1;
    border-radius:24px;
    background:#fff;
    box-shadow:0 14px 34px rgba(13,52,105,.09);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.about-staff-card:hover{
    transform:translateY(-4px);
    border-color:#cbdbea;
    box-shadow:0 20px 42px rgba(13,52,105,.14);
}

.about-staff-card__photo{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:1;
    overflow:hidden;
    margin:0;
    color:#fff;
    background:#eef2f6;
}

.about-staff-card__photo:not(.about-staff-card__photo--has-image){
    background:
        linear-gradient(145deg,rgba(6,47,99,.94),rgba(10,87,183,.72)),
        url("../images/header-banner.png") center/cover no-repeat;
}

.about-staff-card__photo:not(.about-staff-card__photo--has-image):after{
    content:"";
    position:absolute;
    inset:auto -42px -58px auto;
    width:150px;
    height:150px;
    border:24px solid rgba(255,255,255,.09);
    border-radius:50%;
}

.about-staff-card__photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#eef2f6;
}

.about-staff-card__initial{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:center;
    width:92px;
    height:92px;
    border:2px solid rgba(255,255,255,.32);
    border-radius:50%;
    background:rgba(255,255,255,.14);
    box-shadow:0 12px 28px rgba(0,0,0,.12);
    font-size:38px;
    font-weight:800;
}

.about-staff-card__content{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:25px 24px 27px;
}

.about-staff-card__name{
    margin:0;
    color:#062f63;
    font-size:23px;
    line-height:1.55;
}

.about-staff-card__position{
    margin:6px 0 0;
    color:#0a57b7;
    font-size:15px;
    font-weight:800;
    line-height:1.7;
}

.about-staff-card__education{
    margin:15px 0 0;
    padding-top:14px;
    border-top:1px solid #e7edf4;
    color:#53647b;
    font-size:14px;
    line-height:1.85;
}

.about-staff-card__education strong{
    color:#31445e;
}

.about-staff-card__bio{
    margin:13px 0 0;
    color:#64748b;
    font-size:14px;
    line-height:1.95;
}

.about-closing-section{
    background:#fff;
}

.about-closing-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:36px;
    padding:38px 42px;
    border-radius:28px;
    background:linear-gradient(135deg,#f2f8ff,#fff9e8);
    border:1px solid #e4eaf1;
}

.about-closing-card h2{
    margin:8px 0 10px;
    font-size:30px;
}

.about-closing-card p{
    max-width:780px;
    margin:0;
    color:#53647b;
}

.about-closing-card .btn{
    flex:0 0 auto;
}

@media(max-width:920px){
    .about-intro-grid,
    .about-details-grid{
        grid-template-columns:1fr;
    }

    .about-staff-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .about-intro-grid{
        gap:28px;
    }

    .about-lead{
        font-size:18px;
    }

    .about-closing-card{
        align-items:flex-start;
        flex-direction:column;
        padding:30px;
    }
}

@media(max-width:560px){
    .about-card{
        padding:24px 20px;
    }

    .about-main-image,
    .about-main-image img{
        min-height:240px;
    }

    .about-closing-card h2{
        font-size:25px;
    }

    .about-staff-heading{
        margin-bottom:26px;
        text-align:right;
    }

    .about-staff-heading h2{
        font-size:28px;
    }

    .about-staff-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .about-staff-card{
        border-radius:20px;
    }
}

