/* 176: страницы /programs — как статьи /guide (стили из web/guide/*.html), без инлайна (CSP 173) */
article{max-width:980px}
article h1{font-size:28px;line-height:1.2}
article h3{font-size:16px;margin:22px 0 6px}
article li{margin:6px 0}
article table{margin:8px 0 14px;width:100%;border-collapse:collapse}
article th,article td{padding:6px 10px 6px 0;text-align:left;vertical-align:top;border-top:1px solid var(--line)}
article td{overflow-wrap:anywhere}
article td.nw{white-space:nowrap}
article form.row{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:end;margin:14px 0}
article form.row select{max-width:260px}
.cta-box{background:var(--card);border:1px solid var(--line);border-left:5px solid var(--cta);border-radius:8px;padding:14px 16px;margin:20px 0}
.cta-btn{display:inline-block;background:var(--cta);color:var(--cta-ink);font-weight:700;border-radius:6px;padding:8px 16px;text-decoration:none}
footer{max-width:980px;margin:0 auto;padding:16px;border-top:1px solid var(--line);font-size:13px;color:var(--mute)}
footer a{margin-right:14px}
@media (max-width:600px){
table.stack,table.stack tbody,table.stack tr,table.stack td{display:block;width:100%}
table.stack thead{display:none}
table.stack tr{border-top:1px solid var(--line);padding:8px 0}
table.stack td{border:0;padding:2px 0}
table.stack td::before{content:attr(data-label) ": ";color:var(--mute);font-size:12px}
article form.row select{max-width:100%}
}

/* 198: в фильтре летней страницы 49 направлений — список не шире экрана (flex-элемент по умолчанию не ужимается) */
article form.row label{min-width:0;max-width:100%}
article form.row select{width:100%;max-width:100%}
