.sgpbt-shell,
.sgpbt-shell * {
    box-sizing: border-box;
}

.sgpbt-shell {
    --sgpbt-primary: #12304d;
    --sgpbt-primary-2: #1e4a68;
    --sgpbt-accent: #2f8792;
    --sgpbt-accent-strong: #1d6973;
    --sgpbt-surface: #f4f7f9;
    --sgpbt-card: #ffffff;
    --sgpbt-border: #dce5ea;
    --sgpbt-text: #1d2a35;
    --sgpbt-muted: #62717f;
    --sgpbt-hero-text: #ffffff;
    --sgpbt-display: Inter, system-ui, sans-serif;
    --sgpbt-body: Inter, system-ui, sans-serif;
    --sgpbt-radius: 14px;
    --sgpbt-shadow: 0 18px 50px rgba(15, 35, 52, 0.1);
    width: 100%;
    overflow: clip;
    color: var(--sgpbt-text);
    background: var(--sgpbt-surface);
    font-family: var(--sgpbt-body);
    line-height: 1.6;
}

.sgpbt-shell a {
    color: inherit;
}

.sgpbt-shell a:focus-visible,
.sgpbt-shell button:focus-visible,
.sgpbt-shell input:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--sgpbt-accent) 65%, white);
    outline-offset: 3px;
}

.sgpbt-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.sgpbt-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 0 84px;
    color: var(--sgpbt-hero-text);
    background:
        radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--sgpbt-accent) 35%, transparent), transparent 34%),
        linear-gradient(135deg, var(--sgpbt-primary), var(--sgpbt-primary-2));
}

.sgpbt-hero::after {
    position: absolute;
    z-index: -1;
    right: -8%;
    bottom: -90px;
    width: 420px;
    height: 220px;
    border: 38px solid color-mix(in srgb, var(--sgpbt-accent) 22%, transparent);
    border-radius: 50%;
    content: "";
    transform: rotate(-8deg);
}

.sgpbt-hero-badge,
.sgpbt-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 13px;
    border: 1px solid color-mix(in srgb, var(--sgpbt-accent) 75%, white);
    border-radius: 999px;
    color: var(--sgpbt-hero-text);
    background: color-mix(in srgb, var(--sgpbt-accent) 72%, transparent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.sgpbt-hero-title {
    max-width: 920px;
    margin: 18px 0 16px;
    color: inherit;
    font-family: var(--sgpbt-display);
    font-size: clamp(2.35rem, 5vw, 4.65rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.sgpbt-hero-subtitle {
    max-width: 720px;
    margin: 0;
    color: color-mix(in srgb, var(--sgpbt-hero-text) 82%, transparent);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.sgpbt-result-count {
    margin: 25px 0 0;
    color: color-mix(in srgb, var(--sgpbt-hero-text) 72%, transparent);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sgpbt-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 25px;
    color: color-mix(in srgb, var(--sgpbt-hero-text) 68%, transparent);
    font-size: 0.82rem;
}

.sgpbt-breadcrumb a {
    text-decoration: none;
}

.sgpbt-breadcrumb a:hover {
    color: var(--sgpbt-hero-text);
    text-decoration: underline;
}

.sgpbt-filters {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--sgpbt-border);
    background: var(--sgpbt-card);
    box-shadow: 0 10px 30px rgba(15, 35, 52, 0.05);
}

.sgpbt-filters .sgpbt-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 17px;
    scrollbar-width: thin;
}

.sgpbt-filter {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--sgpbt-border);
    border-radius: 999px;
    color: var(--sgpbt-muted);
    background: var(--sgpbt-card);
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.sgpbt-filter:hover,
.sgpbt-filter.is-active {
    border-color: var(--sgpbt-accent);
    color: #ffffff;
    background: var(--sgpbt-accent);
}

.sgpbt-archive-layout,
.sgpbt-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
    padding-block: 52px 72px;
}

.sgpbt-archive-main,
.sgpbt-single-main {
    min-width: 0;
}

.sgpbt-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.sgpbt-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sgpbt-border);
    border-radius: var(--sgpbt-radius);
    background: var(--sgpbt-card);
    box-shadow: 0 8px 28px rgba(15, 35, 52, 0.06);
    flex-direction: column;
}

.sgpbt-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    margin: 0 0 28px;
    box-shadow: var(--sgpbt-shadow);
}

