.yg-blog-detail {
    --yg-blue: #1B5190;
    --yg-ink: #10243D;
    --yg-text: #536277;
    --yg-muted: #7A889B;
    --yg-line: #E4ECF5;
    --yg-soft: #F6FAFE;
    background: #fff;
    color: var(--yg-ink);
}

.yg-blog-detail,
.yg-blog-detail * { box-sizing: border-box; }
.yg-blog-detail a { text-decoration: none; }
.yg-blog-detail img { display: block; max-width: 100%; }

.yg-blog-hero {
    padding: 28px 0 50px;
    background: linear-gradient(180deg, #F7FBFE 0%, #fff 100%);
    border-bottom: 1px solid var(--yg-line);
}

.yg-blog-hero .container,
.yg-blog-content-section .container {
    max-width: 980px;
}

.yg-blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 28px;
    color: var(--yg-muted);
    font-size: 13px;
    font-weight: 500;
}

.yg-blog-breadcrumb a { color: var(--yg-muted); }
.yg-blog-breadcrumb a:hover,
.yg-blog-breadcrumb span { color: var(--yg-blue); }
.yg-blog-breadcrumb span {
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yg-blog-breadcrumb i { color: #A7B4C5; font-size: 16px; }

.yg-blog-hero-copy > span,
.yg-blog-section-head span {
    display: block;
    color: var(--yg-blue);
    font-size: 13px;
    font-weight: 600;
}

.yg-blog-hero h1 {
    max-width: 850px;
    margin: 10px 0 0;
    color: var(--yg-ink);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.yg-blog-hero p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 17px 0 0;
    color: var(--yg-muted);
    font-size: 14px;
    font-weight: 600;
}

.yg-blog-content-section {
    padding: 48px 0 86px;
    background: #F5F8FB;
}

.yg-blog-article {
    background: #fff;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
    overflow: hidden;
}

.yg-blog-main-image,
.yg-blog-inline-image {
    margin: 0;
    background: var(--yg-soft);
}

.yg-blog-main-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
}

.yg-blog-inline-image {
    padding: 0 34px 10px;
}

.yg-blog-inline-image img {
    width: 100%;
    max-height: 620px;
    border-radius: 14px;
    object-fit: cover;
    object-position: top center;
}

.yg-blog-rich-text {
    padding: 34px 34px;
    color: var(--yg-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.88;
}

.yg-blog-rich-text + .yg-blog-rich-text {
    padding-top: 22px;
}

.yg-blog-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--yg-line);
    border-radius: 16px;
}

.yg-blog-share > span {
    color: var(--yg-ink);
    font-size: 15px;
    font-weight: 700;
}

.yg-blog-share-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.yg-blog-share-links a,
.yg-blog-share-links button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--yg-blue);
    background: #F7FAFD;
    border: 1px solid #D8E5F1;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.yg-blog-share-links a:hover,
.yg-blog-share-links button:hover {
    color: #fff;
    background: var(--yg-blue);
    border-color: var(--yg-blue);
}

.yg-blog-share-links i {
    font-size: 19px;
    line-height: 1;
}

.yg-blog-copy-link.is-copied {
    color: #fff;
    background: var(--yg-blue);
    border-color: var(--yg-blue);
}

.yg-blog-section-head {
    margin: 48px 0 20px;
}

.yg-blog-section-head h2 {
    margin: 6px 0 0;
    color: var(--yg-ink);
    font-size: 28px;
    font-weight: 700;
}

.yg-blog-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.yg-blog-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--yg-soft);
    border: 1px solid var(--yg-line);
    border-radius: 14px;
}

.yg-blog-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.28s ease;
}

.yg-blog-gallery-item:hover img { transform: scale(1.035); }

.yg-blog-related {
    margin-top: 48px;
}

.yg-blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.yg-blog-related-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
    padding: 10px;
}

.yg-blog-related-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.72 / 1;
    background: var(--yg-soft);
    border-radius: 13px;
}

.yg-blog-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.yg-blog-related-body {
    padding: 15px 7px 8px;
}

.yg-blog-related-body span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yg-muted);
    font-size: 12.5px;
    font-weight: 600;
}

.yg-blog-related-body span i {
    color: var(--yg-blue);
    font-size: 15px;
}

.yg-blog-related-body h3 {
    margin: 11px 0 0;
    color: var(--yg-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.34;
}

.yg-blog-related-body h3 a {
    color: inherit;
}

.yg-blog-related-body h3 a:hover {
    color: var(--yg-blue);
}

.yg-blog-related-body p {
    margin: 9px 0 0;
    color: var(--yg-muted);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.6;
}

.yg-blog-related-body > a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0 14px;
    color: var(--yg-blue);
    background: #F8FBFE;
    border: 1px solid #D7E3EF;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
}

.yg-blog-related-body > a:hover {
    color: #fff;
    background: var(--yg-blue);
    border-color: var(--yg-blue);
}

@media (max-width: 767px) {
    .yg-blog-hero { padding: 26px 0 42px; }
    .yg-blog-content-section { padding: 36px 0 58px; }
    .yg-blog-rich-text,
    .yg-blog-inline-image {
        padding-left: 20px;
        padding-right: 20px;
    }

    .yg-blog-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .yg-blog-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .yg-blog-related-grid {
        grid-template-columns: 1fr;
    }
}
