.gg-page {
    background: #f7f7f7;
    color: #111111;
}

.gg-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.gg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
}

.gg-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.gg-breadcrumb a:hover {
    color: #111111;
}

.gg-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 28px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.gg-hero__badge,
.gg-toolbar__label,
.gg-highlight-card__label,
.gg-featured-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gg-hero h1 {
    margin: 18px 0 14px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.gg-hero__desc {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #5f5f5f;
}

.gg-hero__actions,
.gg-empty__actions,
.gg-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.gg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.gg-btn:hover {
    transform: translateY(-1px);
}

.gg-btn--primary {
    background: #111111;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

.gg-btn--secondary {
    background: #ffffff;
    color: #111111;
    border-color: rgba(17, 17, 17, 0.12);
}

.gg-btn--ghost {
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    border-color: rgba(124, 92, 255, 0.14);
}

.gg-hero__stats {
    display: grid;
    gap: 14px;
}

.gg-stat {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f1ff 100%);
    border: 1px solid rgba(124, 92, 255, 0.14);
    border-radius: 20px;
}

.gg-stat strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.gg-stat span {
    font-size: 13px;
    color: #666666;
}

.gg-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.gg-highlight-card,
.gg-toolbar,
.gg-summary,
.gg-empty,
.gg-featured-card,
.gg-card,
.gg-section,
.gg-side-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.04);
}

.gg-highlight-card {
    padding: 22px 24px;
}

.gg-highlight-card h2,
.gg-featured-card h2,
.gg-card h2 {
    margin: 14px 0 10px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gg-highlight-card h2 a,
.gg-featured-card h2 a,
.gg-card h2 a,
.gg-section-heading a,
.gg-side-item h3 a {
    color: #111111;
    text-decoration: none;
}

.gg-highlight-card p,
.gg-featured-card p,
.gg-card p,
.gg-side-item p,
.gg-note p {
    margin: 0;
    color: #5f5f5f;
    line-height: 1.7;
}

.gg-highlight-card__meta,
.gg-featured-card__meta,
.gg-card__meta,
.gg-card__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gg-highlight-card__meta,
.gg-featured-card__meta {
    margin-top: 18px;
}

.gg-highlight-card__meta span,
.gg-featured-card__meta span,
.gg-card__eyebrow span,
.gg-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #5f5f5f;
    font-size: 12px;
    font-weight: 600;
}

.gg-highlight-card__meta a,
.gg-featured-card__meta a {
    color: #7c5cff;
    font-weight: 700;
    text-decoration: none;
}

.gg-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.gg-toolbar__meta {
    display: grid;
    gap: 6px;
}

.gg-toolbar__active {
    font-size: 14px;
    color: #5f5f5f;
}

.gg-search {
    display: flex;
    gap: 10px;
    width: min(420px, 100%);
}

.gg-search input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    padding: 0 14px;
    font-size: 14px;
    background: #fbfbfb;
}

.gg-search button {
    min-width: 92px;
    border-radius: 14px;
    border: none;
    background: #7c5cff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.gg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.gg-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: #ffffff;
    color: #555555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.gg-chip:hover,
.gg-chip.is-active {
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    border-color: rgba(124, 92, 255, 0.18);
}

.gg-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.gg-summary__item {
    display: grid;
    gap: 6px;
}

.gg-summary__item strong {
    font-size: 20px;
    line-height: 1.1;
}

.gg-summary__item span {
    font-size: 13px;
    color: #666666;
}

.gg-featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.gg-featured-card {
    padding: 22px 24px;
}

.gg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gg-grid--compact {
    margin-top: 16px;
}

.gg-card {
    display: grid;
    gap: 18px;
    padding: 22px 24px;
}

.gg-card__top {
    display: grid;
    gap: 14px;
}

.gg-card__steps {
    display: grid;
    gap: 10px;
}

.gg-card__step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.65;
}

.gg-card__step span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-top: 8px;
    background: #7c5cff;
    flex: 0 0 auto;
}

.gg-card__footer {
    display: grid;
    gap: 14px;
}

.gg-empty {
    padding: 28px;
    margin-top: 18px;
}

.gg-empty h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.gg-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    gap: 22px;
    margin-top: 24px;
}

.gg-detail-main,
.gg-detail-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.gg-section,
.gg-side-card {
    padding: 24px;
}

.gg-section h2,
.gg-side-card h2,
.gg-section-heading h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gg-note {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8f6ff;
    border: 1px solid rgba(124, 92, 255, 0.12);
}

.gg-note strong {
    font-size: 18px;
}

.gg-step-list {
    display: grid;
    gap: 14px;
}

.gg-step-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fbfbfb;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.gg-step-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(124, 92, 255, 0.1);
    color: #7c5cff;
    font-size: 18px;
    font-weight: 700;
}

.gg-step-card__body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.gg-richtext {
    color: #334155;
    line-height: 1.8;
}

.gg-richtext > *:first-child {
    margin-top: 0;
}

.gg-richtext > *:last-child {
    margin-bottom: 0;
}

.gg-side-list {
    display: grid;
    gap: 12px;
}

.gg-side-item {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fbfbfb;
    border: 1px solid rgba(17, 17, 17, 0.07);
}

.gg-side-item h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.gg-related-guides {
    margin-top: 24px;
}

.gg-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.gg-section-heading a {
    color: #7c5cff;
    font-weight: 700;
    text-decoration: none;
}

.gg-card--compact {
    gap: 14px;
}

@media (max-width: 1080px) {
    .gg-hero,
    .gg-detail-grid {
        grid-template-columns: 1fr;
    }

    .gg-featured,
    .gg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gg-shell {
        padding: 22px 16px 56px;
    }

    .gg-hero,
    .gg-toolbar,
    .gg-summary,
    .gg-section,
    .gg-side-card,
    .gg-highlight-card,
    .gg-featured-card,
    .gg-card,
    .gg-empty {
        border-radius: 20px;
    }

    .gg-hero,
    .gg-toolbar {
        padding: 24px 18px;
    }

    .gg-toolbar,
    .gg-section-heading {
        grid-template-columns: 1fr;
        display: grid;
    }

    .gg-search {
        width: 100%;
    }

    .gg-summary,
    .gg-highlight-grid,
    .gg-featured,
    .gg-grid {
        grid-template-columns: 1fr;
    }

    .gg-step-card {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 16px;
    }

    .gg-step-card__index {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 16px;
    }
}
