/**========================================================== SMC BLOG SINGLE-POST CSS START ==========================================================**/

/* Body-level bg so the active mode extends edge-to-edge on single-post pages */
body.smc-on {
    transition: background-color 0.35s ease;
}

body.smc-on.smc-mode-kindle {
    background: #f4ecd5;
}

body.smc-on.smc-mode-light {
    background: #ffffff;
}

body.smc-on.smc-mode-dark {
    background: #14110b;
}

/* ---------- TOKENS ---------- */
.smc-blog {
    --blog-bg: #f4ecd5;
    --blog-fg: #2A2214;
    --blog-muted: #6b5f47;
    --blog-border: #e6dfd0;
    --blog-accent: #EF2D3C;
    --blog-accent-2: #FF9F43;
    --blog-link: #0A66C2;
    --hero-ink: #0A1230;
    --blog-grad: linear-gradient(135deg, #FF2D6F 0%, #EF2D3C 100%);

    background: var(--blog-bg);
    color: var(--blog-fg);
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
    overflow-x: clip;
    display: block;
}

.smc-blog,
.smc-blog * {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

/* ---------- MODE: LIGHT (white) ---------- */
.smc-blog[data-mode="light"] {
    --blog-bg: #ffffff;
    --blog-fg: #0A1230;
    --blog-muted: #64748b;
    --blog-border: #e4e8ef;
}

/* ---------- MODE: DARK (warm dark) ---------- */
.smc-blog[data-mode="dark"] {
    --blog-bg: #14110b;
    --blog-fg: #ece4d6;
    --blog-muted: #9c907a;
    --blog-border: #2a241a;
    --blog-link: #6db3ff;
}

.smc-blog[data-mode="dark"] .smc-card {
    background: #1e1a12;
}

.smc-blog[data-mode="dark"] .smc-bp code {
    background: rgba(255, 255, 255, .08);
    color: #ffd7ae;
}

/* All modes share the same font and font-size — only colors change */
.smc-blog {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.smc-blog .smc-h1,
.smc-blog .smc-h2,
.smc-blog .smc-bp h2,
.smc-blog .smc-bp h3 {
    font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- HERO ---------- */
.smc-hero {
    position: relative;
    background: radial-gradient(ellipse at top right, #1E3A8A 0%, #0A1230 55%, #05091F 100%);
    padding: 90px 0 70px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.smc-hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.smc-hero-glow--red {
    background: #EF2D3C;
    opacity: .35;
    top: -80px;
    right: -60px;
}

.smc-hero-glow--blue {
    background: #1E3A8A;
    opacity: .40;
    bottom: -120px;
    left: -80px;
}

.smc-hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 920px);
    margin: 0 auto;
}

.smc-crumbs {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.smc-crumbs a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color .15s;
}

.smc-crumbs a:hover {
    color: #fff;
}

.smc-crumb-sep {
    color: rgba(255, 255, 255, .35);
}

.smc-crumb-current {
    color: #fff;
}

.smc-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 159, 67, .18), rgba(239, 45, 60, .12));
    color: #FFD7AE;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.smc-cat-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF2D3C;
    box-shadow: 0 0 8px rgba(239, 45, 60, .8);
}

.smc-h1 {
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.022em;
    margin: 0 0 18px;
    color: #fff;
}

.smc-excerpt {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.6;
    color: #C8D3E8;
    margin: 0 0 30px;
    max-width: 760px;
}

.smc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: #9BB0D0;
}

.smc-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.smc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .15);
    object-fit: cover;
}

.smc-meta-block {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.2;
}

.smc-meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6B7FA0;
}

.smc-meta-value {
    font-size: 13px;
    font-weight: 600;
    color: #C8D3E8;
}

.smc-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #6B7FA0;
}

/* ---------- FEATURED IMAGE (inside prose column, above first paragraph) ---------- */
.smc-bp .smc-feature {
    width: 100%;
    max-width: 900px;
    margin: 0 0 28px;
}

.smc-bp .smc-feature img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 506;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .25);
}

