@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --site-dark: #3e3e3e;
    --site-black: #050505;
    --site-paper: #f9f4ed;
    --site-ink: #2d2d2d;
    --site-muted: #706d68;
    --site-border: rgba(45, 45, 45, .24);
}

html { min-height: 100%; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--site-paper);
    color: var(--site-ink);
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: inherit; }

.main-container {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.site-navbar {
    min-height: 84px;
    padding: 12px 0;
    background: var(--site-dark);
}

.site-navbar .container { gap: 30px; }

.navbar-brand,
.footer-brand {
    color: #fff;
    font-size: clamp(20px, 2.1vw, 31px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand span,
.footer-brand span { font-weight: 400; }

.site-navbar .navbar-nav { gap: 10px; }

.site-navbar .nav-link {
    position: relative;
    padding: 15px 14px !important;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    transition: color .18s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active { color: #fff; }

.site-navbar .nav-link.active {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.site-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 7px;
    left: 14px;
    height: 2px;
    background: #fff;
}

.navbar-toggler { border-color: rgba(255, 255, 255, .3); }

.page-section {
    width: 100%;
    padding-top: clamp(54px, 6vw, 88px);
    padding-bottom: clamp(72px, 8vw, 120px);
}

.page-heading { margin-bottom: 30px; }

.page-kicker {
    margin: 0 0 10px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.page-section h1 {
    max-width: 1000px;
    margin: 0 0 42px;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.news-list { border-top: 1px solid var(--site-border); }

.news-item {
    max-width: 960px;
    padding: 34px 0 38px;
    border-bottom: 1px solid var(--site-border);
}

.news-date { color: var(--site-muted); font-size: 14px; }

.news-item h2 {
    margin: 22px 0 14px;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 700;
    line-height: 1.3;
}

.news-item h2 a { text-decoration: none; }
.news-item h2 a:hover { color: #375f82; }
.public-empty { padding: 44px 0; color: var(--site-muted); font-size: 18px; }
.managed-content { max-width: 1050px; }
.managed-content h2 { margin: 48px 0 18px; font-size: clamp(26px, 3vw, 38px); }
.managed-content p { margin-bottom: 22px; }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--site-muted); font-size: 15px; text-decoration: none; }
.back-link:hover { color: var(--site-ink); }
.post-detail .news-date { margin-bottom: 18px; }
.document-list { max-width: 1050px; margin-top: 54px; border-top: 1px solid var(--site-border); }
.document-list h2 { margin: 32px 0 12px; }
.document-list a { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--site-border); padding: 20px 0; text-decoration: none; }
.document-list a:hover strong { color: #375f82; }
.document-list span { color: var(--site-muted); font-size: 14px; }

.news-item p {
    max-width: 780px;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.static-page { font-size: 20px; line-height: 1.75; }
.static-page > p { max-width: 1050px; }
.static-page .lead { font-size: clamp(22px, 2.2vw, 29px); line-height: 1.55; }

.section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -14px 0 42px;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}

.section-tabs a,
.section-tabs span {
    border-radius: 6px;
    padding: 10px 18px;
    color: var(--site-ink);
    font-size: 15px;
    text-decoration: none;
}

.section-tabs .active { background: var(--site-dark); color: #fff; }
.compact-tabs { display: inline-flex; }

.content-card {
    border-radius: 9px;
    padding: clamp(28px, 5vw, 62px);
    background: #fff;
}

.content-card > span {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.content-card h2 {
    max-width: 760px;
    margin: 16px 0;
    font-size: clamp(26px, 3vw, 40px);
}

.content-card p { max-width: 720px; margin-bottom: 0; }

.principles-list { max-width: 1000px; margin-top: 46px; padding-left: 28px; }
.principles-list li { margin-bottom: 24px; padding-left: 8px; }

.site-footer {
    flex-shrink: 0;
    padding: 54px 0 46px;
    background: var(--site-black);
    color: #fff;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav a { color: #fff; font-size: 17px; text-decoration: none; }
.footer-nav a:hover { color: rgba(255, 255, 255, .72); }
.site-footer hr { margin: 48px 0 36px; border-color: #fff; opacity: 1; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .site-navbar { min-height: 72px; }
    .site-navbar .navbar-collapse { padding-top: 18px; }
    .site-navbar .nav-link { padding: 11px 0 !important; }
    .site-navbar .nav-link.active::after { right: auto; bottom: 4px; left: 0; width: 46px; }
    .footer-top { flex-direction: column; }
    .footer-nav { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
    .navbar-brand, .footer-brand { white-space: normal; }
    .navbar-brand span, .footer-brand span { display: block; margin-top: 4px; font-size: .72em; }
    .page-section h1 { margin-bottom: 30px; }
    .static-page { font-size: 17px; }
    .section-tabs { flex-direction: column; }
    .compact-tabs { display: flex; }
    .footer-nav { display: grid; grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
}
