:root {
    --blog-ink: #090f2e;
    --blog-muted: #586178;
    --blog-line: #e9edf6;
    --blog-soft: #f7f9fe;
    --blog-card: #ffffff;
    --blog-orange: #ff4d1f;
    --blog-orange-2: #ff7b4b;
    --blog-violet: #7462e8;
    --blog-green: #25c38b;
    --blog-blue: #3587ff;
    --blog-yellow: #ffc35a;
    --blog-shadow: 0 18px 50px rgba(28, 39, 82, 0.08);
}

* {
    box-sizing: border-box;
}

body.blog-page {
    margin: 0;
    background: linear-gradient(180deg, #fbfcff 0%, #ffffff 38%, #fbfcff 100%);
    color: var(--blog-ink);
    font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.blog-shell {
    min-height: 100vh;
}

.blog-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.blog-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid var(--blog-line);
    backdrop-filter: blur(14px);
}

.blog-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
}

.blog-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blog-ink);
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
}

.blog-logo-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blog-orange), #ff6d2f);
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(255, 77, 31, 0.24);
}

.blog-logo-mark svg {
    width: 24px;
    height: 24px;
}

.blog-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.blog-nav a {
    position: relative;
    color: var(--blog-ink);
    font-weight: 700;
    text-decoration: none;
    padding: 30px 0;
}

.blog-nav a.active {
    color: var(--blog-orange);
}

.blog-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--blog-orange);
}

.blog-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--blog-ink);
    font-weight: 700;
}

.blog-language,
.blog-theme {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blog-ink);
    text-decoration: none;
}

.blog-theme {
    width: 34px;
    height: 34px;
    justify-content: center;
    border-radius: 50%;
}

.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 66px 0 62px;
    border-bottom: 1px solid #f2f4fb;
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 52px;
}

.blog-eyebrow {
    margin: 0 0 8px;
    color: var(--blog-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin: 0;
    max-width: 660px;
    color: var(--blog-ink);
    font-size: clamp(42px, 5vw, 52px);
    line-height: 1.06;
    font-weight: 900;
}

.blog-hero p {
    margin: 18px 0 34px;
    color: var(--blog-muted);
    font-size: 21px;
    line-height: 1.5;
}

.blog-search {
    display: flex;
    width: min(630px, 100%);
    min-height: 58px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(30, 42, 74, 0.09);
}

.blog-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 0 26px;
    color: var(--blog-ink);
    font: inherit;
    font-size: 17px;
    outline: none;
}

.blog-search button {
    width: 62px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blog-orange), #ff6b32);
    cursor: pointer;
}

.blog-hero-art {
    min-height: 260px;
    position: relative;
}

.art-window {
    position: absolute;
    right: 24px;
    top: 10px;
    width: 300px;
    height: 180px;
    border: 3px solid #dfe5ff;
    border-radius: 16px;
    background: rgba(235, 239, 255, 0.54);
    transform: rotate(6deg);
}

.art-window::before,
.art-window::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 28px;
    height: 22px;
    border-radius: 8px;
    background: #e1e6fb;
}

.art-window::before {
    top: 46px;
}

.art-window::after {
    top: 86px;
    width: 82px;
}

.art-dots {
    position: absolute;
    top: 18px;
    left: 28px;
    display: flex;
    gap: 10px;
}

.art-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #aeb9fa;
}

.art-question {
    position: absolute;
    left: 84px;
    top: 82px;
    display: grid;
    place-items: center;
    width: 116px;
    height: 128px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff8e67, var(--blog-orange));
    border-radius: 18px;
    font-size: 72px;
    font-weight: 900;
    box-shadow: 0 22px 44px rgba(255, 77, 31, 0.22);
}

.art-chat {
    position: absolute;
    right: 0;
    bottom: 42px;
    display: grid;
    place-items: center;
    width: 76px;
    height: 54px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--blog-shadow);
}

.art-chat::after {
    content: "...";
    color: #aab3f2;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    padding: 18px 0 54px;
}

.blog-panel {
    background: var(--blog-card);
    border: 1px solid var(--blog-line);
    border-radius: 10px;
    box-shadow: var(--blog-shadow);
}

.blog-list-panel {
    padding: 34px 36px 28px;
}

.blog-section-title {
    margin: 0 0 26px;
    font-size: 22px;
    line-height: 1.2;
}

.article-row {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    padding: 25px 0;
    border-top: 1px solid var(--blog-line);
    text-decoration: none;
}

.article-row:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.article-row h2 {
    margin: 8px 0 12px;
    color: var(--blog-ink);
    font-size: 23px;
    line-height: 1.2;
}

.article-row p {
    margin: 0 0 18px;
    color: var(--blog-muted);
    font-size: 16px;
    line-height: 1.48;
}

