* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #f2f6fb 100%);
    color: #17212b;
}
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
}
.hero, .card {
    background: rgba(255,255,255,0.94);
    border: 1px solid #d9e4ef;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}
.hero {
    padding: 28px;
    margin-bottom: 20px;
}
.card {
    padding: 22px;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef5fc;
    border: 1px solid #d7e6f6;
    color: #0f4c81;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}
h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}
h2 {
    margin: 0 0 12px;
    font-size: 22px;
}
p {
    line-height: 1.6;
    color: #4d6277;
}
.lead {
    max-width: 900px;
    font-size: 17px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}
.grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.nav-card {
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.nav-card:hover {
    transform: translateY(-2px);
}
.card-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #0f4c81;
    font-size: 13px;
    font-weight: 700;
}
.button-like {
    display: inline-flex;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #0f4c81;
    color: #fff;
    font-weight: 700;
}
.clean-list {
    margin: 0;
    padding-left: 20px;
    color: #4d6277;
    line-height: 1.7;
}
.info-card {
    margin-top: 6px;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.back-link {
    color: #0f4c81;
    text-decoration: none;
    font-weight: 700;
}
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .wrap {
        padding: 14px;
    }
    .hero, .card {
        padding: 18px;
    }
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}


.site-footer{
margin-top:40px;
padding:20px;
border-top:1px solid #d8e3ef;
background:#f7fbff;
text-align:center;
font-size:12px;
color:#5a6b7c;
}
.footer-wrap{
max-width:1200px;
margin:auto;
display:grid;
gap:6px;
}
.footer-meta,.footer-science{
display:flex;
gap:10px;
justify-content:center;
flex-wrap:wrap;
}


img, svg, canvas, video { max-width: 100%; height: auto; }
input, select, textarea, button { max-width: 100%; }

@media (max-width: 1100px) {
    .wrap { padding: 16px; }
}

@media (max-width: 760px) {
    body { font-size: 15px; }
    h1 { font-size: clamp(26px, 7vw, 38px); }
    h2 { font-size: 20px; }
    .lead { font-size: 15px; }
    .badge { width: 100%; justify-content: center; text-align: center; }
    .topbar { align-items: stretch; }
    .topbar > * { width: 100%; }
    .back-link { display: inline-flex; justify-content: center; padding: 10px 12px; border: 1px solid #d7e6f6; border-radius: 12px; background: #fff; }
    .button-like, .module-link, .admin-link, .button { width: 100%; justify-content: center; }
    .home-grid, .grid, .grid-single, .grid-4 { grid-template-columns: 1fr !important; }
    table { display: block; width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
    .wrap { padding: 12px; }
    .hero, .card { padding: 16px; border-radius: 18px; }
}
