/* CopyTradingSystem blog — the article index and a single article.
   This is a layer ON TOP of /site.css (the landing page's stylesheet: tokens, header, footer, buttons, .eyebrow, .blob, .lead, .grad), so the blog is the same
   site and not a second one: the same white page, the same Plus Jakarta Sans, the same soft embossed cards (var(--emboss)), the same header and footer.
   Light only, like every other public page. (Until 2026-10-06 this file was written to the site but never linked from the page, and the page borrowed a
   stylesheet that no longer had the blog's classes — the blog rendered as unstyled text.) */

body.blog { background: #fff; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 18px; border-radius: 12px; background: #fff; font-weight: 700; box-shadow: var(--emboss); }
.skip:focus { left: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); font-weight: 500; }
.blog-page { overflow-x: clip; }   /* the soft colour blobs of the hero reach past the page edge: they are cut at the window, not at the column */
.blog-wrap { padding-bottom: 8px; }

/* ── the index: hero, category chips, featured article, grid ─────────────────────────────── */
.blog-hero { position: relative; isolation: isolate; text-align: center; padding: 44px 0 6px; }
.blog-hero .blob.b1 { width: 420px; height: 420px; left: -120px; top: -140px; }
.blog-hero .blob.b2 { width: 440px; height: 440px; right: -140px; top: -120px; }
.blog-hero h1 { font-size: clamp(34px, 4.8vw, 60px); margin: 20px auto 16px; max-width: 15em; }
.blog-hero .lead { margin: 0 auto; max-width: 37em; text-align: center; }

