body{background:#f0f5fa}
.main{
    display:flex;
    gap:30px;
    align-items:flex-start;
    padding:30px 0;
}

.content{
    width:72%;
    background:#fff;
    padding:20px;
}

.sidebar{
    width:320px;
}

.widget{
    background:#fff;
    padding:25px;
    margin-bottom:25px;
    border:1px solid #e5e5e5;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.widget h3{
    position:relative;
    font-size:24px;
    color:#1f3558;
    margin-bottom:20px;
    padding-bottom:10px;
}

.widget h3:after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;
    width:60px;
    height:3px;
    background:#0d6efd;
}

.post-title{
    font-size:42px;
    line-height:1.3;
    margin-bottom:15px;
    color:#1f3558;
}

.meta{
    color:#777;
    font-size:14px;
    margin-bottom:20px;
}

.article{
    font-size:17px;
    line-height:2;
    text-align:justify;
}

.article img{
    width:100%;
    margin:20px 0;
}

.ad-banner{
    margin:15px 0;
}

.ad-banner img{
    width:100%;
}

.related{
    margin-top:30px;
    background:#fff;
    padding:20px;
}

.related-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
.search-box{
    display:flex;
    gap:8px;
}

.search-box input{
    flex:1;
    height:42px;
    padding:0 12px;
    border:1px solid #ddd;
    outline:none;
    border-radius:4px;
}

.search-box input:focus{
    border-color:#0d6efd;
}

.search-box button{
    border:none;
    background:#0d6efd;
    color:#fff;
    padding:0 18px;
    border-radius:4px;
    cursor:pointer;
    font-weight:600;
}

.search-box button:hover{
    background:#0b5ed7;
}
.widget ul{
    list-style:none;
    margin:0;
    padding:0;
}

.widget ul li{
    border-bottom:1px solid #eee;
    padding:12px 0;
}

.widget ul li:last-child{
    border-bottom:none;
}

.widget ul li a{
    color:#333;
    font-size:15px;
    line-height:1.6;
    transition:.3s;
}

.widget ul li a:hover{
    color:#0d6efd;
    padding-left:5px;
}