/*
=====================================================
Widget Featured v1.0
Tiquicia Noticias
=====================================================
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    background:transparent;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    padding:10px;
}

.tn-widget{
    width:100%;
}

.tn-card{

    width:100%;

    background:#ffffff;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #e6e6e6;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

    transition:.25s;
}

.tn-card:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 35px rgba(0,0,0,.15);

}

.tn-image{

    width:100%;

    display:block;

    aspect-ratio:16/9;

    object-fit:cover;

}

.tn-content{

    padding:20px;

}

.tn-date{

    display:flex;

    align-items:center;

    gap:8px;

    color:#777;

    font-size:14px;

    margin-bottom:12px;

}

.tn-date svg{

    color:#d40000;

}

.tn-title{

    font-size:28px;

    line-height:1.25;

    margin-bottom:15px;

    font-weight:700;

}

.tn-title a{

    color:#111;

    text-decoration:none;

}

.tn-title a:hover{

    color:#b80000;

}

.tn-summary{

    color:#444;

    font-size:16px;

    line-height:1.7;

    margin-bottom:25px;

}

.tn-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}

.tn-source{

    color:#777;

    font-size:14px;

}

.tn-button{

    display:inline-block;

    background:#d40000;

    color:#fff;

    text-decoration:none;

    padding:12px 22px;

    border-radius:8px;

    transition:.25s;

    font-weight:bold;

}

.tn-button:hover{

    background:#a60000;

}

.tn-widget-empty{

    background:#ffffff;

    border:1px solid #dddddd;

    border-radius:10px;

    padding:35px;

    text-align:center;

}

.tn-widget-empty h3{

    margin-bottom:12px;

    color:#222;

}

.tn-widget-empty p{

    color:#777;

}

@media(max-width:768px){

.tn-title{

    font-size:22px;

}

.tn-summary{

    font-size:15px;

}

.tn-footer{

    flex-direction:column;

    align-items:flex-start;

}

.tn-button{

    width:100%;

    text-align:center;

}

}

@media(max-width:480px){

body{

    padding:5px;

}

.tn-content{

    padding:15px;

}

.tn-title{

    font-size:20px;

}

}