* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fa;
    color: #24364a;
    font: 15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

a {
    color: inherit;
}

button,input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,a:focus-visible,input:focus-visible {
    outline: 3px solid #b58b43;
    outline-offset: 3px;
}

.sp-wrap {
    max-width: 1320px;
    margin: auto;
    padding: 0 24px;
}

.sp-top {
    background: #fff;
    border-bottom: 1px solid #e0e6ed;
}

.sp-top .sp-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.sp-brand {
    font-size: 19px;
    font-weight: 750;
    text-decoration: none;
    color: #17354a;
}

.sp-top nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sp-top nav a {
    text-decoration: none;
    font-size: 14px;
}

.sp-sitemap {
    padding: 32px 0 60px;
}

.sp-hero {
    background: linear-gradient(120deg,#11283c,#254d65);
    color: white;
    border-radius: 16px;
    padding: 38px 40px;
    margin-bottom: 24px;
}

.sp-breadcrumb {
    font-size: 13px;
    color: #d2dfeb;
}

.sp-hero h1 {
    font-size: clamp(28px,4vw,42px);
    line-height: 1.2;
    margin: 15px 0 10px;
}

.sp-hero p {
    max-width: 800px;
    color: #dce7ef;
    margin: 0 0 22px;
}

.sp-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #24364a;
    border-radius: 9px;
    max-width: 760px;
    padding: 8px 14px;
}

.sp-search svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: #64748b;
}

.sp-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 9px 0;
    color: #24364a;
}

.sp-search button {
    border: 0;
    background: none;
    font-size: 24px;
    color: #64748b;
}

.sp-status {
    font-size: 13px;
    margin-top: 12px;
    color: #dce7ef;
}

.sp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 25px;
}

.sp-filter {
    border: 1px solid #dce3ea;
    border-radius: 7px;
    background: white;
    color: #475569;
    padding: 8px 15px;
    font-size: 13px;
}

.sp-filter[aria-pressed=true],.sp-filter:hover {
    background: #17354a;
    color: white;
    border-color: #17354a;
}

.sp-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.sp-results h2 {
    font-size: 23px;
    margin: 0;
    color: #17354a;
}

.sp-results span {
    font-size: 13px;
    color: #64748b;
}

.sp-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
    align-items: start;
}

.sp-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 22px;
    min-width: 0;
}

.sp-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e0e6ed;
    padding-bottom: 14px;
    margin-bottom: 10px;
}

.sp-icon {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf3f7;
    color: #17354a;
    font-size: 20px;
}

.sp-card h2 {
    font-size: 17px;
    line-height: 1.35;
    margin: 0;
    color: #17354a;
}

.sp-count {
    font-size: 12px;
    color: #64748b;
}

.sp-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-card li {
    margin: 0;
}

.sp-card li a {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 8px 6px;
    text-decoration: none;
    color: #40536a;
    font-size: 14px;
    overflow-wrap: anywhere;
    border-radius: 5px;
}

.sp-card li a:before {
    content: '›';
    color: #a47732;
    font-size: 20px;
    line-height: 1;
    flex: none;
}

.sp-card li a:hover {
    background: #edf3f7;
    color: #17354a;
    text-decoration: underline;
}

.sp-card mark {
    background: #fff0b5;
    color: inherit;
}

.sp-wide {
    grid-column: 1/-1;
}

.sp-wide ul {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 24px;
}

.sp-empty,.sp-help {
    text-align: center;
    padding: 35px 20px;
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
}

.sp-help {
    margin-top: 32px;
}

.sp-help h2,.sp-empty h2 {
    margin: 0 0 8px;
    color: #17354a;
    font-size: 22px;
}

.sp-help p,.sp-empty p {
    color: #64748b;
}

.sp-action {
    display: inline-block;
    border: 0;
    border-radius: 7px;
    background: #17354a;
    color: white;
    text-decoration: none;
    padding: 10px 22px;
}

.sp-footer {
    border-top: 1px solid #e0e6ed;
    padding: 22px 0;
    background: white;
    color: #64748b;
    font-size: 13px;
}

[hidden] {
    display: none!important;
}

@media(max-width:950px) {
    .sp-grid,.sp-wide ul {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

@media(max-width:580px) {
    .sp-wrap {
        padding: 0 15px;
    }

    .sp-hero {
        padding: 25px 20px;
    }

    .sp-grid,.sp-wide ul {
        grid-template-columns: 1fr;
    }

    .sp-card {
        padding: 17px;
    }

    .sp-top .sp-wrap {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .sp-top nav {
        gap: 12px;
    }

    .sp-results h2 {
        font-size: 19px;
    }

}