:root {
    --bs-blue: #1a73e8;
    --bs-blue-dark: #1558b0;
    --bs-red: #ea4335;
    --bs-yellow: #fbbc04;
    --bs-green: #34a853;
    --bs-text: #202124;
    --bs-muted: #5f6368;
    --bs-line: #dadce0;
    --bs-soft: #f8fafd;
    --bs-card: #ffffff;
    --background-color: #ffffff !important;
    --ghost-accent-color: #1a73e8 !important;
    --color-primary-text: var(--bs-text) !important;
    --color-secondary-text: var(--bs-muted) !important;
    --color-border: var(--bs-line) !important;
    --container-width: 1180px;
    --grid-gap: 24px;
}

html,
body,
.gh-viewport,
.gh-main {
    background: #fff !important;
    color: var(--bs-text);
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: Inter, Arial, sans-serif;
}

a:hover {
    opacity: 1;
}

.gh-outer {
    padding-left: max(24px, 5vw);
    padding-right: max(24px, 5vw);
}

.gh-navigation {
    height: 76px;
    border-bottom: 1px solid #eef0f3;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--bs-text);
    backdrop-filter: blur(18px);
}

.gh-navigation-inner {
    column-gap: 28px;
}

.gh-navigation-logo,
.gh-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bs-text) !important;
    font-size: 2rem;
    font-weight: 650;
    letter-spacing: 0;
}

.gh-navigation-logo::before,
.gh-footer-logo::before {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, var(--bs-blue) 0 50%, var(--bs-red) 50% 100%) top / 100% 50% no-repeat,
        linear-gradient(90deg, var(--bs-yellow) 0 50%, var(--bs-green) 50% 100%) bottom / 100% 50% no-repeat;
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.18);
}

.gh-navigation .nav {
    gap: 10px;
}

.gh-navigation .nav a,
.gh-navigation-members a:not(.gh-button) {
    border-radius: 999px;
    color: var(--bs-muted) !important;
    font-size: 1.45rem;
    font-weight: 500;
    padding: 9px 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.gh-navigation .nav a:hover,
.gh-navigation-members a:not(.gh-button):hover {
    background: #f1f5fe;
    color: var(--bs-blue) !important;
}

.gh-button,
.bs-blog-button {
    min-height: 44px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0;
}

.gh-button {
    background: var(--bs-blue) !important;
    box-shadow: 0 10px 24px rgba(26, 115, 232, 0.22);
    padding: 14px 22px;
}

.bs-blog-hero {
    padding-top: 72px;
    padding-bottom: 56px;
}

.bs-blog-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 840px);
    gap: 0;
    align-items: center;
}

.bs-blog-hero-copy {
    max-width: 840px;
}

.bs-blog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bs-muted);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.bs-material-mark {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background:
        linear-gradient(90deg, var(--bs-blue) 0 50%, var(--bs-red) 50% 100%) top / 100% 50% no-repeat,
        linear-gradient(90deg, var(--bs-yellow) 0 50%, var(--bs-green) 50% 100%) bottom / 100% 50% no-repeat;
}

.bs-blog-title {
    max-width: 720px;
    color: var(--bs-text);
    font-size: clamp(4.8rem, 5vw, 7.6rem);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.bs-blog-description {
    max-width: 650px;
    color: var(--bs-muted);
    font-size: 2rem;
    line-height: 1.55;
    margin-top: 26px;
}

.bs-blog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.bs-blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1.5rem;
}

.bs-blog-button-primary {
    background: var(--bs-blue);
    color: #fff;
    box-shadow: 0 12px 28px rgba(26, 115, 232, 0.24);
}

.bs-blog-button-secondary {
    border: 1px solid var(--bs-line);
    color: var(--bs-blue);
    background: #fff;
}

.bs-blog-button-primary:hover,
.bs-blog-button-secondary:hover {
    transform: translateY(-1px);
}

.bs-blog-demo {
    border: 1px solid #e8eaed;
    border-radius: 28px;
    background: var(--bs-card);
    box-shadow: 0 24px 70px rgba(60, 64, 67, 0.16);
    padding: 22px;
}

.bs-demo-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.bs-demo-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dadce0;
}

.bs-demo-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 74px;
    border-radius: 20px;
    background: #fff;
    padding: 14px;
}

.bs-demo-row + .bs-demo-row {
    margin-top: 12px;
}

.bs-demo-icon {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #e8f0fe;
}

.bs-demo-icon::before,
.bs-demo-icon::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: currentColor;
}

.bs-demo-icon::before {
    width: 18px;
    height: 3px;
    left: 13px;
    top: 15px;
}

.bs-demo-icon::after {
    width: 12px;
    height: 3px;
    left: 13px;
    top: 24px;
}

.bs-demo-row strong {
    display: block;
    color: var(--bs-text);
    font-size: 1.6rem;
    font-weight: 650;
}

.bs-demo-row small {
    display: block;
    color: var(--bs-muted);
    font-size: 1.35rem;
    margin-top: 2px;
}

