/* Webepker – Grant notices, public content only. */
.grant-notices-page{padding-block:2rem 4rem;color:#202832}
.grant-breadcrumb{font-size:.9rem;color:#657180;margin-bottom:1.5rem}
.grant-breadcrumb a{color:#235c97}
.grant-breadcrumb span{margin-inline:.4rem}
.grant-notices-header{background:#fff;border:1px solid #e3e8ee;border-radius:19px;padding:clamp(1.3rem,3vw,2.3rem);margin-bottom:1.3rem}
.grant-eyebrow{text-transform:uppercase;letter-spacing:.09em;color:#bc6500;font-weight:750;font-size:.77rem;margin:0 0 .5rem}
.grant-notices-header h1{margin:0 0 .75rem;font-size:clamp(1.75rem,3vw,2.5rem)}
.grant-notices-header p{margin:0;max-width:70ch;line-height:1.65;color:#596575}
.grant-brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1.5rem 0 2rem}
.grant-brand-item{padding:1.25rem;background:#fff;border:1px solid #e1e5eb;border-radius:16px;display:flex;flex-direction:column;gap:.85rem;align-items:flex-start}
.grant-brand-item img{display:block;width:100%;height:auto;object-fit:contain;max-height:245px;object-position:left center}
.grant-brand-placeholder{min-height:110px;width:100%;display:flex;flex-direction:column;justify-content:center;gap:.4rem;padding:1.2rem;border:1px dashed #d4dbe5;border-radius:12px;background:#f7f8fb}
.grant-brand-placeholder strong{font-size:1.5rem;color:#284c79}.grant-brand-placeholder span{color:#6b7687;font-size:.88rem}
.grant-brand-item a{font-size:.86rem;color:#235b91;text-decoration:underline}
.grant-notices-list{display:grid;gap:1.2rem}
.grant-notice{background:#fff;border:1px solid #e3e8ee;border-radius:16px;padding:clamp(1.25rem,2.5vw,2rem);box-shadow:0 5px 20px rgba(38,54,72,.04)}
.grant-notice-top{display:flex;flex-wrap:wrap;gap:.55rem 1.1rem;align-items:center;margin-bottom:1rem}
.grant-notice-program{font-weight:700;font-size:.77rem;color:#a45b00;background:#fff4e5;border-radius:99px;padding:.3rem .65rem}
.grant-notice-code{color:#6b7787;font-size:.85rem;overflow-wrap:anywhere}
.grant-notice h2{font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.28;margin:0 0 1.15rem}
.grant-notice-data{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.8rem 1.1rem;margin:0 0 1.3rem}
.grant-notice-data>div{border-left:3px solid #e7edf3;padding-left:.7rem}
.grant-notice-data dt{font-size:.74rem;color:#6c7683;margin-bottom:.15rem}
.grant-notice-data dd{font-size:.93rem;font-weight:600;margin:0;overflow-wrap:anywhere}
.grant-notice-description{border-top:1px solid #e9edf2;padding-top:1rem;max-width:90ch}
.grant-notice-description h3{font-size:1.04rem;margin:0 0 .65rem}
.grant-notice-description p{line-height:1.65;margin:.6rem 0;color:#3f4b5a}
@media(max-width:640px){.grant-notices-page{padding-block:1.25rem 2.5rem}.grant-notice{padding:1.2rem}}

/* Eredeti 232x160 Széchenyi 2020 infóblokk: nincs felnagyítás vagy torzítás. */
.grant-brand-item img[src$="infoblokk_Szechenyi_2020_erfa.png"]{display:block;width:232px;max-width:100%;height:auto;object-fit:contain}
.grant-notice-description h3{font-size:1.04rem;margin:1.1rem 0 .65rem}
.grant-notice-description ul{margin:.5rem 0 1rem 1.1rem;padding:0}
.grant-notice-description li{margin:.45rem 0;line-height:1.65}


/* 52 - Palyazati felsorolas: bal oldali tartalomjegyzek, jobb oldali eredeti kozlesek. */
.grant-notices-columns{
    display:grid;
    grid-template-columns:minmax(245px,280px) minmax(0,1fr);
    align-items:start;
    gap:clamp(1rem,2.3vw,1.65rem);
}
.grant-notices-columns > *{min-width:0}
.grant-toc{
    position:sticky;
    top:1.25rem;
    border:1px solid #dae2ec;
    border-radius:16px;
    background:#fff;
    box-shadow:0 5px 20px rgba(38,54,72,.04);
}
.grant-toc-details > summary{
    cursor:pointer;
    padding:1rem 1.15rem;
    color:#1c3f6e;
    font-size:1.07rem;
    font-weight:750;
    border-bottom:1px solid transparent;
}
.grant-toc-details[open] > summary{border-bottom-color:#e7edf4}
.grant-toc-count{
    display:inline-block;
    padding:.06rem .52rem;
    border-radius:999px;
    background:#eff4fb;
    color:#1d4976;
    font-size:.81rem;
    vertical-align:middle;
    margin-left:.35rem;
}
.grant-toc-details nav{
    max-height:calc(100vh - 9rem);
    overflow-y:auto;
    overscroll-behavior:contain;
}
.grant-toc-list{list-style:none;margin:0;padding:.4rem .45rem .65rem}
.grant-toc-list li+li{border-top:1px solid #f0f2f5}
.grant-toc-list a{
    display:flex;
    gap:.7rem;
    align-items:baseline;
    padding:.72rem .55rem;
    border-radius:8px;
    color:#205282;
    font-size:.88rem;
    line-height:1.42;
    text-decoration:none;
    overflow-wrap:anywhere;
}
.grant-toc-number{color:#586e88;flex:0 0 1.55rem;font-size:.78rem;font-weight:700}
.grant-toc-title{min-width:0}
.grant-toc-list a:hover{background:#ecf3fc;color:#173f6e;text-decoration:underline}
.grant-toc-list a:focus-visible,
.grant-toc-details > summary:focus-visible{outline:3px solid #ea7900;outline-offset:2px}
.grant-notices-list > .grant-notice{scroll-margin-top:7.5rem}
.grant-notices-list > .grant-notice:target{
    border-color:#2e65a3;
    box-shadow:0 0 0 2px rgba(46,101,163,.16);
}
@media(max-width:900px){
    .grant-notices-columns{grid-template-columns:minmax(0,1fr)}
    .grant-toc{position:static}
    .grant-toc-details nav{max-height:19rem}
    .grant-notices-list > .grant-notice{scroll-margin-top:5.5rem}
}
