body.post-type-archive-sg_guide {
    background: #f1f3f6 !important;
}

body.single-sg_guide {
    background: #f1f3f6 !important;
}

body.post-type-archive-sg_guide .entry-content,
body.single-sg_guide .entry-content,
body.post-type-archive-sg_guide main.wp-block-group,
body.single-sg_guide main.wp-block-group {
    padding: 0 !important;
    max-width: none !important;
}

.sb-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    background: #f1f3f6;
    color: #111827;
    overflow: clip;
}

.sb-shell--article {
    background: #f1f3f6;
    padding-bottom: 80px;
}

.sb-app {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 88px;
}

.sb-app--article {
    max-width: 1080px;
    padding-top: 20px;
}

.sb-mast {
    position: relative;
    margin: 8px 0 40px;
    padding: 8px 0 8px;
}

.sb-mast__grid {
    position: absolute;
    inset: -20px 0 auto 0;
    height: 220px;
    background-image:
        linear-gradient(rgba(17, 24, 39, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, .06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 20%, transparent);
    pointer-events: none;
}

.sb-mast__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.sb-mast__index {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #6b7280;
}

.sb-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #2563eb;
}

.sb-kicker a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sb-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, .45);
    animation: sb-pulse 1.8s ease-out infinite;
}

@keyframes sb-pulse {
    70% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.sb-mast h1 {
    position: relative;
    margin: 0 0 14px;
    max-width: 16ch;
    font-size: clamp(42px, 8vw, 76px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .95;
    color: #111827;
}

.sb-mast__lead {
    position: relative;
    margin: 0;
    max-width: 46ch;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.55;
}

.sb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-card-post--feat {
    grid-column: 1 / -1;
}

.sb-card-post a {
    position: relative;
    display: block;
    min-height: 320px;
    overflow: hidden;
    border-radius: 22px;
    text-decoration: none;
    color: #fff;
    background: #101826;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
    isolation: isolate;
}

.sb-card-post--feat a {
    min-height: 560px;
}

.sb-card-post__media,
.sb-card-post__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.sb-card-post a:hover .sb-card-post__media img {
    transform: scale(1.04);
}

.sb-card-post__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, .05) 25%, rgba(7, 11, 18, .78) 100%);
}

.sb-card-post__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px 28px 30px;
}

.sb-card-post time {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(7, 11, 18, .45);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.sb-card-post strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    max-width: 22ch;
}

.sb-card-post--feat strong {
    font-size: clamp(32px, 5vw, 54px);
    max-width: 16ch;
}

.sb-card-post em {
    font-style: normal;
    font-size: 16px;
    color: #dbe4f0;
    line-height: 1.5;
    max-width: 46ch;
}

.sb-card-post__go {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #7dd3fc;
}

.sb-cover {
    position: relative;
    margin: 0 0 -88px;
    border-radius: 28px;
    overflow: hidden;
    min-height: 58vh;
    background: #101826;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.sb-cover img {
    display: block;
    width: 100%;
    height: 58vh;
    min-height: 420px;
    object-fit: cover;
}

.sb-cover__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 18, .35) 100%);
    pointer-events: none;
}

.sb-paper {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 44px 52px;
    border-radius: 24px;
    background: #fff;
    color: #111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.sb-paper .sb-kicker {
    color: #0b1220;
    margin-bottom: 14px;
}

.sb-paper .sb-pulse {
    background: #0b1220;
    box-shadow: none;
    animation: none;
}

.sb-paper h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.08;
    color: #070b12;
}

.sb-article__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.sb-article__deck {
    margin: 0 0 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eef0f3;
    font-size: 20px;
    line-height: 1.45;
    color: #374151;
    font-weight: 550;
}

.sb-article__body {
    font-size: 18px;
    line-height: 1.75;
    color: #1f2937;
}

.sb-article__body > p:first-of-type {
    font-size: 20px;
    color: #111827;
}

.sb-article__body h2 {
    margin: 1.8em 0 .45em;
    padding-left: 14px;
    border-left: 3px solid #0b1220;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #070b12;
}

.sb-article__body h3 {
    margin: 1.4em 0 .4em;
    font-size: 19px;
    font-weight: 800;
    color: #111827;
}

.sb-article__body p,
.sb-article__body ul {
    margin: 0 0 1.05em;
}

.sb-article__body a {
    color: #0b1220;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.sb-article__body a.sb-product {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sb-article__body strong {
    font-weight: 800;
    color: #070b12;
}

.sb-article__body blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid #0b1220;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.4;
    color: #111827;
}

.sb-break {
    margin: 28px -8px 32px;
}

.sb-break img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
}

.sb-related--shop {
    display: none !important;
}

.sb-shop {
    margin-top: 28px;
    padding: 22px 18px 8px;
    background: #fff;
    border-radius: 24px;
    color: #111;
}

.sb-shop .related.products.sg-related-slider {
    max-width: none;
    margin: 0;
    padding: 0 0 12px;
}

.sb-shop .sg-related-slider__head h2 {
    font-size: 20px;
}

.sb-guides,
.sb-related {
    margin-top: 40px;
    padding-top: 8px;
}

.sb-guides h2,
.sb-related h2 {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.sb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-tag {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: #070b12;
    color: #f8fafc !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 650;
}

.sb-related__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-related__item a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eef0f3;
    background: #f8fafc;
    text-decoration: none;
    color: #111;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sb-related__item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(7, 11, 18, .08);
}

.sb-related__item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.sb-related__item span {
    padding: 0 12px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.sb-pager {
    margin-top: 36px;
}

.sb-pager .nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sb-pager a,
.sb-pager span {
    color: #111827 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}

.sb-empty {
    color: #6b7280;
    font-size: 16px;
}

@media (max-width: 800px) {
    .sb-shop { padding: 16px 10px 4px; border-radius: 18px; }
    .sb-app { padding: 22px 16px 64px; }
    .sb-grid,
    .sb-related__list { grid-template-columns: 1fr; }
    .sb-card-post a,
    .sb-card-post--feat a { min-height: 300px; }
    .sb-cover,
    .sb-cover img { min-height: 280px; height: 42vh; }
    .sb-cover { margin-bottom: -48px; border-radius: 20px; }
    .sb-paper { padding: 26px 20px 36px; border-radius: 18px; }
    .sb-mast h1 { max-width: none; }
    .sb-card-post strong,
    .sb-card-post--feat strong { max-width: none; }
}
