/* ===================================================
   АККРЕДИТАЦИЯ
=================================================== */

.accreditation-section{
    padding:60px 0;
    background:#f5f7fb;
}

.acc-title{
    font-size:34px;
    font-weight:700;
    color:#222;
    margin-bottom:40px;
    text-align:center;
}

.acc-item{
    background:#fff;
    border-radius:14px;
    margin-bottom:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-top:4px solid #af0000;
    transition:.3s;
}

.acc-item:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

/* Заголовок */

.acc-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    padding:22px 28px;
    font-size:20px;
    font-weight:700;
    color:#222;
    transition:.3s;
    user-select:none;
}

.acc-header:hover{
    background:#fafafa;
}

.acc-header i{
    color:#af0000;
    font-size:18px;
    transition:.35s;
}

.acc-item.active .acc-header i{
    transform:rotate(180deg);
}

/* Содержимое */

.acc-content{
    display:none;
    padding:30px;
    border-top:1px solid #eee;
}

.acc-item.active .acc-content{
    display:block;
}

/* ===================================================
   Заголовки программ
=================================================== */

.acc-content h3{
    font-size:24px;
    color:#af0000;
    margin:35px 0 20px;
    padding-left:15px;
    border-left:5px solid #af0000;
    font-weight:700;
}

.acc-content h3:first-child{
    margin-top:0;
}

/* ===================================================
   Таблица
=================================================== */

.acc-table{
    width:100%;
    border-collapse:collapse;
    margin-bottom:35px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.acc-table thead{
    background:#af0000;
}

.acc-table thead th{
    color:#fff;
    padding:16px;
    font-size:15px;
    font-weight:600;
    text-align:left;
}

.acc-table tbody td{
    padding:15px;
    border-bottom:1px solid #ececec;
    vertical-align:middle;
}

.acc-table tbody tr{
    transition:0.3s;
}

.acc-table tbody tr:hover{
    background:#f7f7f7;
}

.acc-table tbody tr:last-child td{
    border-bottom:none;
}

/* ===================================================
   PDF кнопка
=================================================== */

.pdf-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:8px;
    background:#af0000;
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.pdf-btn:hover{
    background:#d10000;
    color:#fff;
    transform:scale(1.08);
}

/* ===================================================
   Адаптация
=================================================== */

@media(max-width:768px){

    .acc-header{
        font-size:16px;
        padding:18px;
    }

    .acc-content{
        padding:15px;
    }

    .acc-table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

    .acc-content h3{
        font-size:20px;
    }

}