/*
 * Shuntailor Glossary — full-page (non-panel) single glossary styles.
 * Loaded on /wiki/{slug}/ direct access.
 */

.tg-wrap {
    max-width: 760px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
    line-height: 1.75;
    color: #1a1a1a;
}

.tg-breadcrumb {
    font-size: 12.5px;
    color: #888;
    margin: 24px 0 16px;
    letter-spacing: 0.02em;
}
.tg-breadcrumb a {
    color: #666;
    text-decoration: none;
}
.tg-breadcrumb a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.tg-hero {
    background: #F4F1EA;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.tg-hero .tg-kicker {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #B8A68A;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.tg-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    line-height: 1.3;
}
.tg-hero .tg-lead {
    font-size: 15px;
    color: #444;
    margin: 0;
    line-height: 1.7;
}

.tg-body {
    padding: 8px 4px;
}
.tg-body h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 36px 0 14px;
    letter-spacing: -0.01em;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.tg-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: #333;
}
.tg-body p {
    margin: 0 0 14px;
    font-size: 14.5px;
}
.tg-body ul,
.tg-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
}
.tg-body li {
    margin-bottom: 6px;
    font-size: 14.5px;
}
.tg-body code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: "SF Mono", Menlo, monospace;
}
.tg-body blockquote {
    border-left: 3px solid #B8A68A;
    padding: 4px 16px;
    color: #555;
    margin: 16px 0;
    background: #FAF8F3;
}
.tg-body a {
    color: #3a5773;
    text-decoration: underline;
}

.tg-nl-cta {
    background: #EAEEF3;
    border-radius: 14px;
    padding: 22px 26px;
    margin: 36px 0 20px;
    border: 1px solid rgba(111, 139, 168, 0.18);
}
.tg-nl-cta .tg-nl-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #3a5773;
    margin: 0 0 6px;
}
.tg-nl-cta .tg-nl-body {
    font-size: 13.5px;
    color: #3a5773;
    margin: 0 0 14px;
    line-height: 1.65;
}
.tg-nl-cta .tg-nl-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #6F8BA8;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
}
.tg-nl-cta .tg-nl-btn:hover {
    background: #5a7590;
}

.tg-meta {
    font-size: 12px;
    color: #999;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

@media (max-width: 620px) {
    .tg-hero {
        padding: 22px 20px;
    }
    .tg-hero h1 {
        font-size: 22px;
    }
    .tg-body h2 {
        font-size: 17px;
    }
}