.sgpbt-card-image {
    display: block;
    min-height: 215px;
    overflow: hidden;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--sgpbt-primary) 80%, black), var(--sgpbt-primary-2));
}

.sgpbt-card--featured .sgpbt-card-image {
    min-height: 380px;
}

.sgpbt-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sgpbt-card:hover .sgpbt-card-image img {
    transform: scale(1.025);
}

.sgpbt-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background:
        linear-gradient(125deg, transparent 38%, color-mix(in srgb, var(--sgpbt-accent) 24%, transparent) 38% 62%, transparent 62%),
        radial-gradient(circle at 28% 32%, color-mix(in srgb, var(--sgpbt-accent) 50%, transparent), transparent 34%);
}

.sgpbt-card-body {
    display: flex;
    flex: 1;
    padding: 24px;
    flex-direction: column;
}

.sgpbt-card--featured .sgpbt-card-body {
    justify-content: center;
    padding: 38px;
}

.sgpbt-card-meta,
.sgpbt-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
    align-items: center;
    color: var(--sgpbt-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sgpbt-card-meta a {
    color: var(--sgpbt-accent-strong);
    text-decoration: none;
}

.sgpbt-card-title {
    margin: 13px 0 11px;
    color: var(--sgpbt-text);
    font-family: var(--sgpbt-display);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.23;
}

.sgpbt-card--featured .sgpbt-card-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.sgpbt-card-title a {
    text-decoration: none;
}

.sgpbt-card-title a:hover {
    color: var(--sgpbt-accent-strong);
}

.sgpbt-card-excerpt {
    margin: 0 0 20px;
    color: var(--sgpbt-muted);
    font-size: 0.96rem;
}

.sgpbt-card-footer {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--sgpbt-border);
    color: var(--sgpbt-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.sgpbt-card-footer a {
    color: var(--sgpbt-accent-strong);
    text-decoration: none;
}

.sgpbt-sidebar {
    display: grid;
    position: sticky;
    top: 28px;
    gap: 20px;
}

.sgpbt-widget,
.sgpbt-content,
.sgpbt-author-box,
.sgpbt-share {
    border: 1px solid var(--sgpbt-border);
    border-radius: var(--sgpbt-radius);
    background: var(--sgpbt-card);
    box-shadow: 0 8px 26px rgba(15, 35, 52, 0.055);
}

.sgpbt-widget {
    padding: 23px;
}

.sgpbt-widget > h2,
.sgpbt-toc > h2 {
    margin: 0 0 15px;
    color: var(--sgpbt-text);
    font-family: var(--sgpbt-display);
    font-size: 1.08rem;
    font-weight: 800;
}

.sgpbt-search-widget form {
    display: flex;
    gap: 8px;
}

.sgpbt-search-widget label {
    flex: 1;
}

.sgpbt-search-widget input[type="search"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--sgpbt-border);
    border-radius: 8px;
}

.sgpbt-search-widget input[type="submit"] {
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--sgpbt-accent);
    font-weight: 800;
    cursor: pointer;
}

.sgpbt-cta {
    border-color: color-mix(in srgb, var(--sgpbt-accent) 55%, var(--sgpbt-border));
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--sgpbt-accent) 52%, transparent), transparent 46%),
        var(--sgpbt-primary);
}

.sgpbt-cta > span {
    display: block;
    margin-bottom: 7px;
    color: color-mix(in srgb, #ffffff 68%, transparent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sgpbt-cta > h2 {
    color: #ffffff;
    font-size: 1.45rem;
}

.sgpbt-cta p {
    color: color-mix(in srgb, #ffffff 78%, transparent);
    font-size: 0.9rem;
}

.sgpbt-cta-phone {
    display: inline-block;
    margin: 3px 0 15px;
    color: #ffffff;
    font-family: var(--sgpbt-display);
    font-size: 1.25rem;
    font-weight: 850;
    text-decoration: none;
}

.sgpbt-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--sgpbt-accent);
    font-weight: 850;
    text-decoration: none;
}

.sgpbt-button:hover {
    background: var(--sgpbt-accent-strong);
}

.sgpbt-recent-list,
.sgpbt-tax-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sgpbt-recent-list {
    counter-reset: sgpbt-recent;
}

