.native-blog {
    --blog-accent: var(--red, #ff2433);
    --blog-ink: #15191a;
    --blog-muted: #667073;
    --blog-line: #dedfdb;
    --blog-paper: #f5f4f0;
    --blog-container: 1400px;
    --blog-reading: 760px;
    --blog-gutter: clamp(20px, 5vw, 72px);
}

.native-blog .topbar,
.native-blog .send-topbar {
    position: sticky;
    z-index: 100;
    top: 0;
    background: #07090a;
    border-bottom-color: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.native-blog .nav > a.active,
.native-blog .send-nav > a.active { color: #fff; }
.native-blog .nav > a.active::after,
.native-blog .send-nav > a.active::after { background: var(--blog-accent); }
.native-blog .topbar .desktop-cta > span { display: inline; color: #fff; opacity: 1; visibility: visible; }
.native-blog main { min-width: 0; color: var(--blog-ink); background: var(--blog-paper); }

.native-blog-hero { display: flex; min-height: 446px; align-items: center; padding: clamp(72px, 8vw, 112px) 0 clamp(52px, 6vw, 78px); color: #fff; background: #0c0f10; }
.native-blog-hero-inner { width: min(var(--blog-container), calc(100% - 2 * var(--blog-gutter))); margin: 0 auto; }
.native-blog-hero span { color: var(--blog-accent); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.native-blog-hero h1 { max-width: 900px; margin: 18px 0; color: #fff; font-size: clamp(38px, 4.7vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.05em; text-align: left; }
.native-blog-hero p { max-width: 680px; margin: 0; color: #a9b0b2; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.7; }

.native-posts { display: grid; width: min(var(--blog-container), calc(100% - 2 * var(--blog-gutter))); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0 auto; padding: clamp(58px, 6vw, 82px) 0 clamp(85px, 8vw, 120px); }
.native-posts article { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--blog-line); border-radius: 2px; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.native-posts article:hover { border-color: #c7cbc8; box-shadow: 0 18px 45px rgba(18, 25, 26, .08); transform: translateY(-3px); }
.native-post-image { display: block; overflow: hidden; background: #e9ebe8; }
.native-post-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease; }
.native-posts article:hover .native-post-image img { transform: scale(1.025); }
.native-posts article > div { padding: 25px; }
.native-posts article > div > span { color: var(--blog-accent); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.native-posts time { float: right; color: #8a9294; font-size: 9px; }
.native-posts h2 { min-height: 62px; margin: 18px 0 10px; color: var(--blog-ink); font-size: clamp(20px, 1.65vw, 24px); font-weight: 500; line-height: 1.26; letter-spacing: -.025em; }
.native-posts h2 a { color: inherit; }
.native-posts p { min-height: 64px; margin: 0 0 18px; color: var(--blog-muted); font-size: 12px; line-height: 1.65; }
.native-read { display: block; padding-top: 15px; color: var(--blog-ink); border-top: 1px solid #ecece8; font-size: 10px; font-weight: 700; }
.native-empty { grid-column: 1/-1; padding: 50px; color: var(--blog-muted); background: #fff; border: 1px solid var(--blog-line); text-align: center; }

.native-article { width: min(1100px, calc(100% - 2 * var(--blog-gutter))); margin: 0 auto; padding: clamp(65px, 7vw, 95px) 0 clamp(90px, 9vw, 135px); }
.native-article > header { max-width: 880px; margin: 0 auto; }
.native-article > header > a { display: inline-block; float: none; margin-right: 0; margin-left: 0; color: #555e60; font-size: 10px; font-weight: 600; text-align: left; }
.native-article > header > a:hover { color: var(--blog-accent); }
.native-article > header > span { display: block; margin-top: clamp(38px, 5vw, 58px); color: var(--blog-accent); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.native-article h1 { margin: 17px 0; color: var(--blog-ink); font-size: clamp(36px, 4.5vw, 62px); font-weight: 300; line-height: 1.03; letter-spacing: -.045em; }
.native-article header p { max-width: 800px; margin: 0 0 18px; color: #5f696b; font-size: clamp(16px, 1.55vw, 20px); line-height: 1.65; }
.native-article time { color: #858e90; font-size: 10px; }
.native-cover { display: block; width: 100%; max-height: 620px; margin: clamp(42px, 5vw, 60px) 0; aspect-ratio: 16/8.5; object-fit: cover; background: #e7e9e6; }

.native-content { max-width: var(--blog-reading); margin: 0 auto; color: #252b2d; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.native-content > :first-child { margin-top: 0; }
.native-content > :last-child { margin-bottom: 0; }
.native-content p { margin: 0 0 1.45em; }
.native-content h2,
.native-content h3,
.native-content h4 { color: var(--blog-ink); font-weight: 550; line-height: 1.2; letter-spacing: -.025em; }
.native-content h2 { margin: 2.1em 0 .75em; font-size: clamp(27px, 2.7vw, 34px); }
.native-content h3 { margin: 1.8em 0 .65em; font-size: clamp(22px, 2.1vw, 27px); }
.native-content h4 { margin: 1.6em 0 .55em; font-size: 20px; }
.native-content ul,
.native-content ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.native-content li { margin: .55em 0; padding-left: .3em; }
.native-content li::marker { color: var(--blog-accent); font-weight: 700; }
.native-content strong { color: #111516; font-weight: 700; }
.native-content a { color: #b70f1d; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(183, 15, 29, .35); text-underline-offset: 3px; }
.native-content a:hover { text-decoration-color: currentColor; }
.native-content blockquote { margin: 2em 0; padding: 22px 26px; color: #424a4c; background: #ebece8; border-left: 3px solid var(--blog-accent); }
.native-content blockquote p:last-child { margin-bottom: 0; }
.native-content code { padding: .15em .38em; color: #24292a; background: #e8eae7; border-radius: 3px; font: .88em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.native-content pre { max-width: 100%; margin: 1.8em 0; padding: 20px; overflow: auto; color: #e8ebec; background: #111516; border-radius: 4px; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.native-content pre code { padding: 0; color: inherit; background: transparent; }
.native-content hr { height: 1px; margin: 2.5em 0; background: var(--blog-line); border: 0; }
.native-content figure { margin: 2.2em 0; }
.native-content img { display: block; width: auto; max-width: 100%; height: auto; margin: 2.2em auto; }
.native-content figure img { margin: 0 auto; }
.native-content figcaption { margin-top: 10px; color: #7c8587; font-size: 12px; line-height: 1.55; text-align: center; }
.native-content table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.native-content th,
.native-content td { padding: 12px 14px; border: 1px solid var(--blog-line); text-align: left; vertical-align: top; }
.native-content th { color: var(--blog-ink); background: #ebece8; font-weight: 700; }

.native-preview { width: min(var(--blog-container), calc(100% - 2 * var(--blog-gutter))) !important; max-width: var(--blog-container) !important; margin: 0 auto !important; padding-top: 85px !important; padding-bottom: 85px !important; }
.native-preview > header { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.native-preview > header span { color: var(--blog-accent); font-size: 9px; letter-spacing: .16em; }
.native-preview > header h2 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 55px); font-weight: 300; }
.native-preview > header > a { font-size: 11px; }
.native-preview > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.native-preview article { min-width: 0; background: #fff; border: 1px solid var(--blog-line); }
.native-preview img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.native-preview article section { padding: 22px; }
.native-preview small { color: var(--blog-accent); font-size: 8px; letter-spacing: .1em; }
.native-preview h3 { margin: 13px 0 8px; font-size: 20px; }
.native-preview p { color: var(--blog-muted); font-size: 12px; line-height: 1.6; }
.native-preview article section > a { font-size: 10px; font-weight: 700; }

@media (max-width: 1000px) {
    .native-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .native-preview > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .native-blog { --blog-gutter: 20px; }
    .native-blog-hero { min-height: 0; padding: 62px 0 50px; }
    .native-blog-hero h1 { font-size: 40px; }
    .native-posts,
    .native-preview > div { grid-template-columns: 1fr; }
    .native-posts { gap: 18px; padding: 45px 0 80px; }
    .native-posts h2,
    .native-posts p { min-height: 0; }
    .native-article { padding: 48px 0 82px; }
    .native-article > header > span { margin-top: 34px; }
    .native-cover { width: calc(100% + 2 * var(--blog-gutter)); max-width: none; margin-left: calc(-1 * var(--blog-gutter)); aspect-ratio: 4/3; }
    .native-content { font-size: 16px; line-height: 1.78; }
    .native-preview > header { align-items: flex-start; flex-direction: column; }
}