.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 4px; }
.blog-filters a { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink2);
  background: linear-gradient(180deg, #fff, #f3f5ff); box-shadow: var(--emboss); transition: transform .2s cubic-bezier(.2, .8, .3, 1.3), color .2s; }
.blog-filters a:hover { transform: translateY(-2px); color: var(--ink); }
.blog-filters a.on { color: #fff; background: linear-gradient(180deg, #46e0b5 0%, #12bb8b 46%, #0a9a72 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -3px 0 rgba(0, 70, 50, .2) inset, 0 12px 20px -8px rgba(18, 187, 139, .6), 0 0 0 1px rgba(8, 120, 90, .35); }

.blog-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 30px 0 18px; }
#featured { margin: 28px 0 0; }

.blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; color: inherit;
  background: linear-gradient(180deg, #fff, #f8f9ff); box-shadow: var(--emboss);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1.2), box-shadow .28s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(90, 100, 170, .07) inset, 0 40px 60px -28px rgba(60, 72, 140, .5), 0 0 0 1px rgba(120, 130, 190, .22); }
.blog-card:focus-visible { outline: 3px solid #8b5cf6; outline-offset: 4px; }
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #eef0ff; }
.blog-card-img--none { background: var(--grad); }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-cat { align-self: flex-start; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--cc, #3a4266); background: var(--cb, #eef0ff); }
.blog-card-cat[data-cat="guide"], .blog-card-cat[data-cat="guides"] { --cc: #077060; --cb: #dcf8f1; }
.blog-card-cat[data-cat="crypto"] { --cc: #1f6fd0; --cb: #e1efff; }
.blog-card-cat[data-cat="plans"] { --cc: #6a37d6; --cb: #ece4ff; }
.blog-card-cat[data-cat="safety"] { --cc: #b02a44; --cb: #ffe4e9; }
/* the CopyTradingSystem categories (2026-10-12), each at a contrast of 4.5:1 or more on its pill */
.blog-card-cat[data-cat="basics"] { --cc: #1a5fb4; --cb: #e1efff; }
.blog-card-cat[data-cat="brokers"] { --cc: #6a37d6; --cb: #ece4ff; }
.blog-card-cat[data-cat="package"] { --cc: #8a5200; --cb: #fff0d1; }
/* a "read next" note has no category: the pill keeps its own colour over the card paragraph colour */
.blog-card-body .blog-card-cat { color: var(--cc, #3a4266); }
.blog-card-cat[data-cat="news"] { --cc: #b86f00; --cb: #fff0d1; }
.blog-card h3 { margin: 0; font-size: 19px; line-height: 1.28; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.blog-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); font-weight: 500; }
.blog-card-meta, .blog-card .blog-post-meta { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 600; color: #5f6690; }

/* the featured article: a wide card, picture on the left */
#featured .blog-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; border-radius: 32px; }
#featured .blog-card-img { height: 100%; min-height: 300px; aspect-ratio: auto; }
#featured .blog-card-body { padding: 34px clamp(24px, 3.4vw, 44px); justify-content: center; gap: 14px; }
#featured .blog-card-body::before { content: "Featured"; align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--grad); }
#featured h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
#featured .blog-card p { font-size: 16.5px; }
@media (max-width: 860px) {
  #featured .blog-card { grid-template-columns: 1fr; }
  #featured .blog-card-img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
}

/* ── one article ─────────────────────────────────────────────────────────────────────────── */
.blog-post { max-width: 780px; margin: 14px auto 0; }
.blog-crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 22px 0 4px; font-size: 14px; font-weight: 700; color: #5f6690; }
.blog-crumbs a { color: var(--ink2); }
.blog-crumbs a:hover { color: var(--iris); }
.blog-post h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin: 12px 0 16px; color: var(--ink); }
.blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 28px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.blog-post-meta [itemprop="articleSection"] { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6a37d6; background: #ece4ff; }
.blog-post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 30px; margin: 0 0 36px; box-shadow: var(--emboss); }
.blog-post-lede { font-size: 20px; line-height: 1.6; color: var(--muted); font-weight: 500; margin: 0 0 28px; }

.blog-post-body { font-size: 18px; line-height: 1.78; color: #2b3254; font-weight: 500; }
.blog-post-body > :first-child { margin-top: 0; }
.blog-post-body h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--ink); margin: 2.1em 0 .55em; }
.blog-post-body h3 { font-size: 21px; line-height: 1.3; font-weight: 800; color: var(--ink); margin: 1.7em 0 .45em; }
.blog-post-body p { margin: 0 0 1.15em; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.blog-post-body li { margin-bottom: .55em; padding-left: .2em; }
.blog-post-body li::marker { color: var(--iris); font-weight: 800; }
.blog-post-body a { color: #5b36c9; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(134, 86, 242, .35); text-underline-offset: 3px; }
.blog-post-body a:hover { text-decoration-color: currentColor; }
.blog-post-body strong { color: var(--ink); font-weight: 800; }
.blog-post-body code { padding: 2px 7px; border-radius: 8px; background: #eef0ff; color: #3a2fa0; font-size: .92em; }
.blog-post-body blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 0 20px 20px 0; border-left: 5px solid var(--iris); background: #f6f4ff; font-style: italic; color: var(--ink2); }
.blog-post-body figure { margin: 1.8em 0; }
.blog-post-body figure img { width: 100%; border-radius: 22px; box-shadow: var(--emboss); }
.blog-post-body figcaption { margin-top: 10px; font-size: 14px; color: #5f6690; font-weight: 600; }

.blog-post-body table { width: 100%; margin: 1.8em 0; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--emboss); font-size: 16px; }
.blog-post-body th, .blog-post-body td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.blog-post-body th { background: #f1f3ff; color: var(--ink); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.blog-post-body tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .blog-post-body table { display: block; overflow-x: auto; } }

.blog-post-body .callout { margin: 1.8em 0; padding: 20px 24px; border-radius: 22px; border-left: 6px solid var(--sky);
  background: linear-gradient(180deg, #fff, #f5f9ff); box-shadow: var(--emboss); font-size: 17px; }
.blog-post-body .callout p:last-child, .blog-post-body .callout ul:last-child, .blog-post-body .callout ol:last-child { margin-bottom: 0; }
.blog-post-body .callout--risk { border-left-color: var(--rose); background: linear-gradient(180deg, #fff, #fff5f6); }
.blog-post-body .callout--key { border-left-color: var(--mint); background: linear-gradient(180deg, #fff, #f1fcf8); }

.blog-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2.4em 0 0; }
.blog-post-tags a { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink2); background: #f1f3ff; box-shadow: 0 0 0 1px rgba(120, 130, 190, .18); }
.blog-post-tags a:hover { color: var(--iris); }

.blog-next { max-width: 1180px; margin: 56px auto 0; }
.blog-next h2, .blog-more h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; color: var(--ink); }
.blog-more { max-width: 780px; margin: 44px auto 0; padding: 26px 30px; border-radius: 26px; background: linear-gradient(180deg, #fff, #f6f7ff); box-shadow: var(--emboss);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.blog-more h2 { margin: 0; font-size: 20px; }
.blog-more p { margin: 0; }

@media (max-width: 720px) {
  .blog-hero { padding-top: 26px; }
  .blog-post-body { font-size: 17px; }
  .blog-more { padding: 22px; }
}

/* the questions at the end of an article (FAQPage structured data is made from them) */
.blog-post-body .faq-block { margin: 2.6em 0 0; padding: 26px 30px 12px; border-radius: 26px; background: linear-gradient(180deg, #fff, #f6f7ff); box-shadow: var(--emboss); }
.blog-post-body .faq-block h2 { margin-top: 0; }
.blog-post-body .faq-block h3 { margin-top: 1.1em; }
@media (max-width: 720px) { .blog-post-body .faq-block { padding: 20px 20px 8px; } }

/* the short introduction under the index (text a reader and a crawler can read beside the cards) */
.blog-about { max-width: 780px; margin: 48px auto 0; padding: 26px 30px; border-radius: 26px; background: linear-gradient(180deg, #fff, #f6f7ff); box-shadow: var(--emboss); }
.blog-about h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.blog-about p { margin: 0; color: var(--ink2); line-height: 1.65; }
.blog-about p + p { margin-top: 12px; }
.blog-about a { color: var(--iris); font-weight: 700; }
@media (max-width: 720px) { .blog-about { padding: 22px; } }