/* ---------- BODY GRID ---------- */
.smc-body {
    padding: 70px 0 60px;
    background: var(--blog-bg);
    transition: background .3s, color .3s;
}

.smc-bb-wrap {
    width: min(calc(100% - 32px), 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 50px;
}

/* ---------- PROSE ---------- */
.smc-bp {
    max-width: 760px;
    color: var(--blog-fg);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17.28px;
    line-height: 1.7;
    font-weight: 400;
}

.smc-bp p {
    margin: 0 0 1.3em;
    color: var(--blog-fg);
}

.smc-bp>ul,
.smc-bp>ol,
.smc-bp>blockquote,
.smc-bp>figure,
.smc-bp>table,
.smc-bp>pre {
    margin: 0 0 1.3em;
}

/* Highlighted H2 — red accent bar + soft tinted bg, makes section starts unmissable */
.smc-bp h2 {
    position: relative;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 56px 0 22px;
    padding: 14px 18px 14px 22px;
    background: linear-gradient(90deg, rgba(239, 45, 60, .09) 0%, rgba(239, 45, 60, 0) 78%);
    border-left: 4px solid #EF2D3C;
    border-radius: 0 10px 10px 0;
    color: var(--blog-fg);
    scroll-margin-top: 90px;
}

/* H4 — sub-section headings: bold, glowing red dot marker, em-italic stripped */
.smc-bp h4 {
    position: relative;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 21px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.4;
    margin: 30px 0 12px;
    padding-left: 22px;
    color: var(--blog-fg);
    letter-spacing: -0.005em;
}

.smc-bp h4 em,
.smc-bp h4 i {
    font-style: normal;
}

.smc-bp h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EF2D3C 0%, #C81F2A 100%);
    box-shadow: 0 0 0 4px rgba(239, 45, 60, .14);
}

/* Highlighted H3 — hand-drawn marker-pen underline that fades to a blurred vanish */
.smc-bp h3 {
    position: relative;
    display: table;
    /* shrink to text width so the line doesn't span the column */
    max-width: 100%;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(25px, 2.5vw, 29px);
    font-weight: 600;
    line-height: 1.35;
    margin: 38px 0 14px;
    padding: 0 0 10px;
    color: var(--blog-fg);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1' y1='0' y2='0'><stop offset='0%' stop-color='%23EF2D3C' stop-opacity='1'/><stop offset='55%' stop-color='%23EF2D3C' stop-opacity='.95'/><stop offset='100%' stop-color='%23EF2D3C' stop-opacity='0'/></linearGradient><filter id='b' x='-5%' y='-50%' width='110%' height='200%'><feGaussianBlur stdDeviation='.35'/></filter></defs><path d='M2,6 C25,2 55,9 85,4 C100,2 112,6 118,5' stroke='url(%23g)' stroke-width='2' stroke-linecap='round' fill='none' filter='url(%23b)'/></svg>");
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 65% 8px;
}

.smc-bp h3::before {
    content: none;
}

.smc-bp ul,
.smc-bp ol {
    padding-left: 24px;
}

.smc-bp li {
    margin-bottom: 8px;
}

.smc-bp a {
    color: var(--blog-link);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color .15s;
}

.smc-bp a:hover {
    color: var(--blog-accent);
}

.smc-bp blockquote {
    border-left: 4px solid var(--blog-accent-2);
    background: rgba(255, 159, 67, .06);
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.smc-bp table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    overflow: hidden;
}

.smc-bp table th {
    background: var(--hero-ink);
    color: #fff;
    font-weight: 600;
    padding: 12px 14px;
    text-align: left;
}

.smc-bp table td {
    padding: 12px 14px;
    border-top: 1px solid var(--blog-border);
}

.smc-bp table tr:nth-child(even) td {
    background: rgba(0, 0, 0, .02);
}