.article-meta {
    color: var(--blog-muted);
    font-size: 15px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.badge.guide,
.badge.update {
    color: var(--blog-orange);
    background: rgba(255, 77, 31, 0.1);
}

.badge.feature {
    color: var(--blog-violet);
    background: rgba(116, 98, 232, 0.12);
}

.badge.tips {
    color: #0aa878;
    background: rgba(37, 195, 139, 0.13);
}

.badge.help {
    color: var(--blog-blue);
    background: rgba(53, 135, 255, 0.12);
}

.blog-thumb,
.popular-thumb,
.related-thumb,
.article-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.blog-thumb {
    min-height: 170px;
}

.thumb-orange {
    background: linear-gradient(135deg, #ff865b, #ff6031);
}

.thumb-purple {
    background: linear-gradient(135deg, #d9d1ff, #9a8df0);
}

.thumb-green {
    background: linear-gradient(135deg, #72e4bb, #35cc95);
}

.thumb-blue {
    background: linear-gradient(135deg, #8fc4ff, #5fa5ff);
}

.thumb-yellow {
    background: linear-gradient(135deg, #ffd879, #ffb442);
}

.blog-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.phone-card {
    width: 82px;
    height: 126px;
    border: 5px solid #282b36;
    border-radius: 16px;
    transform: rotate(-6deg);
}

.download-circle,
.star-circle,
.shield-icon,
.pin-icon,
.magnifier-icon,
.folder-icon {
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
}

.download-circle {
    width: 76px;
    height: 76px;
    margin-left: 86px;
    background: #ffffff;
    color: var(--blog-orange);
    border-radius: 50%;
    font-size: 44px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.magnifier-icon {
    width: 84px;
    height: 84px;
    border: 8px solid #7e70dd;
    border-radius: 50%;
}

.magnifier-icon::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 8px;
    background: #7e70dd;
    transform: translate(52px, 48px) rotate(45deg);
    border-radius: 99px;
}

.folder-icon {
    width: 118px;
    height: 76px;
    background: #ffe9ad;
    border-radius: 10px;
    box-shadow: inset 0 22px 0 rgba(255, 211, 91, 0.5);
}

.star-circle {
    width: 60px;
    height: 60px;
    margin-left: 100px;
    background: #ffc44e;
    border-radius: 50%;
    font-size: 34px;
}

.shield-icon {
    width: 86px;
    height: 98px;
    background: #ffffff;
    clip-path: polygon(50% 0, 92% 16%, 84% 76%, 50% 100%, 16% 76%, 8% 16%);
    color: var(--blog-blue);
    font-size: 54px;
}

.pin-icon {
    width: 118px;
    height: 118px;
    background: #fff4d7;
    border-radius: 50%;
    color: var(--blog-orange);
    font-size: 54px;
}

.blog-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.side-card {
    padding: 34px 34px 30px;
}

.side-card h2 {
    margin: 0 0 26px;
    font-size: 20px;
}

.category-list,
.popular-list,
.toc-list,
.related-list {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list li,
.popular-list li {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 16px;
    color: var(--blog-muted);
    font-weight: 700;
}

.category-list strong,
.popular-list strong {
    color: var(--blog-ink);
    font-weight: 700;
}

.category-icon {
    font-size: 18px;
}

.popular-list li {
    grid-template-columns: 26px 76px 1fr;
    align-items: start;
    gap: 14px;
}

.rank {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    background: #f2f5fb;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.popular-thumb {
    width: 76px;
    height: 62px;
}

.popular-list a,
.related-list a {
    color: var(--blog-ink);
    font-weight: 800;
    line-height: 1.34;
    text-decoration: none;
}

.small-meta {
    display: block;
    margin-top: 7px;
    color: var(--blog-muted);
    font-weight: 700;
}

.blog-footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--blog-line);
}

.blog-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 42px;
}

.blog-footer h3 {
    margin: 0 0 18px;
    font-size: 15px;
}

.blog-footer p,
.blog-footer a {
    color: var(--blog-muted);
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 18px;
    font-weight: 900;
}

.blog-copyright {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--blog-line);
    color: var(--blog-muted);
    text-align: center;
    font-size: 14px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    padding: 36px 0 74px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #8a93a8;
    font-size: 14px;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--blog-orange);
    text-decoration: none;
}

.article-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--blog-muted);
    font-size: 14px;
    font-weight: 800;
}

.blog-article h1 {
    margin: 0;
    max-width: 720px;
    color: var(--blog-ink);
    font-size: clamp(42px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 900;
}

.article-lede {
    max-width: 760px;
    margin: 22px 0 24px;
    color: var(--blog-muted);
    font-size: 21px;
    line-height: 1.55;
}

.author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blog-muted);
    font-weight: 800;
}

.author-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #ffffff;
    background: var(--blog-orange);
    border-radius: 50%;
    font-weight: 900;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blog-muted);
    font-weight: 800;
}

.share-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--blog-blue);
    background: #eef5ff;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 900;
}

