.knowledge-library{
padding:60px 0;
background:#f5f7fb;
min-height:100vh;
}

.knowledge-hero{
text-align:center;
margin-bottom:50px;
}

.knowledge-hero h1{
font-size:42px;
font-weight:700;
color:#0f2d5c;
margin-bottom:10px;
}

.knowledge-hero p{
font-size:18px;
color:#666;
}

.knowledge-foundation{
margin-bottom:50px;
}

.knowledge-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

.knowledge-card{
background:#fff;
border-radius:20px;
padding:40px 25px;
cursor:pointer;
transition:.35s;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
border:1px solid #eee;
}

.knowledge-card:hover{
transform:translateY(-10px);
background:#0f2d5c;
color:#fff;
}

.knowledge-card h3{
margin:0;
font-size:22px;
font-weight:700;
}

#knowledge-posts{
margin-top:50px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
gap:30px;
}

.knowledge-post{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 12px 30px rgba(0,0,0,.08);
transition:.3s;
}

.knowledge-post:hover{
transform:translateY(-8px);
}

.knowledge-post img{
width:100%;
height:220px;
object-fit:cover;
}

.knowledge-post-content{
padding:25px;
}

.knowledge-post-content h3{
margin-bottom:10px;
font-size:22px;
color:#0f2d5c;
}

.knowledge-post-content p{
color:#666;
line-height:1.7;
}

.knowledge-post-content a{
display:inline-block;
margin-top:15px;
padding:10px 22px;
background:#f7941d;
color:#fff;
border-radius:8px;
text-decoration:none;
font-weight:600;
}

.loading{
text-align:center;
font-size:20px;
padding:50px;
}

@media(max-width:768px){

.knowledge-hero h1{
font-size:32px;
}

.knowledge-grid{
grid-template-columns:1fr;
}

#knowledge-posts{
grid-template-columns:1fr;
}

}

/*=========================
CATEGORY PAGE
=========================*/

.knowledge-category-page{
    padding:70px 0;
    background:#f5f7fb;
    min-height:100vh;
}

.knowledge-category-page h1{
    font-size:46px;
    text-align:center;
    color:#0F2D5C;
    margin-bottom:50px;
    font-weight:700;
}

.knowledge-posts-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:35px;
}

.knowledge-post-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
}

.knowledge-post-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.knowledge-post-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
}

.knowledge-post-content{
    padding:28px;
}

.knowledge-post-content h3{
    margin:0 0 15px;
    font-size:28px;
    line-height:1.4;
}

.knowledge-post-content h3 a{
    color:#0F2D5C;
    text-decoration:none;
}

.knowledge-post-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:20px;
}

.read-more{
    display:inline-block;
    padding:12px 26px;
    background:#F7941D;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.read-more:hover{
    background:#0F2D5C;
    color:#fff;
}

@media(max-width:768px){

.knowledge-category-page{
padding:40px 0;
}

.knowledge-category-page h1{
font-size:34px;
margin-bottom:30px;
}

.knowledge-posts-grid{
grid-template-columns:1fr;
gap:25px;
}

.knowledge-post-card img{
height:190px;
}

.knowledge-post-content{
padding:20px;
}

.knowledge-post-content h3{
font-size:22px;
}

}