.smc-bp img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.smc-bp code {
    font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
    background: rgba(10, 40, 120, .08);
    color: #0A1230;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* ---------- YOAST FAQ BLOCK ---------- */
.smc-bp .schema-faq {
    margin: 32px 0;
    padding: 0;
    background: transparent;
    counter-reset: smc-faq;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.smc-bp .schema-faq-section {
    counter-increment: smc-faq;
    position: relative;
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 14px;
    padding: 22px 24px 20px 64px;
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .12);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.smc-bp .schema-faq-section::before {
    content: "Q" counter(smc-faq);
    position: absolute;
    left: 16px;
    top: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EF2D3C 0%, #C81F2A 100%);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 10px;
    box-shadow: 0 8px 18px -8px rgba(239, 45, 60, .55);
}

.smc-bp .schema-faq-section:hover {
    transform: translateY(-1px);
    border-color: rgba(239, 45, 60, .35);
    box-shadow: 0 12px 28px -14px rgba(239, 45, 60, .35);
}

/* FAQ question — works for both <strong> (legacy Yoast) and <h3> (after our filter) */
.smc-bp .schema-faq-question,
.smc-bp h3.schema-faq-question {
    display: block;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--blog-fg);
    margin: 0 0 8px;
    padding: 0;
    background: none;
    /* kill the marker-pen underline inside FAQ */
}

.smc-bp .schema-faq-question strong {
    font-weight: inherit;
}

.smc-bp h3.schema-faq-question::before {
    content: none;
}

.smc-bp h3.schema-faq-question::after {
    content: none;
}

.smc-bp .schema-faq-answer {
    margin: 0;
    color: var(--blog-muted);
    font-size: 15.5px;
    line-height: 1.7;
}

/* Dark-mode tweaks */
.smc-blog[data-mode="dark"] .schema-faq-section {
    background: #1e1a12;
    border-color: #2a241a;
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .5);
}

.smc-blog[data-mode="dark"] .schema-faq-section:hover {
    border-color: rgba(239, 45, 60, .45);
}

/* ---------- SIDEBAR ---------- */
.smc-bb-aside {
    position: sticky;
    top: 20px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.smc-card {
    background: rgba(10, 40, 120, .04);
    border: 1px solid var(--blog-border);
    border-radius: 14px;
    padding: 18px;
}

/* Reading progress card */
.smc-progress-card {
    text-align: center;
    padding-top: 14px;
}

.smc-progress-head {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blog-muted);
    margin-bottom: 12px;
}

.smc-ring-wrap {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 10px;
}

.smc-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.smc-ring-track {
    fill: none;
    stroke: var(--blog-border);
    stroke-width: 5;
}

.smc-ring-fill {
    fill: none;
    stroke: var(--blog-accent);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 219.91;
    stroke-dashoffset: 219.91;
    transition: stroke-dashoffset .25s ease;
}

.smc-ring-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blog-fg);
}

.smc-ring-status {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blog-muted);
}

/* TOC */
.smc-toc[hidden] {
    display: none;
}

.smc-toc-title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 12px;
    color: var(--blog-muted);
}

.smc-toc-list {
    list-style: none;
    counter-reset: smc-toc;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.smc-toc-list li {
    counter-increment: smc-toc;
    position: relative;
}

.smc-toc-list a {
    display: block;
    padding: 7px 8px 7px 32px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--blog-fg);
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: color .15s, border-color .15s, background .15s;
}

.smc-toc-list a::before {
    content: counter(smc-toc, decimal-leading-zero);
    position: absolute;
    left: 10px;
    top: 7px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--blog-accent-2);
}

.smc-toc-list a:hover {
    color: var(--blog-link);
}

.smc-toc-list a.active {
    color: var(--blog-link);
    border-left-color: var(--blog-accent);
    background: rgba(239, 45, 60, .04);
}

/* ---------- INLINE CTA ---------- */
/* All selectors prefixed with .smc-bp to outweigh .smc-bp p / .smc-bp a inheritance */
.smc-bp .smc-inline-cta {
    background: linear-gradient(135deg, #0A1230 0%, #143C80 100%);
    color: #fff;
    padding: 32px;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 20px 40px -20px rgba(10, 40, 120, .5);
}

.smc-bp .smc-inline-eyebrow,
.smc-final-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #FFD7AE;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(255, 159, 67, .18), rgba(239, 45, 60, .12));
    padding: 6px 12px;
    border-radius: 999px;
}

