.blog-main {
    --sea-green: #2e8b57;
    --emerald: #2ecc71;
    --light-coral: #f16669;
    --off-black: #11131a;
    --off-white: #f1f2f6;
    --white: #ffffff;
    --muted: #5f6368;
    --gradient-green: linear-gradient(135deg, #2e8b57 0%, #2ecc71 100%);
    font-family: "Outfit", sans-serif;
    background: var(--off-white);
    color: var(--off-black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.blog-main * {
    box-sizing: border-box;
}

.blog-shell {
    padding: 48px 20px 90px;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-layout {
    display: grid;
    gap: 36px;
}

.blog-article {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 36px 48px;
    box-shadow: 0 20px 60px rgba(17, 19, 26, 0.08);
}

.blog-breadcrumb {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8f98;
    margin-bottom: 12px;
}

.blog-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--off-black);
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-green);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: #6b7078;
}

.author-name {
    font-weight: 600;
    color: var(--off-black);
}

.blog-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e3e8;
    background: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-action-btn svg {
    width: 16px;
    height: 16px;
    stroke: #6f747c;
}

.blog-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 19, 26, 0.08);
}

.blog-hero {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(17, 19, 26, 0.12);
}

.blog-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-intro {
    margin-top: 24px;
    padding: 18px 20px;
    background: #f7f8fb;
    border-left: 4px solid var(--sea-green);
    border-radius: 12px;
    color: #4e5258;
    font-size: 16px;
}

.blog-body {
    margin-top: 28px;
}

.blog-main .post-body p {
    color: #555;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.blog-main .post-body p:last-child {
    margin-bottom: 0;
}

.blog-main .post-body h2,
.blog-main .post-body h3 {
    font-family: "Space Grotesk", sans-serif;
    color: var(--off-black);
    margin: 32px 0 16px;
    line-height: 1.3;
}

.blog-main .post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(17, 19, 26, 0.08);
}

.blog-main .post-body figcaption {
    font-size: 12px;
    color: #7b8088;
    margin-top: 8px;
}

.blog-sidebar {
    display: grid;
    gap: 24px;
}

.sidebar-card,
.sidebar-section {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(17, 19, 26, 0.08);
    overflow: hidden;
}

.sidebar-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sidebar-card img {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-card-body {
    padding: 18px 20px 22px;
}

.sidebar-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8d929a;
    margin-bottom: 8px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--off-black);
    margin-bottom: 6px;
}

.sidebar-caption {
    font-size: 13px;
    color: #6b7078;
    line-height: 1.6;
}

.sidebar-section {
    padding: 18px 20px 22px;
}

.sidebar-section h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    margin-bottom: 14px;
    color: var(--off-black);
}

.x-toc .list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.x-toc .list li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.x-toc .list li.active a {
    color: var(--off-black);
    font-weight: 600;
}

.sidebar-note {
    padding: 18px 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.12) 0%, rgba(46, 204, 113, 0.12) 100%);
}

.sidebar-note h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--off-black);
}

.sidebar-note p {
    font-size: 13px;
    color: #4e5258;
    margin-bottom: 12px;
}

.sidebar-note a {
    font-weight: 600;
    color: var(--sea-green);
    text-decoration: none;
}

.blog-main .insight-card,
.blog-main .reason-card {
    margin: 32px 0;
    padding: 28px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid rgba(46, 139, 87, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-main .insight-card:hover,
.blog-main .reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 139, 87, 0.14);
}

.blog-main .insight-card::before,
.blog-main .reason-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-green);
}

.blog-main .insight-number,
.blog-main .reason-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-green);
    border-radius: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
}

.blog-main .insight-card h2,
.blog-main .reason-card h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 600;
    color: var(--off-black);
    margin-bottom: 14px;
    line-height: 1.3;
}

.blog-main .insight-card p,
.blog-main .reason-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.blog-main .insight-card p:last-child,
.blog-main .reason-card p:last-child {
    margin-bottom: 0;
}

.blog-main .callout {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.08) 0%, rgba(46, 204, 113, 0.08) 100%);
    border-left: 4px solid var(--emerald);
    padding: 18px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

.blog-main .callout p {
    color: var(--off-black);
    font-weight: 500;
    margin-bottom: 0;
}

.blog-main .stat-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-coral);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.blog-main .tip-box {
    background: var(--off-black);
    color: white;
    padding: 22px 24px;
    border-radius: 14px;
    margin: 20px 0;
    position: relative;
}

.blog-main .tip-box::before {
    content: "\1F4A1";
    position: absolute;
    top: -12px;
    left: 18px;
    font-size: 22px;
}

.blog-main .tip-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .blog-sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

@media (max-width: 600px) {
    .blog-article {
        padding: 28px 22px 36px;
    }

    .blog-shell {
        padding: 32px 16px 70px;
    }
}
