/* ===============================================================
   Long-form pages: legal documents and the blog.
   Loaded after site.min.css on those pages only.
   =============================================================== */

/* ---- page banner ---- */
.doc-hero {
    position: relative;
    padding: 190px 0 64px;
    background: #030014;
    overflow: hidden;
    color: #fff;
}

.doc-hero::before,
.doc-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.doc-hero::before { top: -120px; left: -80px; width: 320px; height: 320px; background: #ee0979; opacity: .26; }
.doc-hero::after { right: -100px; bottom: -180px; width: 420px; height: 420px; background: #0A3459; opacity: .85; }

.doc-hero .themesflat-container { position: relative; z-index: 1; }

.doc-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    background: rgba(255, 255, 255, .06);
    color: #dbe4f0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.doc-hero__eyebrow a { color: inherit; }
.doc-hero__eyebrow a:hover { color: #fff; }

.doc-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1px;
    text-wrap: balance;
}

.doc-hero p.doc-hero__lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: #b9c5d6;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}

.doc-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: #b9c5d6;
    font-size: 14.5px;
    line-height: 1.5;
}

.doc-hero__meta strong { color: #fff; font-weight: 600; }

/* ---- layout: contents list + article ---- */
.doc-body { padding: 64px 0 90px; background: #fff; }

.doc-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.doc-grid--single { grid-template-columns: minmax(0, 820px); justify-content: center; }

.doc-toc {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 150px);
    padding: 22px 8px 22px 22px;
    border: 1px solid #e6eaf1;
    border-radius: 16px;
    background: #f8fafd;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.doc-toc summary {
    display: block;
    color: #0a1f44;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
}

.doc-toc summary::-webkit-details-marker { display: none; }

.doc-toc ol { margin: 12px 0 0; padding: 0; list-style: none; }
.doc-toc li { margin: 0; }

.doc-toc a {
    display: block;
    padding: 6px 10px;
    border-left: 2px solid transparent;
    color: #5a6474;
    font-size: 13.5px;
    line-height: 1.45;
}

.doc-toc a:hover { border-left-color: #ee0979; color: #d6086e; }

/* ---- text ---- */
.prose { color: #475062; font-size: 16.5px; line-height: 1.75; }

.prose p,
.prose li,
.prose td,
.prose th { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

.prose p { margin: 0 0 16px; color: inherit; font-size: inherit; line-height: inherit; }

.prose h2 {
    margin: 48px 0 16px;
    color: #0a1f44;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.4px;
    scroll-margin-top: 28px; /* adds to the 96px scroll-padding on html */
}

.prose > h2:first-child,
.prose section:first-child > h2 { margin-top: 0; }

.prose h3 { margin: 30px 0 12px; color: #0a1f44; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }

.prose ul,
.prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 9px; padding-left: 4px; color: inherit; font-size: inherit; line-height: 1.7; list-style: inherit; }
.prose li::marker { color: #d6086e; font-weight: 600; }

.prose strong { color: #0a1f44; font-weight: 600; }

.prose a:not(.fa-btn) { color: #c40763; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:not(.fa-btn):hover { color: #0a1f44; }

.prose address { margin: 0 0 16px; font-style: normal; line-height: 1.7; }

.prose__note,
.prose blockquote {
    margin: 0 0 18px;
    padding: 16px 20px;
    border: 0;
    border-left: 4px solid #ee0979;
    border-radius: 0 12px 12px 0;
    background: #fdf3f8;
    color: #0a1f44;
}

.prose__note p:last-child,
.prose blockquote p:last-child { margin-bottom: 0; }

.prose__table {
    margin: 6px 0 24px;
    border: 1px solid #e6eaf1;
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prose__table:focus-visible { outline: 2px solid #ee0979; outline-offset: 2px; }

/* the theme sets fixed columns and dark borders on every table */
.prose table { width: 100%; min-width: 460px; margin: 0; border: 0; border-collapse: collapse; table-layout: auto; font-size: 15px; line-height: 1.6; }
.prose th { padding: 13px 16px; border: 0; background: #0a1f44; color: #fff; font-weight: 600; vertical-align: top; }
.prose td { padding: 13px 16px; border: 0; border-top: 1px solid #e6eaf1; color: #475062; vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #f8fafd; }
.prose td:first-child { color: #0a1f44; font-weight: 500; }
.prose tr.is-total td { background: #eef2f8; color: #0a1f44; font-weight: 700; }

/* ---- related documents / call to action ---- */
.doc-related,
.post-cta { margin: 48px 0 0; padding: 28px 30px; border-radius: 18px; }

.doc-related { border: 1px solid #e6eaf1; background: #f8fafd; }
.doc-related p { margin: 0; }

.post-cta { background: linear-gradient(135deg, #0a1f44, #0A3459); color: #dbe4f0; }
.post-cta h2 { margin: 0 0 10px !important; color: #fff; font-size: 23px; }
.post-cta p { margin: 0 0 18px; color: #dbe4f0; }
.post-cta a:not(.fa-btn) { color: #fff; }
.post-cta a:not(.fa-btn):hover { color: #ffd1e8; }
.post-cta .fa-btn { display: inline-flex; margin: 0 14px 0 0; }
.post-cta__more { margin: 18px 0 0 !important; font-size: 15px; }

/* ---- blog: questions ---- */
.post-faq { margin: 0 0 8px; }
.post-faq h3 { margin: 22px 0 6px; font-size: 17.5px; }
.post-faq p { margin-bottom: 0; }

/* ---- blog: listing banner ---- */
.blog-hero { padding: 168px 0 72px; }
.blog-hero::before { width: 420px; height: 420px; opacity: .3; }
.blog-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.blog-hero h1 { font-size: 54px; line-height: 1.1; letter-spacing: -1.4px; }
.blog-hero h1 span { display: block; background: linear-gradient(100deg, #ff4d94, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero p.doc-hero__lead { max-width: 560px; margin-top: 20px; }
.blog-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.blog-hero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .05); color: #dbe4f0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.blog-hero__facts svg { color: #ff7a59; }
.blog-hero__art { width: 100%; max-width: 520px; height: auto; justify-self: end; filter: drop-shadow(0 30px 60px rgba(3, 0, 20, .5)); }
.blog-hero__route { animation: blogRoute 1.6s linear infinite; }
.blog-hero__cab { animation: blogCab 4s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes blogRoute { to { stroke-dashoffset: -28; } }
@keyframes blogCab { from { transform: translate(-6px, 3px); } to { transform: translate(6px, -3px); } }

/* ---- blog: listing ---- */
.blog-main { padding: 64px 0 100px; background: linear-gradient(180deg, #f4f6fa 0, #fff 420px); }

.blog-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 30px; }
.blog-bar__title { margin: 0; color: #0a1f44; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.6px; }
.blog-bar__count { margin: 6px 0 0; color: #5a6474; font-size: 15px; line-height: 1.4; }

.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 1px solid #dfe4ee; border-radius: 12px; background: #fff; color: #33405a; font: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.blog-filter button::before,
.blog-filter button::after { content: none !important; display: none !important; }
.blog-filter button:hover { border-color: #0a1f44; color: #0a1f44; }
.blog-filter button[aria-pressed="true"] { border-color: #0a1f44; background: #0a1f44; color: #fff; }
.blog-filter button:focus-visible { outline: 3px solid rgba(238, 9, 121, .45); outline-offset: 2px; }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.post-list > li[hidden] { display: none; }
.post-item--featured { grid-column: span 2; }
/* no empty cells at the end of the grid: a short last row stretches */
.post-list--all > li:not(:first-child):last-child:nth-child(3n+1) { grid-column: span 2; }
.post-list--all > li:not(:first-child):last-child:nth-child(3n) { grid-column: 1 / -1; }
.post-list--all > li:last-child:not(:first-child) .post-card p { max-width: 68ch; }

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e6eaf1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(10, 31, 68, .04);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.post-card:hover { border-color: rgba(10, 31, 68, .14); box-shadow: 0 22px 44px rgba(10, 31, 68, .12); transform: translateY(-4px); }
.post-card:focus-within { outline: 3px solid rgba(238, 9, 121, .45); outline-offset: 2px; }

.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px 28px 24px; }

.post-card__topic { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-bottom: 18px; padding: 6px 11px; border-radius: 8px; background: #fdf0f6; color: #b00659; font-size: 13px; font-weight: 600; line-height: 1.2; }

.post-card h2 { margin: 0 0 12px; font-size: 21px; font-weight: 600; line-height: 1.38; letter-spacing: -.3px; text-wrap: balance; }
.post-card h2 a { color: #0a1f44; transition: color .2s ease; }
.post-card:hover h2 a { color: #c40763; }
/* the whole card is clickable */
.post-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.post-card h2 a:focus { outline: none; }
.post-card p { margin: 0 0 24px; color: #5a6474; font-size: 15px; line-height: 1.65; text-align: left; hyphens: manual; text-wrap: pretty; }

.post-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid #eef1f6; }
.post-card__meta { display: inline-flex; flex-wrap: wrap; gap: 8px; color: #6b7585; font-size: 13.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.post-card__go { display: inline-flex; align-items: center; gap: 6px; color: #0a1f44; font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.post-card__go svg { transition: transform .25s ease; }
.post-card:hover .post-card__go { color: #c40763; }
.post-card:hover .post-card__go svg { transform: translateX(4px); }

/* newest guide: wide card with a picture panel */
.post-card--featured { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.post-card--featured .post-card__body { padding: 36px 36px 28px; }
.post-card--featured h2 { font-size: 27px; letter-spacing: -.6px; }
.post-card--featured p { font-size: 16px; }

.post-card__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(238, 9, 121, .55), transparent 46%),
        radial-gradient(circle at 92% 96%, rgba(255, 106, 0, .4), transparent 44%),
        #0a1f44;
}
.post-card__visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.post-card__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(6px); transition: transform .35s ease; }
.post-card--featured:hover .post-card__icon { transform: rotate(-6deg) scale(1.05); }
.post-card__flag { position: relative; z-index: 1; align-self: flex-start; padding: 7px 12px; border-radius: 8px; background: #fff; color: #0a1f44; font-size: 13px; font-weight: 700; line-height: 1.2; }

/* ---- blog: call to action ---- */
.blog-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 64px; padding: 44px 48px; overflow: hidden; border-radius: 26px; background: radial-gradient(circle at 100% 0, rgba(238, 9, 121, .45), transparent 42%), linear-gradient(135deg, #0a1f44, #030014); color: #dbe4f0; }
.blog-cta__text { max-width: 620px; }
.blog-cta h2 { margin: 0 0 10px; color: #fff; font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.6px; text-wrap: balance; }
.blog-cta p { margin: 0; color: #c3cee0; font-size: 16.5px; line-height: 1.6; text-align: left; }
.blog-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.blog-cta__link { color: #fff; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.blog-cta__link:hover { color: #ffd1e8; text-decoration-color: currentColor; }

.preview-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 9990; padding: 10px 16px; background: #ffd166; color: #0a1f44; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; }

/* ---- responsive ---- */
@media (max-width: 1199px) {
    .doc-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
    .doc-grid--single { grid-template-columns: minmax(0, 820px); }
    .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-list--all > li:not(:first-child):last-child:nth-child(3n+1),
    .post-list--all > li:not(:first-child):last-child:nth-child(3n) { grid-column: auto; }
    .post-list--all > li:not(:first-child):last-child:nth-child(even) { grid-column: 1 / -1; }
    .blog-hero h1 { font-size: 46px; }
}

@media (max-width: 991px) {
    .doc-grid,
    .doc-grid--single { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .doc-toc { position: static; max-height: none; padding: 16px 18px; }
    .doc-toc summary { display: flex; justify-content: space-between; align-items: center; min-height: 28px; cursor: pointer; }
    .doc-toc summary::after { content: "+"; font-size: 20px; line-height: 1; }
    .doc-toc[open] summary::after { content: "\2212"; }
    .blog-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .blog-hero__art { display: none; }
    .blog-cta { padding: 36px 32px; }
}

@media (max-width: 767px) {
    .doc-hero { padding: 150px 0 46px; }
    .doc-hero h1 { font-size: 31px; letter-spacing: -.5px; }
    .doc-hero p.doc-hero__lead { font-size: 16px; }
    .doc-body { padding: 40px 0 64px; }
    .prose { font-size: 16px; }
    .prose h2 { margin-top: 38px; font-size: 23px; }
    .post-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .post-item--featured,
    .post-list--all > li:not(:first-child):last-child:nth-child(n) { grid-column: auto; }
    .post-card--featured { grid-template-columns: minmax(0, 1fr); }
    .post-card__visual { flex-direction: row; align-items: center; min-height: 0; padding: 20px; }
    .post-card__icon { width: 56px; height: 56px; border-radius: 16px; }
    .post-card--featured .post-card__body { padding: 24px 22px 20px; }
    .post-card--featured h2 { font-size: 22px; }
    .blog-hero h1 { font-size: 34px; letter-spacing: -.8px; }
    .blog-bar__title { font-size: 25px; }
    .blog-filter { flex-wrap: nowrap; width: calc(100% + 40px); margin: 0 -20px; padding: 0 20px 4px; overflow-x: auto; scrollbar-width: none; }
    .blog-filter::-webkit-scrollbar { display: none; }
    .blog-filter button { flex: 0 0 auto; }
    .blog-cta { margin-top: 44px; padding: 30px 22px; border-radius: 22px; }
    .blog-cta h2 { font-size: 24px; }
    .blog-cta__actions { width: 100%; }
    .prose table { min-width: 0; font-size: 14px; line-height: 1.5; }
    .prose table:has(th:nth-child(4)) { min-width: 560px; }
    .prose th,
    .prose td { padding: 10px 12px; }
    .doc-related,
    .post-cta { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .post-card,
    .post-card:hover { transition: none; transform: none; }
    .blog-hero__route, .blog-hero__cab { animation: none; }
}

@media print {
    #header_main, #footer, .doc-toc, .progress-wrap, #cc-banner, #sticky-fab, .tf-mouse { display: none !important; }
    .doc-hero { padding: 20px 0; background: none; }
    .doc-hero h1, .doc-hero__meta, .doc-hero__meta strong { color: #000; }
    .doc-grid { display: block; }
}

/* ---- legal documents: cards, tabs, reading position ---- */
.doc-hero--legal { padding: 170px 0 34px; }
.doc-hero--legal h1 { font-size: 50px; }
.doc-hero--legal .doc-hero__meta { margin-top: 14px; }

.doc-tabs { display: flex; gap: 8px; margin: 30px 0 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tabs a { flex: 0 0 auto; padding: 11px 20px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 30px; color: #dbe4f0; font-size: 14.5px; font-weight: 500; line-height: 1.3; transition: background-color .2s ease, color .2s ease; }
.doc-tabs a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.doc-tabs a.is-here { border-color: transparent; background: #fff; color: #0a1f44; font-weight: 600; }

.doc-body--legal { background: #f4f6fa; padding-top: 48px; }
.doc-body--legal .doc-toc { background: #fff; }
.doc-toc a { border-radius: 0 8px 8px 0; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.doc-toc a.is-here { border-left-color: #ee0979; background: #fdf3f8; color: #b00659; font-weight: 600; }

.doc-cards { display: grid; gap: 16px; counter-reset: sec; }
.doc-sec { padding: 30px 32px; border: 1px solid #e8ecf3; border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(10, 31, 68, .03); }
.doc-sec > :last-child { margin-bottom: 0; }
.doc-cards .doc-sec h2 { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 14px; font-size: 21px; line-height: 1.4; }
.doc-cards--numbered .doc-sec h2::before { counter-increment: sec; content: counter(sec); flex: 0 0 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #ee0979, #ff6a00); color: #fff; font-size: 15px; font-weight: 700; line-height: 34px; text-align: center; }
.doc-sec--intro { border-left: 4px solid #ee0979; }

@media (max-width: 991px) {
    .doc-body--legal .doc-toc { position: sticky; top: 74px; z-index: 5; max-height: 62vh; box-shadow: 0 8px 24px rgba(10, 31, 68, .08); }
}

@media (max-width: 767px) {
    .doc-hero, .doc-hero--legal { padding: 88px 0 22px; }
    .doc-hero h1, .doc-hero--legal h1 { font-size: 28px; }
    .doc-tabs { margin: 18px -20px 0; padding: 0 20px; }
    .doc-tabs a { padding: 9px 16px; font-size: 13.5px; }
    .doc-body, .doc-body--legal { padding: 16px 0 34px; }
    .doc-grid { gap: 14px; }
    .doc-toc, .doc-body--legal .doc-toc { top: 70px; padding: 12px 16px; border-radius: 16px; }
    .doc-toc a { padding: 10px; font-size: 14px; }
    .doc-cards { gap: 12px; }
    .doc-sec { padding: 20px 18px; border-radius: 18px; }
    .doc-cards .doc-sec h2 { gap: 12px; font-size: 18px; scroll-margin-top: 70px; }
    .doc-cards--numbered .doc-sec h2::before { flex-basis: 30px; height: 30px; border-radius: 10px; font-size: 14px; line-height: 30px; }
    .doc-cards.prose { font-size: 15.5px; }
    .post-list { gap: 12px; }
    .post-card__body { padding: 20px; }
    .blog-hero { padding: 88px 0 28px; }
    .blog-hero h1 { font-size: 30px; }
    .blog-hero__facts { margin-top: 20px; }
    .blog-hero__facts li { padding: 8px 12px; font-size: 13px; }
    .blog-main { padding: 28px 0 40px; }
    .blog-bar { margin-bottom: 18px; }
}

/* ===============================================================
   Blog article pages
   =============================================================== */
.post-hero { padding: 160px 0 64px; }
.post-hero .themesflat-container { position: relative; }
.post-hero h1 { max-width: 860px; font-size: 48px; line-height: 1.14; letter-spacing: -1.2px; }
.post-hero p.doc-hero__lead { max-width: 720px; }
.post-hero__mark { position: absolute; top: -10px; right: 20px; color: #ff4d94; opacity: .1; pointer-events: none; }
.post-hero__mark svg { stroke-width: 1.1; }

.post-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; color: #8d9ab0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.post-crumbs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; transition: background-color .2s ease; }
.post-crumbs a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.post-crumbs span:last-child { color: #dbe4f0; }

.post-byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.post-byline__mark { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; }
.post-byline .doc-hero__meta { margin: 0; }

/* layout: contents | article | side card */
.post-body { padding: 56px 0 80px; background: linear-gradient(180deg, #f4f6fa 0, #fff 520px); }
.post-grid { grid-template-columns: 240px minmax(0, 1fr) 250px; gap: 44px; }
.post-body .doc-toc { top: 110px; background: #fff; box-shadow: 0 2px 10px rgba(10, 31, 68, .04); }
.post-body .doc-toc a { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

.post-prose { min-width: 0; padding: 44px 48px; border: 1px solid #e8ecf3; border-radius: 24px; background: #fff; box-shadow: 0 2px 12px rgba(10, 31, 68, .04); }
.post-prose > p:first-child { margin-bottom: 22px; color: #1f2b45; font-size: 19px; line-height: 1.7; }
.post-prose h2 { scroll-margin-top: 40px; }
.post-prose > h2::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: linear-gradient(135deg, #ee0979, #ff6a00); }

/* numbered steps */
.post-prose > ol { margin: 4px 0 22px; padding: 0; list-style: none; counter-reset: step; }
.post-prose > ol > li { position: relative; margin: 0 0 10px; padding: 14px 18px 14px 62px; border-radius: 14px; background: #f6f8fc; color: #1f2b45; list-style: none; counter-increment: step; }
.post-prose > ol > li::before { content: counter(step); position: absolute; top: 12px; left: 16px; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #ee0979, #ff6a00); color: #fff; font-size: 14px; font-weight: 700; line-height: 32px; text-align: center; }
.post-prose > ul > li { padding-left: 6px; }

/* how FalconAVL helps */
.post-prose .post-cta { position: relative; display: flex; gap: 22px; margin: 52px 0 0; padding: 34px 34px 32px; overflow: hidden; border-radius: 22px; background: radial-gradient(circle at 100% 0, rgba(238, 9, 121, .42), transparent 46%), linear-gradient(135deg, #0a1f44, #030014); }
.post-cta__icon { display: grid; flex: 0 0 56px; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; }
.post-cta__main { min-width: 0; }
.post-prose .post-cta h2 { margin: 2px 0 10px !important; font-size: 24px; }
.post-prose .post-cta h2::before { display: none; }
.post-prose .post-cta p { margin: 0 0 22px; color: #c3cee0; font-size: 16px; }
.post-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.post-prose .post-cta .fa-btn { margin: 0; }
.post-prose a.post-cta__more { color: #fff; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.post-prose a.post-cta__more:hover { color: #ffd1e8; text-decoration-color: currentColor; }

/* questions */
.post-faq { margin: 48px 0 0; }
.post-faq__list { display: grid; gap: 12px; }
.post-faq__item { padding: 20px 22px; border: 1px solid #e8ecf3; border-radius: 16px; background: #fbfcfe; }
.post-prose .post-faq h3 { display: flex; gap: 12px; margin: 0 0 8px; font-size: 17px; line-height: 1.45; }
.post-faq h3::before { content: "Q"; flex: 0 0 26px; height: 26px; border-radius: 8px; background: #fdf0f6; color: #c40763; font-size: 13px; font-weight: 700; line-height: 26px; text-align: center; }
.post-faq__item p { margin: 0; padding-left: 38px; }

/* side card */
.post-rail { position: sticky; top: 110px; display: grid; gap: 16px; }
.post-rail__card { padding: 22px; border: 1px solid #e8ecf3; border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(10, 31, 68, .04); }
.post-rail__title { margin: 0 0 8px; color: #0a1f44; font-size: 16px; font-weight: 700; line-height: 1.35; }
.post-rail__demo { border: 0; background: radial-gradient(circle at 100% 0, rgba(238, 9, 121, .4), transparent 55%), linear-gradient(160deg, #0a1f44, #030014); }
.post-rail__demo .post-rail__title { color: #fff; font-size: 18px; }
.post-rail__demo p { margin: 0 0 18px; color: #c3cee0; font-size: 14.5px; line-height: 1.6; text-align: left; }
.post-rail__demo .fa-btn { width: 100%; justify-content: center; height: 48px; padding: 0 18px; font-size: 15px; }
.post-share { display: flex; gap: 10px; }
.post-share a,
.post-share button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dfe4ee; border-radius: 12px; background: #fff; color: #0a1f44; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.post-share button::before,
.post-share button::after { content: none !important; display: none !important; }
.post-share a:hover,
.post-share button:hover,
.post-share button.is-done { border-color: #0a1f44; background: #0a1f44; color: #fff; }
.post-share a:focus-visible,
.post-share button:focus-visible { outline: 3px solid rgba(238, 9, 121, .45); outline-offset: 2px; }
.post-share__done { position: absolute; bottom: calc(100% + 8px); left: 50%; padding: 0; border-radius: 8px; background: #0a1f44; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; transform: translateX(-50%); }
.post-share__done:not(:empty) { padding: 7px 10px; }

/* keep reading */
.post-more { padding: 0 0 100px; background: #fff; }
.post-more__all { display: inline-flex; align-items: center; gap: 6px; color: #0a1f44; font-size: 15px; font-weight: 600; }
.post-more__all:hover { color: #c40763; }
.post-more__all svg { transition: transform .25s ease; }
.post-more__all:hover svg { transform: translateX(4px); }

@media (max-width: 1199px) {
    .post-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
    .post-rail { position: static; grid-column: 2; }
    .post-rail__demo { display: none; }
    .post-prose { padding: 36px 34px; }
    .post-hero h1 { font-size: 42px; }
}

@media (max-width: 991px) {
    .post-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .post-rail { grid-column: auto; }
    .post-body .doc-toc { position: static; }
    .post-hero__mark { display: none; }
    .post-more .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .post-hero { padding: 88px 0 28px; }
    .post-hero h1 { font-size: 29px; letter-spacing: -.6px; }
    .post-crumbs { margin-bottom: 16px; font-size: 13px; }
    .post-byline { align-items: flex-start; margin-top: 20px; padding-top: 18px; }
    .post-byline__mark { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
    .post-byline .doc-hero__meta { flex-direction: column; gap: 2px; font-size: 13.5px; }
    .post-body { padding: 16px 0 36px; }
    .post-prose { margin: 0 -6px; padding: 24px 18px; border-radius: 20px; }
    .post-prose > p:first-child { font-size: 17px; }
    .post-prose > ol > li { padding: 12px 14px 12px 54px; }
    .post-prose > ol > li::before { top: 11px; left: 12px; width: 30px; height: 30px; line-height: 30px; }
    .post-prose .post-cta { flex-direction: column; gap: 16px; margin-top: 40px; padding: 26px 20px; }
    .post-cta__actions .fa-btn { width: 100%; justify-content: center; }
    .post-faq__item { padding: 16px; }
    .post-faq__item p { padding-left: 0; }
    .post-more { padding-bottom: 44px; }
    .post-more .post-list { grid-template-columns: minmax(0, 1fr); }
}

@media print {
    .post-rail, .post-more, .post-hero__mark { display: none !important; }
    .post-grid { display: block; }
    .post-prose { padding: 0; border: 0; box-shadow: none; }
}