.bs-demo-row.is-blue .bs-demo-icon {
    color: var(--bs-blue);
    background: #e8f0fe;
}

.bs-demo-row.is-green .bs-demo-icon {
    color: var(--bs-green);
    background: #e6f4ea;
}

.bs-demo-row.is-yellow .bs-demo-icon {
    color: #b06000;
    background: #fef7e0;
}

.bs-demo-row.is-red .bs-demo-icon {
    color: var(--bs-red);
    background: #fce8e6;
}

#articles {
    scroll-margin-top: 96px;
}

.gh-container {
    margin-top: 24px;
}

.gh-container-inner {
    align-items: start;
}

.gh-container-title {
    color: var(--bs-text);
    font-size: clamp(3rem, 3vw, 4.8rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    text-transform: none;
}

.gh-feed {
    gap: 22px !important;
    min-width: 0;
}

.gh-container.is-list .gh-feed {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gh-container.is-list .gh-card-link {
    flex-direction: column !important;
}

.gh-container.is-list .gh-card-image {
    width: auto !important;
    min-width: 0 !important;
}

.gh-card {
    min-width: 0;
    height: 100%;
    border: 1px solid #e8eaed;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(60, 64, 67, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.gh-card:hover {
    border-color: #d2e3fc;
    box-shadow: 0 18px 42px rgba(60, 64, 67, 0.14);
    transform: translateY(-2px);
}

.gh-card-link {
    height: 100%;
    gap: 0;
}

.gh-card-image {
    display: block !important;
    width: calc(100% - 20px) !important;
    min-height: 168px !important;
    aspect-ratio: 16 / 10 !important;
    margin: 10px 10px 0;
    border-radius: 18px;
    background: #e8f0fe;
    overflow: hidden;
}

.gh-card-image img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.gh-card-wrapper {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 18px;
}

.gh-card-tag {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: #e8f0fe;
    color: var(--bs-blue);
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: 0;
    margin-bottom: 12px;
    padding: 6px 10px;
    text-transform: none;
}

.gh-card-title {
    color: var(--bs-text);
    font-size: 2rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.gh-card-link:hover .gh-card-title {
    color: var(--bs-blue);
    opacity: 1;
}

.gh-card-excerpt {
    color: var(--bs-muted);
    font-size: 1.48rem;
    line-height: 1.48;
    margin-top: 12px;
}

.gh-card-meta {
    color: #70757a;
    font-size: 1.28rem;
    margin-top: auto !important;
    padding-top: 18px;
}

.gh-card-author + .gh-card-date::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #bdc1c6;
    margin: 0 8px 2px;
}

.gh-sidebar-inner {
    position: sticky;
    top: 96px;
}

.gh-about,
.gh-recommendations {
    border: 1px solid #e8eaed;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(60, 64, 67, 0.08);
    padding: 24px;
}

.gh-about-title,
.gh-sidebar-title {
    color: var(--bs-text);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.gh-about-description {
    color: var(--bs-muted);
    line-height: 1.55;
    margin-top: 10px;
}

.gh-more a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border-radius: 999px;
    background: #e8f0fe;
    color: var(--bs-blue);
    font-size: 1.5rem;
    font-weight: 650;
    padding: 12px 18px;
}

.gh-more svg {
    width: 18px;
    height: 18px;
}

.gh-footer {
    margin-top: 96px;
}

.gh-footer-bar {
    border: 1px solid #e8eaed;
    border-radius: 28px;
    background: #f8fafd;
    margin-bottom: 56px;
    padding: 24px;
}

.gh-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    background: var(--bs-blue);
    color: #fff !important;
    font-weight: 650;
    padding: 12px 20px;
}

.gh-article-title {
    color: var(--bs-text);
    letter-spacing: -0.04em;
}

.gh-content {
    color: var(--bs-text);
}

.gh-content a {
    color: var(--bs-blue);
}

.gh-content :is(blockquote, .kg-callout-card) {
    border-radius: 22px;
}

@media (max-width: 991px) {
    .bs-blog-hero-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .bs-blog-demo {
        max-width: 560px;
    }

    .gh-container-inner {
        display: block !important;
    }

    .gh-container.is-list .gh-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gh-navigation {
        height: 64px;
    }

    .bs-blog-hero {
        padding-top: 46px;
        padding-bottom: 34px;
    }

    .bs-blog-title {
        font-size: 4rem;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .bs-blog-description {
        font-size: 1.75rem;
        margin-top: 20px;
    }

    .bs-blog-actions {
        flex-direction: column;
        margin-top: 28px;
    }

    .bs-blog-button {
        width: 100%;
    }

    .bs-blog-demo {
        border-radius: 24px;
        padding: 16px;
    }

    .gh-card-wrapper {
        padding: 18px;
    }

    .gh-container,
    .gh-container-inner,
    .gh-feed {
        min-width: 0 !important;
        max-width: 100%;
    }

    .gh-container.is-list .gh-feed {
        grid-template-columns: 1fr;
    }

    .gh-footer {
        margin-top: 64px;
    }
}
