﻿.nav {
    gap: 12px;
}

.brand {
    flex: 0 0 auto;
    font-size: 22px;
}

.brand-text {
    line-height: 1.2;
    white-space: nowrap;
}

.menu {
    gap: 14px;
}

.search {
    min-width: 220px;
}

.footer-shell {
    padding: 36px 18px 22px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.footer-info p {
    margin: 0 0 10px;
}

.footer-qr {
    justify-self: end;
    text-align: right;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #9aa7b8;
    font-size: 13px;
}

.footer-copyright {
    text-align: left;
}

.footer-beian {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    text-align: right;
    grid-column: 3;
}

.footer-beian a {
    color: #9aa7b8;
}

body > main > .section:last-child {
    display: none;
}

.hero-overlay .wrap {
    width: 100%;
}

.hero-overlay h1 {
    min-height: 112px;
    max-width: 980px;
    display: flex;
    align-items: flex-end;
    line-height: 1.22;
    margin-bottom: 12px;
}

.hero-overlay p {
    min-height: 68px;
    max-width: 720px;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-actions {
    min-height: 44px;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card h3,
.summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card h3 {
    -webkit-line-clamp: 2;
    line-height: 1.4;
    min-height: 2.8em;
}

.summary {
    -webkit-line-clamp: 2;
    line-height: 1.6;
    min-height: 3.2em;
}

@media (max-width: 850px) {
    .brand {
        font-size: 20px;
    }

    .footer-top,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-qr,
    .footer-copyright,
    .footer-beian {
        justify-self: start;
        text-align: left;
    }

    .footer-beian {
        grid-column: auto;
        flex-direction: column;
        gap: 6px;
    }

    .hero-overlay h1,
    .hero-overlay p,
    .hero-actions {
        min-height: 0;
    }
}

