/* NeuroKözpont Tudástár – kompakt, olvasásközpontú megjelenés */
.kb-hero{
    padding:4.25rem 0 2.75rem;
    background:
        radial-gradient(circle at 15% 20%,rgba(80,180,255,.16),transparent 34%),
        #061734;
    color:#fff;
}

.kb-hero .container{max-width:1120px}

.kb-hero h1{
    max-width:720px;
    margin:.45rem 0 .85rem;
    font-size:clamp(2rem,4vw,3.35rem);
    line-height:1.08;
    letter-spacing:-.035em;
}

.kb-hero p:not(.kb-kicker){
    max-width:720px;
    margin:0;
    font-size:clamp(1rem,1.6vw,1.12rem);
    line-height:1.7;
    color:rgba(255,255,255,.78);
}

.kb-kicker{
    margin:0;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.78rem;
    font-weight:800;
    color:#5fd6d0;
}

.kb-content{padding:2.75rem 0 5rem}

.kb-filters{
    display:flex;
    gap:.6rem;
    flex-wrap:wrap;
    margin:0 0 1.75rem;
}

.kb-filters a{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    padding:.55rem .9rem;
    border:1px solid rgba(6,23,52,.14);
    border-radius:999px;
    background:#fff;
    color:#17314f;
    font-size:.9rem;
    font-weight:650;
    text-decoration:none;
    transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}

.kb-filters a:hover{
    border-color:rgba(36,123,120,.55);
    transform:translateY(-1px);
}

.kb-filters a.active{
    border-color:#061734;
    background:#061734;
    color:#fff;
}

.kb-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1.15rem;
}

.kb-card{
    min-width:0;
    padding:1.35rem;
    border:1px solid rgba(6,23,52,.08);
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 32px rgba(6,23,52,.075);
    display:flex;
    flex-direction:column;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.kb-card:hover{
    transform:translateY(-3px);
    border-color:rgba(36,123,120,.18);
    box-shadow:0 18px 42px rgba(6,23,52,.11);
}

.kb-card>span{
    font-size:.72rem;
    line-height:1.4;
    text-transform:uppercase;
    letter-spacing:.1em;
    font-weight:750;
    color:#247b78;
}

.kb-card h2{
    margin:.55rem 0 .65rem;
    font-size:1.2rem;
    line-height:1.28;
    letter-spacing:-.018em;
}

.kb-card h2 a{color:#102f46;text-decoration:none}
.kb-card h2 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

.kb-card p{
    flex:1;
    margin:0;
    font-size:.96rem;
    line-height:1.65;
    color:#607586;
}

.kb-card footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    margin-top:1rem;
    padding-top:.9rem;
    border-top:1px solid rgba(6,23,52,.08);
    font-size:.86rem;
}

.kb-card footer time{color:#718392}
.kb-card footer a{font-weight:700;text-decoration:none}

.kb-empty{
    text-align:center;
    padding:3rem 1rem;
    border:1px dashed rgba(6,23,52,.16);
    border-radius:20px;
    background:rgba(242,248,250,.65);
}

.kb-empty h2{margin-top:0;font-size:1.45rem}
.kb-empty p{margin-bottom:0}

.kb-article{padding:3.25rem 0 5rem}
.kb-article-container{max-width:800px}

.kb-breadcrumb{
    display:flex;
    gap:.45rem;
    flex-wrap:wrap;
    margin-bottom:1.5rem;
    font-size:.86rem;
    color:#718392;
}

.kb-breadcrumb a{text-decoration:none}

.kb-article header{margin-bottom:0}

.kb-article h1{
    max-width:780px;
    margin:.45rem 0 .8rem;
    font-size:clamp(2rem,4.5vw,3.35rem);
    line-height:1.1;
    letter-spacing:-.035em;
}

.kb-lead{
    max-width:750px;
    margin:0;
    font-size:clamp(1.08rem,2vw,1.2rem);
    line-height:1.7;
    color:#526b7d;
}

.kb-meta{
    display:flex;
    gap:1.25rem;
    flex-wrap:wrap;
    padding:1rem 0 1.5rem;
    border-bottom:1px solid rgba(6,23,52,.12);
    font-size:.9rem;
    color:#718392;
}

.kb-article-body{
    padding:1.75rem 0 2.25rem;
    font-size:1.04rem;
    line-height:1.82;
    color:#263f52;
    overflow-wrap:anywhere;
}

.kb-article-body>*:first-child{margin-top:0}
.kb-article-body>*:last-child{margin-bottom:0}
.kb-article-body p{margin:0 0 1.2em}
.kb-article-body h2{margin:2.1rem 0 .75rem;font-size:1.65rem;line-height:1.25}
.kb-article-body h3{margin:1.7rem 0 .65rem;font-size:1.3rem;line-height:1.3}
.kb-article-body ul,.kb-article-body ol{margin:0 0 1.25rem;padding-left:1.35rem}
.kb-article-body li+li{margin-top:.35rem}
.kb-article-body blockquote{margin:1.5rem 0;padding:.9rem 1.1rem;border-left:4px solid #5fd6d0;background:#f2f8fa;border-radius:0 12px 12px 0}
.kb-article-body img{display:block;max-width:100%;height:auto;margin:1.5rem auto;border-radius:16px}
.kb-article-body a{text-decoration-thickness:1px;text-underline-offset:3px}

.kb-article-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding-top:1.5rem;
    border-top:1px solid rgba(6,23,52,.12);
}

@media(max-width:1050px){
    .kb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
    .kb-hero{padding:3.25rem 0 2.2rem}
    .kb-content{padding:2rem 0 4rem}
    .kb-grid{grid-template-columns:1fr}
    .kb-card{padding:1.2rem}
    .kb-article{padding:2.25rem 0 4rem}
    .kb-article-footer{align-items:flex-start;flex-direction:column}
    .kb-article-footer .button{width:100%;justify-content:center}
}

@media(max-width:420px){
    .kb-filters{gap:.45rem}
    .kb-filters a{min-height:38px;padding:.5rem .75rem;font-size:.84rem}
    .kb-card footer{align-items:flex-start;flex-direction:column;gap:.45rem}
}

@media(prefers-reduced-motion:reduce){
    .kb-card,.kb-filters a{transition:none}
    .kb-card:hover,.kb-filters a:hover{transform:none}
}