.sgpbt-recent-list li {
    position: relative;
    padding: 12px 0 12px 34px;
    border-top: 1px solid var(--sgpbt-border);
    counter-increment: sgpbt-recent;
}

.sgpbt-recent-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.sgpbt-recent-list li::before {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--sgpbt-accent);
    content: counter(sgpbt-recent, decimal-leading-zero);
    font-size: 0.75rem;
    font-weight: 900;
}

.sgpbt-recent-list li:first-child::before {
    top: 0;
}

.sgpbt-recent-list a {
    display: block;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
}

.sgpbt-recent-list time {
    color: var(--sgpbt-muted);
    font-size: 0.72rem;
}

.sgpbt-tax-list li + li {
    border-top: 1px solid var(--sgpbt-border);
}

.sgpbt-tax-list a {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    color: var(--sgpbt-muted);
    text-decoration: none;
}

.sgpbt-tax-list a:hover {
    color: var(--sgpbt-accent-strong);
}

.sgpbt-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sgpbt-tag-cloud a {
    padding: 6px 9px;
    border: 1px solid var(--sgpbt-border);
    border-radius: 6px;
    color: var(--sgpbt-muted);
    font-size: 0.75rem;
    text-decoration: none;
}

.sgpbt-tag-cloud a:hover {
    border-color: var(--sgpbt-accent);
    color: var(--sgpbt-accent-strong);
}

.sgpbt-empty {
    padding: 54px 30px;
    border: 1px dashed var(--sgpbt-border);
    border-radius: var(--sgpbt-radius);
    text-align: center;
    background: var(--sgpbt-card);
}

.sgpbt-empty h2 {
    margin-top: 0;
    font-family: var(--sgpbt-display);
}

.sgpbt-pagination {
    margin-top: 34px;
}

.sgpbt-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sgpbt-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--sgpbt-border);
    border-radius: 8px;
    color: var(--sgpbt-text);
    background: var(--sgpbt-card);
    font-weight: 750;
    text-decoration: none;
}

.sgpbt-pagination .page-numbers.current,
.sgpbt-pagination a.page-numbers:hover {
    border-color: var(--sgpbt-accent);
    color: #ffffff;
    background: var(--sgpbt-accent);
}

.sgpbt-single-hero {
    padding-block: 56px 70px;
}

.sgpbt-single-hero .sgpbt-hero-title {
    max-width: 1020px;
    font-size: clamp(2.15rem, 4.8vw, 4rem);
}

.sgpbt-hero-meta {
    color: color-mix(in srgb, var(--sgpbt-hero-text) 72%, transparent);
}

.sgpbt-author-line {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-top: 24px;
    color: color-mix(in srgb, var(--sgpbt-hero-text) 82%, transparent);
    font-size: 0.9rem;
}

.sgpbt-author-line img,
.sgpbt-author-box img {
    border-radius: 50%;
}

.sgpbt-content {
    overflow: hidden;
}

.sgpbt-content--legacy {
    padding: clamp(24px, 4vw, 46px);
    font-size: 1.04rem;
    line-height: 1.75;
}

.sgpbt-content--legacy h2,
.sgpbt-content--legacy h3 {
    color: var(--sgpbt-primary);
    font-family: var(--sgpbt-display);
    line-height: 1.2;
}

.sgpbt-content--legacy h2 {
    margin: 2em 0 0.65em;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.sgpbt-content--legacy h3 {
    margin: 1.65em 0 0.55em;
    font-size: 1.3rem;
}

.sgpbt-content--legacy a {
    color: var(--sgpbt-accent-strong);
    font-weight: 650;
}

.sgpbt-content--legacy img {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--sgpbt-radius) - 4px);
}

.sgpbt-content--legacy table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.sgpbt-content--legacy th,
.sgpbt-content--legacy td {
    padding: 10px 12px;
    border: 1px solid var(--sgpbt-border);
    text-align: left;
}

.sgpbt-content--imported {
    background: var(--sgpbt-card);
}

.sgpbt-content--imported .sgp-imported-article {
    width: 100%;
}

.sgpbt-content .sgp-related-jobs {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--sgpbt-border);
    border-radius: calc(var(--sgpbt-radius) - 4px);
    background: var(--sgpbt-surface);
}

.sgpbt-content .sgp-related-jobs h2 {
    margin-top: 0;
}

.sgpbt-content .sgp-related-jobs a {
    color: var(--sgpbt-accent-strong);
}