.smc-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF2D3C;
    box-shadow: 0 0 8px rgba(239, 45, 60, .8);
}

.smc-bp .smc-inline-title {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
    padding: 0;
    line-height: 1.3;
    background: none;
    /* kill the marker-pen underline inside the CTA */
}

.smc-bp .smc-inline-title::before {
    content: none;
}

.smc-bp .smc-inline-body {
    color: #C8D3E8;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.smc-bp .smc-inline-btn,
.smc-final-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF9F43, #EF2D3C);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px -10px rgba(239, 45, 60, .5);
    transition: transform .15s, box-shadow .15s;
}

.smc-bp .smc-inline-btn:hover,
.smc-final-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 16px 28px -10px rgba(239, 45, 60, .6);
}

.smc-bp .smc-inline-trust {
    margin: 12px 0 0;
    font-size: 12px;
    color: #8AA0C4;
}


/* ---------- FINAL CTA ---------- */
.smc-final-cta {
    position: relative;
    background: linear-gradient(135deg, #05091F 0%, #0A1230 50%, #143C80 100%);
    padding: 70px 0;
    color: #fff;
    overflow: hidden;
}

.smc-final-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 94, 58, .25), transparent 50%);
    pointer-events: none;
}

.smc-final-inner {
    position: relative;
    width: min(calc(100% - 32px), 900px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.smc-final-text {
    flex: 1 1 420px;
    min-width: 0;
}

.smc-final-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.2;
}

.smc-final-sub {
    color: #C8D3E8;
    max-width: 540px;
    margin: 0;
    line-height: 1.6;
}

.smc-final-btn {
    padding: 14px 28px;
    font-size: 15px;
}

/* ---------- FABs ---------- */
.smc-fab {
    position: fixed;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.smc-fab.show {
    opacity: 1;
    pointer-events: auto;
}

.smc-fab-left {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.smc-fab-right {
    right: 18px;
    bottom: 18px;
}

.smc-fab-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EF2D3C 0%, #C81F2A 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 10px 28px -10px rgba(239, 45, 60, .6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.smc-fab-btn svg {
    width: 20px;
    height: 20px;
}

.smc-fab-btn:hover {
    transform: scale(1.06);
    color: #fff;
    box-shadow: 0 14px 32px -10px rgba(239, 45, 60, .75);
}

.smc-fab-right .smc-fab-btn {
    width: 44px;
    height: 44px;
}

.smc-fab-tip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1410;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
}

.smc-fab-btn:hover .smc-fab-tip {
    opacity: 1;
}

/* Mode toggle: only the active mode's icon is visible */
.smc-mode-icon {
    display: none;
}

.smc-blog[data-mode="kindle"] .smc-mode-icon-kindle,
.smc-blog[data-mode="light"] .smc-mode-icon-light,
.smc-blog[data-mode="dark"] .smc-mode-icon-dark {
    display: inline-block;
}

/**========================================================== SMC BLOG SINGLE-POST CSS FINISH ==========================================================**/


/**========================================================== SMC BLOG LISTING CSS START ==========================================================**/

/* HERO */
.smc-list-hero {
    position: relative;
    background: radial-gradient(ellipse at top right, #1E3A8A 0%, #0A1230 55%, #05091F 100%);
    padding: 80px 0 70px;
    color: #fff;
    overflow: hidden;
    text-align: center;
    isolation: isolate;
}

.smc-list-hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 760px);
    margin: 0 auto;
}

.smc-list-hero .smc-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 159, 67, .18), rgba(239, 45, 60, .12));
    color: #FFD7AE;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.smc-list-h1 {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #fff;
}

.smc-list-sub {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.6;
    color: #C8D3E8;
    margin: 0;
}

/* CATEGORY FILTERS */
.smc-list-filters {
    padding: 36px 0 0;
}

