/* =====================================================
   Kabyapot Infinity AI X
   Widgets CSS
===================================================== */

/* Widget Area */
.widget{
    background:#fff;
    margin-bottom:25px;
    padding:20px;
    border-radius:12px;
    border:1px solid #e8e8e8;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    transition:all .3s ease;
}

.widget:hover{
    box-shadow:0 8px 24px rgba(0,0,0,.12);
}

/* Widget Title */
.widget-title{
    position:relative;
    font-size:22px;
    font-weight:700;
    margin:0 0 18px;
    padding-bottom:10px;
    color:#111;
    border-bottom:2px solid #f2f2f2;
}

.widget-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:70px;
    height:3px;
    background:#d40000;
}

/* Lists */
.widget ul{
    margin:0;
    padding:0;
    list-style:none;
}

.widget ul li{
    padding:10px 0;
    border-bottom:1px solid #f2f2f2;
}

.widget ul li:last-child{
    border-bottom:none;
}

.widget ul li a{
    color:#222;
    text-decoration:none;
    transition:.3s;
}

.widget ul li a:hover{
    color:#d40000;
    padding-left:6px;
}

/* Search Widget */
.widget_search input[type="search"]{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

.widget_search input[type="submit"]{
    width:100%;
    margin-top:10px;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#d40000;
    color:#fff;
    cursor:pointer;
}

/* Calendar */
.widget_calendar table{
    width:100%;
    text-align:center;
}

.widget_calendar caption{
    font-weight:700;
    margin-bottom:10px;
}

/* Tag Cloud */
.tagcloud a{
    display:inline-block;
    padding:6px 12px;
    margin:4px;
    border-radius:20px;
    background:#f3f3f3;
    color:#333;
    text-decoration:none;
    transition:.3s;
}

.tagcloud a:hover{
    background:#d40000;
    color:#fff;
}

/* Recent Posts */
.widget_recent_entries li{
    display:flex;
    flex-direction:column;
}

/* Footer Widgets */
.kp-footer .widget{
    background:transparent;
    border:none;
    box-shadow:none;
    padding:0;
    color:#fff;
}

.kp-footer .widget-title{
    color:#fff;
    border-color:rgba(255,255,255,.2);
}

.kp-footer .widget ul li{
    border-color:rgba(255,255,255,.08);
}

.kp-footer .widget a{
    color:#ddd;
}

.kp-footer .widget a:hover{
    color:#fff;
}

/* Responsive */
@media(max-width:768px){

.widget{
    padding:15px;
}

.widget-title{
    font-size:20px;
}

}