.sgpbt-toc[hidden],
.sgpbt-toc--mobile {
    display: none;
}

.sgpbt-toc nav {
    display: grid;
    gap: 7px;
}

.sgpbt-toc nav a {
    padding-left: 12px;
    border-left: 2px solid var(--sgpbt-border);
    color: var(--sgpbt-muted);
    font-size: 0.84rem;
    line-height: 1.35;
    text-decoration: none;
}

.sgpbt-toc nav a.is-sub {
    padding-left: 24px;
    font-size: 0.78rem;
}

.sgpbt-toc nav a:hover,
.sgpbt-toc nav a.is-active {
    border-left-color: var(--sgpbt-accent);
    color: var(--sgpbt-accent-strong);
}

.sgpbt-share {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 22px;
    padding: 17px 20px;
}

.sgpbt-share > span {
    margin-right: auto;
    font-weight: 850;
}

.sgpbt-share a,
.sgpbt-share button {
    padding: 7px 10px;
    border: 1px solid var(--sgpbt-border);
    border-radius: 6px;
    color: var(--sgpbt-muted);
    background: transparent;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.sgpbt-share a:hover,
.sgpbt-share button:hover {
    border-color: var(--sgpbt-accent);
    color: var(--sgpbt-accent-strong);
}

.sgpbt-author-box {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    padding: 24px;
}

.sgpbt-author-box span {
    color: var(--sgpbt-muted);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sgpbt-author-box h2 {
    margin: 2px 0 4px;
    font-family: var(--sgpbt-display);
    font-size: 1.25rem;
}

.sgpbt-author-box p {
    margin: 0;
    color: var(--sgpbt-muted);
    font-size: 0.9rem;
}

.sgpbt-related {
    margin-top: 42px;
}

.sgpbt-section-heading {
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sgpbt-section-heading h2 {
    margin: 0;
    font-family: var(--sgpbt-display);
    font-size: 1.75rem;
}

.sgpbt-section-heading a {
    color: var(--sgpbt-accent-strong);
    font-size: 0.85rem;
    font-weight: 800;
}

.sgpbt-card-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sgpbt-card--compact .sgpbt-card-image {
    min-height: 140px;
}

.sgpbt-card--compact .sgpbt-card-body {
    padding: 17px;
}

.sgpbt-card--compact .sgpbt-card-title {
    font-size: 1.05rem;
}

.sgpbt-card--compact .sgpbt-card-excerpt {
    display: none;
}

.sgpbt-card--compact .sgpbt-card-footer {
    font-size: 0.72rem;
}

@media (max-width: 1024px) {
    .sgpbt-archive-layout,
    .sgpbt-single-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sgpbt-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sgpbt-toc--sidebar {
        display: none !important;
    }

    .sgpbt-toc--mobile:not([hidden]) {
        display: block;
        margin-bottom: 18px;
        padding: 18px;
        border: 1px solid var(--sgpbt-border);
        border-radius: var(--sgpbt-radius);
        background: var(--sgpbt-card);
    }

    .sgpbt-toc-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: 0;
        color: var(--sgpbt-text);
        background: transparent;
        font: inherit;
        font-weight: 850;
        cursor: pointer;
    }

    .sgpbt-toc--mobile nav {
        margin-top: 14px;
    }
}

@media (max-width: 760px) {
    .sgpbt-container {
        width: min(100% - 28px, 1180px);
    }

    .sgpbt-hero {
        padding-block: 54px 60px;
    }

    .sgpbt-hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .sgpbt-archive-layout,
    .sgpbt-single-layout {
        gap: 24px;
        padding-block: 32px 48px;
    }

    .sgpbt-card-grid,
    .sgpbt-card-grid--related,
    .sgpbt-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .sgpbt-card--featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .sgpbt-card--featured .sgpbt-card-image {
        min-height: 240px;
    }

    .sgpbt-card--featured .sgpbt-card-body {
        padding: 25px;
    }

    .sgpbt-share {
        align-items: stretch;
    }

    .sgpbt-share > span {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .sgpbt-card-body,
    .sgpbt-widget,
    .sgpbt-content--legacy,
    .sgpbt-author-box {
        padding: 19px;
    }

    .sgpbt-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sgpbt-author-box {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgpbt-shell *,
    .sgpbt-shell *::before,
    .sgpbt-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