.smc-list-filters-inner {
    width: min(calc(100% - 32px), 1180px);
    margin: 0 auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.smc-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--blog-border);
    background: #fff;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--blog-fg);
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}

.smc-cat-pill:hover {
    border-color: #EF2D3C;
    color: #EF2D3C;
}

.smc-cat-pill.is-active {
    background: linear-gradient(135deg, #EF2D3C 0%, #C81F2A 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px -10px rgba(239, 45, 60, .5);
}

/* BODY */
.smc-list-body {
    padding: 32px 0 80px;
}

.smc-list-wrap {
    width: min(calc(100% - 32px), 1180px);
    margin: 0 auto;
}

.smc-list-result-line {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    color: var(--blog-muted);
    margin: 0 4px 22px;
    text-align: center;
}

.smc-list-result-line strong {
    color: var(--blog-fg);
    font-weight: 700;
}

/* GRID */
.smc-list-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.smc-list-card {
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.smc-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 45, 60, .35);
    box-shadow: 0 18px 40px -22px rgba(239, 45, 60, .35);
}

.smc-list-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.smc-list-thumb {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #f0e9d5 0%, #d8cfae 100%);
}

.smc-list-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.smc-list-card:hover .smc-list-thumb img {
    transform: scale(1.04);
}

.smc-list-thumb-empty {
    background: linear-gradient(135deg, rgba(239, 45, 60, .08), rgba(255, 159, 67, .08));
}

.smc-list-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.smc-list-cat {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 159, 67, .14), rgba(239, 45, 60, .1));
    color: #C81F2A;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.smc-list-cat .smc-cat-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF2D3C;
    box-shadow: 0 0 8px rgba(239, 45, 60, .8);
}

.smc-list-title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--blog-fg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smc-list-excerpt {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--blog-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smc-list-meta {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    color: var(--blog-muted);
}

.smc-list-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
}

/* PAGINATION (paginate_links type=list) */
.smc-pagination {
    margin: 56px auto 0;
    display: flex;
    justify-content: center;
}

.smc-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.smc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--blog-border);
    border-radius: 10px;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--blog-fg);
    background: #fff;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s, transform .15s;
}

.smc-pagination a.page-numbers:hover {
    border-color: #EF2D3C;
    color: #EF2D3C;
    transform: translateY(-1px);
}

.smc-pagination .page-numbers.current {
    background: linear-gradient(135deg, #EF2D3C 0%, #C81F2A 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px -10px rgba(239, 45, 60, .55);
}

.smc-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}

/* EMPTY */
.smc-list-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--blog-muted);
}

.smc-list-empty-back {
    display: inline-block;
    margin-top: 14px;
    color: #EF2D3C;
    font-weight: 600;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .smc-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .smc-list-card-body {
        padding: 18px 18px 20px;
    }

    .smc-list-title {
        font-size: 19px;
    }
}

@media (max-width: 640px) {
    .smc-list-hero {
        padding: 56px 0 48px;
    }

    .smc-list-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .smc-list-title {
        font-size: 18px;
    }

    .smc-list-excerpt {
        font-size: 14.5px;
    }

    .smc-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/**========================================================== SMC BLOG LISTING CSS FINISH ==========================================================**/

/* ==========================================================================
   READING-MODE REPAINT FIX (SEO Circular)
   Chrome does not repaint a transitioned property when only the CSS custom
   property it reads (--blog-bg / --blog-fg …) changes — this left the Kindle /
   Light / Dark reading modes visually stuck. Disabling transitions on the
   mode-coloured surfaces makes the switch instant (correct). Descendant hover
   transitions (links, buttons, cards) are unaffected.
   ========================================================================== */
body.smc-on,
.smc-blog, .smc-body, .smc-bp, .smc-bp p, .smc-bp li, .smc-bp h2, .smc-bp h3, .smc-bp h4,
.smc-card, .smc-toc, .smc-progress-card,
.smc-bp table, .smc-bp td, .smc-bp th, .smc-bp code, .smc-bp pre, .schema-faq-section {
    transition: none !important;
}
