/* ===========================
   TuDinerito Author Box v2.1
=========================== */

.td-author-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-top:4px solid #00b894;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    padding:30px;
    margin:50px 0;
    overflow:hidden;
}

.td-author-header{
    margin-bottom:20px;
}

.td-badge{
    display:inline-block;
    background:#e8f8f5;
    color:#00b894;
    font-size:13px;
    font-weight:700;
    padding:7px 14px;
    border-radius:30px;
}

.td-author-avatar{
    float:left;
    width:115px;
    height:115px;
    border-radius:50%;
    object-fit:cover;
    margin:0 25px 15px 0;
    border:4px solid #fff;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.td-author-body h3{
    margin:0 0 8px;
    font-size:32px;
    line-height:1.2;
    color:#1f2937;
}

.td-author-body h3 span{
    color:#00b894;
}

.td-author-role{
    margin:0 0 18px;
    font-size:17px;
    font-weight:700;
    color:#00b894;
}

.td-author-text{
    font-size:17px;
    line-height:1.8;
    color:#374151;
    margin:0;
}

.td-author-buttons{
    clear:both;
    display:grid;
    grid-template-columns:repeat(2,minmax(160px,1fr));
    gap:12px;
    margin-top:30px;
}

.td-btn{
    display:block;
    text-align:center;
    padding:13px 20px;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.td-btn:hover{
    transform:translateY(-2px);
    text-decoration:none;
}

.telegram{
    background:#229ED9;
    color:#fff !important;
}

.whatsapp{
    background:#25D366;
    color:#fff !important;
}

.about,
.contact{
    background:#eef2f7;
    color:#374151 !important;
}

.td-author-footer{
    margin-top:25px;
    padding-top:20px;
    border-top:1px solid #e5e7eb;
    color:#4b5563;
    font-size:15px;
    line-height:1.7;
}

@media (max-width:768px){

    .td-author-box{
        padding:22px;
    }

    .td-author-avatar{
        float:none;
        display:block;
        margin:0 auto 20px;
        width:110px;
        height:110px;
    }

    .td-author-body{
        text-align:center;
    }

    .td-author-buttons{
        grid-template-columns:1fr;
    }

    .td-author-body h3{
        font-size:28px;
    }

    .td-author-text{
        font-size:16px;
    }

}