.article-hero-image {
    height: 302px;
    margin-bottom: 34px;
    background: linear-gradient(135deg, #ffd7cf, #ffc4b7);
}

.hero-shopee-bag {
    position: absolute;
    left: 72px;
    top: 84px;
    color: var(--blog-orange);
    font-size: 94px;
    font-weight: 900;
}

.hero-arrow {
    position: absolute;
    left: 210px;
    top: 120px;
    color: #ffffff;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 10px;
}

.hero-phone {
    position: absolute;
    right: 86px;
    bottom: -4px;
    width: 142px;
    height: 256px;
    background: linear-gradient(180deg, #2a3045, #101422);
    border-radius: 26px;
    box-shadow: 0 20px 38px rgba(7, 12, 34, 0.25);
}

.hero-phone::after {
    content: "";
    position: absolute;
    inset: 24px 12px 16px;
    border-radius: 16px;
    background: linear-gradient(160deg, #f4a29d, #6d4d65);
}

.article-section {
    margin: 0 0 40px;
}

.article-section h2 {
    margin: 0 0 14px;
    color: var(--blog-ink);
    font-size: 28px;
    line-height: 1.22;
}

.article-section p {
    color: var(--blog-muted);
    font-size: 17px;
    line-height: 1.68;
}

.topic-icons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.topic-icon {
    text-align: center;
    color: var(--blog-ink);
    font-size: 14px;
    font-weight: 800;
}

.topic-icon span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    border-radius: 50%;
    font-size: 24px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: var(--blog-muted);
    font-size: 17px;
}

.check-list li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    color: #ffffff;
    background: #22b66e;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.steps-strip {
    display: grid;
    grid-template-columns: repeat(9, minmax(70px, 1fr));
    border: 1px solid var(--blog-line);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(28, 39, 82, 0.06);
}

.step-card {
    position: relative;
    min-height: 158px;
    padding: 26px 10px 12px;
    border-right: 1px solid var(--blog-line);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.step-card:last-child {
    border-right: 0;
}

.step-number {
    position: absolute;
    top: -1px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #ffffff;
    background: var(--blog-orange);
    border-radius: 50%;
    transform: translateX(-50%);
    font-size: 12px;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 58px;
    margin: 0 auto 12px;
    color: var(--blog-orange);
    background: #f4f7fc;
    border-radius: 8px;
    font-size: 24px;
}

.region-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 22px 0;
    color: var(--blog-ink);
    font-weight: 800;
}

.tip-box {
    padding: 18px 22px;
    color: #8b5c00;
    background: #fff8e7;
    border: 1px solid #ffe4a5;
    border-radius: 8px;
    font-weight: 800;
}

.feedback-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 46px;
    padding: 22px 24px;
    border: 1px solid var(--blog-line);
    border-radius: 10px;
    background: #ffffff;
}

.feedback-actions {
    display: flex;
    gap: 10px;
}

.feedback-actions button {
    min-width: 168px;
    min-height: 48px;
    border: 1px solid var(--blog-line);
    background: #ffffff;
    border-radius: 8px;
    color: var(--blog-ink);
    font: inherit;
    font-weight: 800;
}

.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 28px;
}

.sticky-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 28px;
}

.toc-list {
    gap: 19px;
}

.toc-list a {
    color: var(--blog-ink);
    font-weight: 800;
    text-decoration: none;
}

.toc-list .sub {
    margin-left: 18px;
    color: var(--blog-muted);
}

.toc-list .sub::before {
    content: "•";
    margin-right: 12px;
    color: var(--blog-orange);
}

.related-list li {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 16px;
}

.related-thumb {
    width: 78px;
    height: 78px;
}

.help-card {
    padding: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff4ef, #ffe3d7);
}

.help-card p {
    color: var(--blog-muted);
    line-height: 1.5;
}

.help-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blog-orange), #ff6d2f);
    border-radius: 7px;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .blog-container {
        width: min(100% - 28px, 720px);
    }

    .blog-header-inner,
    .blog-nav,
    .blog-actions {
        gap: 16px;
    }

    .blog-header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .blog-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .blog-nav a {
        padding: 10px 0 14px;
        white-space: nowrap;
    }

    .blog-hero-grid,
    .blog-layout,
    .detail-layout,
    .blog-footer-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-art {
        display: none;
    }

    .article-row {
        grid-template-columns: 1fr;
    }

    .blog-thumb {
        min-height: 210px;
    }

    .detail-sidebar,
    .sticky-side {
        position: static;
    }

    .steps-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .topic-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-box,
    .author-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .blog-hero {
        padding: 42px 0;
    }

    .blog-hero h1,
    .blog-article h1 {
        font-size: 36px;
    }

    .blog-list-panel,
    .side-card {
        padding: 24px 20px;
    }

    .steps-strip {
        grid-template-columns: 1fr 1fr;
    }

    .article-hero-image {
        height: 230px;
    }

    .hero-phone {
        right: 24px;
    }

    .hero-shopee-bag {
        left: 28px;
    }

    .hero-arrow {
        left: 140px;
        letter-spacing: 3px;
    }
}
