.kw-sidebar-section > ol, ul {
  margin: 0 0 1.5em 1em;
}
main.kw-post-content {
    order: 1;
}
aside.kw-sidebar {
    order: 2;
}
aside.kw-sidebar {
    border-left: 1px solid #00000042;
	border-right: 0px !important;
    padding-left: 10px;
}
.kw-sidebar{
    padding-right:10px;
}
.kw-blog-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
#kw-blog-search {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}
.kw-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.kw-blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 15px;
    transition: all 0.3s ease;
}
.kw-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.kw-blog-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.kw-blog-card h3 {
    margin-top: 15px;
    font-size: 18px;
}
.kw-blog-card p {
    font-size: 14px;
    color: #555;
}

/* Detail Layout */
.kw-blog-detail-wrapper {
    display: grid;
    gap:2%;
    grid-template-columns: 73% 25%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.kw-sidebar {
    width: 100%;
}
.kw-sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.kw-sidebar ul {
    list-style: none;
    padding: 0;
}
.kw-sidebar li {
    margin-bottom: 10px;
    align-items:baseline !important;
}
.kw-sidebar a {
    text-decoration: none;
    color: black;
}
.kw-post-content {
    width: 75%;
}
.kw-post-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
.kw-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}
.kw-featured-img img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.kw-content {
    font-size: 16px;
    line-height: 1.7;
}
.kw-cat-badge {
    display: inline-block;
    background-color: #035C3C;
    color: white;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 10px;
    margin: 4px 4px 8px 0;
}
.kw-blog-meta {
    margin-bottom: 10px;
}


@media screen and (max-width: 768px) {
    .kw-blog-detail-wrapper {
        flex-direction: column;
    }
    .kw-sidebar,
    .kw-post-content {
        width: 100%;
    }
    .kw-sidebar{
    padding-right:0px !important;
}
.kw-blog-detail-wrapper{
    display: flex !important;
    flex-direction: column !important;
}
}