/* ================================================================
   OneAppleFall — Single Post Styles
   Scope: body.single-post — zero dependency on theme body class
   Mirrors article-template-2.html exactly
   Includes: SVG flowcharts, bar charts, template short-class aliases,
   WordPress native block support (Details, Table, Pullquote)
   ================================================================ */

/* ── Page base ───────────────────────────────────────────────── */
body.single-post {
    background: #f9f9f7;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}
body.single-post #oaf-main-content {
    background: #f9f9f7;
    padding-top: 72px; /* fixed navbar height */
}
body.single-post.has-topbar #oaf-main-content {
    padding-top: calc(72px + 37px); /* nav + topbar */
}

/* ── Reading progress bar ────────────────────────────────────── */
body.single-post #oaf-prog {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0; z-index: 700;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    pointer-events: none;
}

/* ── 2-column grid container ─────────────────────────────────── */
body.single-post .oaf-art-layout.oaf-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 54px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 46px 28px 80px;
    align-items: start;
}

/* ── Breadcrumbs ─────────────────────────────────────────────── */
body.single-post .oaf-crumbs {
    display: flex; align-items: center; flex-wrap: wrap;
    font-size: 13px; color: #6b7280; margin-bottom: 20px;
}
body.single-post .oaf-crumbs a { color: #6b7280; text-decoration: none; }
body.single-post .oaf-crumbs a:hover { color: #4f46e5; }
body.single-post .oaf-crumbs span { margin: 0 7px; opacity: .5; }
body.single-post .oaf-crumbs__current { color: #1a1a1a; font-weight: 500; }

/* ── Eyebrow ─────────────────────────────────────────────────── */
body.single-post .oaf-art-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: #4f46e5; margin-bottom: 16px;
}
body.single-post .oaf-art-eyebrow::before {
    content: ""; display: block;
    width: 26px; height: 2px; background: #4f46e5; flex-shrink: 0;
}

/* ── Post title ──────────────────────────────────────────────── */
body.single-post .oaf-art-title {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-weight: 600; font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.06; letter-spacing: -.025em;
    color: #1a1a1a; margin: 0;
}

/* ── Dek / excerpt subtitle ──────────────────────────────────── */
body.single-post .oaf-dek,
body.single-post .oaf-dek p {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 20px; line-height: 1.5;
    color: #6b7280; margin-top: 18px; margin-bottom: 0;
}

/* ── Byline ──────────────────────────────────────────────────── */
body.single-post .oaf-byline {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin: 26px 0; padding: 16px 0;
    border-top: 1px solid #e8e8e5; border-bottom: 1px solid #e8e8e5;
}
body.single-post .oaf-byline__av {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    flex-shrink: 0; overflow: hidden;
}
body.single-post .oaf-byline__av img { width: 100%; height: 100%; object-fit: cover; }
body.single-post .oaf-byline__who b  { font-weight: 600; font-size: 14.5px; display: block; color: #1a1a1a; }
body.single-post .oaf-byline__who span { font-size: 13px; color: #6b7280; display: block; margin-top: 2px; }
body.single-post .oaf-byline__dot { color: #e8e8e5; }
body.single-post .oaf-byline__tag {
    margin-left: auto; font-size: 12px; font-weight: 600;
    color: #3730a3; background: #e0e7ff;
    padding: 6px 13px; border-radius: 30px;
    text-decoration: none; white-space: nowrap;
}

/* ── Hero image ──────────────────────────────────────────────── */
body.single-post .oaf-art-hero-img {
    aspect-ratio: 16 / 8; border-radius: 20px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #3730a3);
    margin: 8px 0 36px; position: relative; overflow: hidden;
    border: 1px solid #e8e8e5;
    display: flex; align-items: center; justify-content: center;
}
body.single-post .oaf-art-hero-img img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 0;
}
body.single-post .oaf-art-hero-img__title {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-weight: 600; font-size: clamp(20px, 3vw, 34px);
    color: rgba(255,255,255,.85); text-align: center; padding: 20px;
    position: relative; z-index: 1; letter-spacing: .02em;
}

/* ── Verdict box ─────────────────────────────────────────────── */
body.single-post .oaf-verdict {
    background: #fff; border: 1px solid #e8e8e5;
    border-radius: 22px; padding: 30px; margin: 0 0 38px;
    box-shadow: 0 24px 60px -42px rgba(12,42,34,.4);
}
body.single-post .oaf-verdict__top {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 24px; align-items: center;
}
body.single-post .oaf-scorebig {
    text-align: center;
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #fff; border-radius: 18px; padding: 18px 22px; min-width: 104px;
}
body.single-post .oaf-scorebig b {
    font-family: 'Clash Display', sans-serif; font-weight: 700;
    font-size: 44px; line-height: 1; display: block;
}
body.single-post .oaf-scorebig span { font-size: 12px; opacity: .9; letter-spacing: .05em; }
body.single-post .oaf-scorebig__stars { color: #f4b942; font-size: 13px; margin-top: 6px; letter-spacing: 1px; }
body.single-post .oaf-verdict h2 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-weight: 600; font-size: 22px; line-height: 1.15; margin-bottom: 6px; color: #1a1a1a;
}
body.single-post .oaf-verdict > .oaf-verdict__top > div > p {
    font-size: 14.5px; color: #6b7280; line-height: 1.5;
}
body.single-post .oaf-verdict__cta { display: flex; flex-direction: column; gap: 8px; }
body.single-post .oaf-btn-buy {
    background: #f4b942; color: #5a3d00; font-weight: 700;
    padding: 13px 22px; border-radius: 12px; text-align: center;
    font-size: 14.5px; text-decoration: none; display: block;
    white-space: nowrap; transition: .2s;
    box-shadow: 0 10px 24px -10px rgba(244,185,66,.7);
}
body.single-post .oaf-btn-buy:hover { transform: translateY(-2px); color: #5a3d00; }
body.single-post .oaf-aff-note { font-size: 11px; color: #6b7280; text-align: center; }
body.single-post .oaf-verdict-scores {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-top: 24px; padding-top: 22px;
    border-top: 1px solid #e8e8e5;
}
body.single-post .oaf-vs__lab { font-size: 12px; color: #6b7280; font-weight: 500; }
body.single-post .oaf-vs__bar {
    height: 7px; background: #e0e7ff;
    border-radius: 5px; margin: 7px 0 5px; overflow: hidden;
}
body.single-post .oaf-vs__bar i {
    display: block; height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed); border-radius: 5px;
}
body.single-post .oaf-vs__n {
    font-family: 'Clash Display', sans-serif; font-weight: 600;
    font-size: 14px; color: #1a1a1a;
}

/* ── Table of Contents ───────────────────────────────────────── */
body.single-post .oaf-art-toc {
    background: #eef2ff; border: 1px solid #e8e8e5;
    border-radius: 16px; padding: 20px 22px; margin: 0 0 36px;
}
body.single-post .oaf-art-toc h4 {
    font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
    color: #4f46e5; margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif; font-weight: 600;
}
body.single-post .oaf-art-toc ol {
    list-style: none; counter-reset: toc;
    display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0;
}
body.single-post .oaf-art-toc li { counter-increment: toc; font-size: 14.5px; }
body.single-post .oaf-art-toc li::before {
    content: counter(toc, decimal-leading-zero);
    color: #4f46e5; font-weight: 700; margin-right: 10px;
    font-family: 'Clash Display', sans-serif;
}
body.single-post .oaf-art-toc a { color: #1a1a1a; text-decoration: none; }
body.single-post .oaf-art-toc a:hover { color: #4f46e5; text-decoration: underline; }

/* ── Article prose body (Source Serif 4) ─────────────────────── */
body.single-post .oaf-article-body {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18.5px; line-height: 1.72; color: #28332f;
}
body.single-post .oaf-article-body p { margin-bottom: 20px; }
body.single-post .oaf-article-body h2 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-weight: 600; font-size: 30px; letter-spacing: -.02em;
    margin: 46px 0 16px; scroll-margin-top: 90px; color: #1a1a1a;
}
body.single-post .oaf-article-body h3 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-weight: 500; font-size: 22px; margin: 30px 0 12px; color: #1a1a1a;
}
body.single-post .oaf-article-body h4 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-weight: 500; font-size: 18px; margin: 24px 0 10px; color: #1a1a1a;
}
body.single-post .oaf-article-body a {
    color: #3730a3; text-decoration: underline;
    text-decoration-color: #c7d2fe; text-underline-offset: 3px;
}
body.single-post .oaf-article-body a:hover { background: #e0e7ff; color: #3730a3; }
body.single-post .oaf-article-body strong { font-weight: 600; color: #1a1a1a; }
body.single-post .oaf-article-body em { font-style: italic; }
body.single-post .oaf-article-body ul,
body.single-post .oaf-article-body ol { margin: 0 0 20px 22px; }
body.single-post .oaf-article-body li { margin-bottom: 9px; }
body.single-post .oaf-article-body blockquote,
body.single-post .oaf-article-body .wp-block-quote {
    border-left: 4px solid #4f46e5; background: #fff;
    padding: 18px 24px; border-radius: 0 14px 14px 0;
    margin: 26px 0; font-size: 19px; font-style: italic; color: #1a1a1a;
}
body.single-post .oaf-article-body img {
    width: 100%; height: auto; border-radius: 16px; margin: 2em 0; display: block;
}
body.single-post .oaf-article-body figure { margin: 2em 0; }
body.single-post .oaf-article-body figure img { margin: 0; }
body.single-post .oaf-article-body figcaption {
    font-family: 'DM Sans', sans-serif; font-size: 13px;
    color: #6b7280; font-style: italic; margin-top: 8px; text-align: center;
}
body.single-post .oaf-article-body code {
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 14px; background: #e0e7ff; color: #3730a3;
    padding: 2px 7px; border-radius: 5px;
}
body.single-post .oaf-article-body pre {
    background: #1a1a1a; color: #c7d2fe;
    padding: 20px 24px; border-radius: 16px;
    overflow-x: auto; margin: 0 0 24px; font-size: 14px; line-height: 1.6;
}
body.single-post .oaf-article-body pre code { background: none; color: #c7d2fe; padding: 0; }
body.single-post .oaf-article-body .wp-block-separator { border: none; border-top: 1px solid #e8e8e5; margin: 2.5em 0; }
body.single-post .oaf-article-body table { width: 100%; border-collapse: collapse; font-family: 'DM Sans',sans-serif; font-size: 14.5px; margin-bottom: 20px; }
body.single-post .oaf-article-body th { background: #1a1a1a; color: #fff; padding: 12px 16px; text-align: left; font-size: 13px; }
body.single-post .oaf-article-body td { padding: 12px 16px; border-bottom: 1px solid #e8e8e5; }

/* ── Pros / Cons ─────────────────────────────────────────────── */
body.single-post .oaf-proscons {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px; margin: 30px 0; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-pc { border: 1px solid #e8e8e5; border-radius: 16px; padding: 22px; background: #fff; }
body.single-post .oaf-pc--pro { border-top: 4px solid #4f46e5; }
body.single-post .oaf-pc--con { border-top: 4px solid #e1483b; }
body.single-post .oaf-pc h4 { font-family: 'Clash Display',sans-serif; font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: #1a1a1a; }
body.single-post .oaf-pc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
body.single-post .oaf-pc li { font-size: 14.5px; line-height: 1.45; padding-left: 26px; position: relative; color: #6b7280; }
body.single-post .oaf-pc--pro li::before { content: "✓"; position: absolute; left: 0; color: #4f46e5; font-weight: 700; }
body.single-post .oaf-pc--con li::before { content: "✕"; position: absolute; left: 0; color: #e1483b; font-weight: 700; }

/* ── Comparison table ────────────────────────────────────────── */
body.single-post .oaf-tbl-wrap {
    overflow-x: auto; margin: 30px 0;
    border: 1px solid #e8e8e5; border-radius: 16px;
    font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-tbl-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
body.single-post .oaf-tbl-wrap th { background: #1a1a1a; color: #fff; padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 600; }
body.single-post .oaf-tbl-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e8e8e5; }
body.single-post .oaf-tbl-wrap tbody tr:last-child td { border-bottom: none; }
body.single-post .oaf-tbl-wrap tbody tr:nth-child(even) { background: #eef2ff; }
body.single-post .oaf-tbl-win { color: #3730a3; font-weight: 700; }

/* ── Inline CTA strip ────────────────────────────────────────── */
body.single-post .oaf-cta-strip {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #fff; border-radius: 18px; padding: 28px 30px; margin: 36px 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 22px; flex-wrap: wrap; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-cta-strip b { font-family: 'Clash Display',sans-serif; font-weight: 600; font-size: 19px; display: block; margin-bottom: 4px; color: #fff; }
body.single-post .oaf-cta-strip span { font-size: 14px; opacity: .85; color: #fff; }
body.single-post .oaf-cta-strip a { background: #f4b942; color: #5a3d00; font-weight: 700; padding: 13px 24px; border-radius: 11px; white-space: nowrap; text-decoration: none; transition: .2s; display: inline-block; }
body.single-post .oaf-cta-strip a:hover { transform: translateY(-2px); color: #5a3d00; }

/* ── FAQ accordion ───────────────────────────────────────────── */
body.single-post .oaf-art-faq { margin: 36px 0; font-family: 'DM Sans', sans-serif; }
body.single-post .oaf-art-faq details { border: 1px solid #e8e8e5; border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
body.single-post .oaf-art-faq summary { padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; color: #1a1a1a; }
body.single-post .oaf-art-faq summary::-webkit-details-marker { display: none; }
body.single-post .oaf-art-faq summary::after { content: "+"; color: #4f46e5; font-size: 22px; font-weight: 400; }
body.single-post .oaf-art-faq details[open] summary::after { content: "–"; }
body.single-post .oaf-art-faq details[open] summary { border-bottom: 1px solid #e8e8e5; }
body.single-post .oaf-faq-ans { padding: 16px 22px; font-size: 15px; line-height: 1.6; color: #6b7280; }

/* ── Post tags ───────────────────────────────────────────────── */
body.single-post .oaf-post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
body.single-post .oaf-post-tag {
    border: 1px solid #e8e8e5; border-radius: 100px;
    padding: 5px 14px; font-size: 13px; color: #6b7280;
    text-decoration: none; transition: .2s;
    font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-post-tag:hover { border-color: #4f46e5; color: #4f46e5; }

/* ── Author box ──────────────────────────────────────────────── */
body.single-post .oaf-art-author {
    display: flex; gap: 18px; align-items: flex-start;
    background: #fff; border: 1px solid #e8e8e5; border-radius: 18px;
    padding: 24px; margin: 44px 0; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-art-author__av {
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    flex-shrink: 0; overflow: hidden;
}
body.single-post .oaf-art-author__av img { width: 100%; height: 100%; object-fit: cover; }
body.single-post .oaf-art-author b { font-family: 'Clash Display', sans-serif; font-size: 16px; display: block; margin-bottom: 6px; color: #1a1a1a; }
body.single-post .oaf-art-author p { font-size: 14px; color: #6b7280; line-height: 1.55; margin: 0; }
body.single-post .oaf-art-author a { color: #3730a3; text-decoration: underline; }

/* ── Related posts ───────────────────────────────────────────── */
body.single-post .oaf-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid #e8e8e5; }
body.single-post .oaf-related__title {
    font-family: 'Clash Display', sans-serif; font-size: 26px;
    font-weight: 600; color: #1a1a1a; margin-bottom: 24px;
}
body.single-post .oaf-review-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px;
}
body.single-post .oaf-review-card {
    background: #fff; border: 1px solid #e8e8e5; border-radius: 18px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}
body.single-post .oaf-review-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(12,42,34,.35); }
body.single-post .oaf-review-card__thumb {
    height: 160px; position: relative; display: flex;
    align-items: flex-start; padding: 14px; overflow: hidden;
}
body.single-post .oaf-review-card__thumb.g1 { background: linear-gradient(135deg,#4f46e5,#c7d2fe); }
body.single-post .oaf-review-card__thumb.g2 { background: linear-gradient(135deg,#7c3aed,#3730a3); }
body.single-post .oaf-review-card__thumb.g3 { background: linear-gradient(135deg,#3730a3,#7c3aed); }
body.single-post .oaf-review-card__thumb.g4 { background: linear-gradient(135deg,#4f46e5,#f4b942); }
body.single-post .oaf-review-card__thumb.g5 { background: linear-gradient(135deg,#7c3aed,#c7d2fe); }
body.single-post .oaf-review-card__thumb.g6 { background: linear-gradient(135deg,#3730a3,#4f46e5); }
body.single-post .oaf-review-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
body.single-post .oaf-review-card__cat { background: rgba(255,255,255,.9); color: #1a1a1a; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 30px; z-index: 2; position: relative; font-family: 'DM Sans',sans-serif; }
body.single-post .oaf-review-card__glyph { position: absolute; right: 14px; bottom: 4px; font-family: 'Clash Display',sans-serif; font-weight: 600; font-size: 80px; color: rgba(255,255,255,.2); line-height: .8; }
body.single-post .oaf-review-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body.single-post .oaf-review-card__title { font-family: 'Clash Display','DM Sans',sans-serif; font-weight: 600; font-size: 17px; line-height: 1.2; color: #1a1a1a; }
body.single-post .oaf-review-card__title a { color: inherit; text-decoration: none; }
body.single-post .oaf-review-card__title a:hover { color: #4f46e5; }
body.single-post .oaf-review-card__desc { font-size: 13.5px; color: #6b7280; line-height: 1.5; font-family: 'DM Sans',sans-serif; }

/* ── Sidebar ─────────────────────────────────────────────────── */
body.single-post .oaf-side {
    position: sticky; top: 84px;
    display: flex; flex-direction: column; gap: 22px;
    font-family: 'DM Sans', sans-serif;
}
body.single-post.has-topbar .oaf-side { top: calc(84px + 37px); }
body.single-post .oaf-side-card { background: #fff; border: 1px solid #e8e8e5; border-radius: 16px; padding: 20px; }
body.single-post .oaf-side-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #4f46e5; margin-bottom: 14px; font-weight: 600; }
body.single-post .oaf-side-mini {
    display: flex; gap: 12px; padding: 11px 0;
    border-bottom: 1px solid #e8e8e5; text-decoration: none; transition: opacity .2s;
}
body.single-post .oaf-side-mini:last-child { border-bottom: none; }
body.single-post .oaf-side-mini:hover { opacity: .75; }
body.single-post .oaf-side-mini__thumb { width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg,#4f46e5,#7c3aed); overflow: hidden; }
body.single-post .oaf-side-mini__thumb--b { background: linear-gradient(135deg,#7c3aed,#3730a3); }
body.single-post .oaf-side-mini__thumb--c { background: linear-gradient(135deg,#3730a3,#7c3aed); }
body.single-post .oaf-side-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
body.single-post .oaf-side-mini b { font-size: 13.5px; font-weight: 600; line-height: 1.25; display: block; color: #1a1a1a; }
body.single-post .oaf-side-mini span { font-size: 12px; color: #6b7280; }
body.single-post .oaf-side-news {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #fff; border-radius: 16px; padding: 22px; text-align: center;
}
body.single-post .oaf-side-news b { font-family: 'Clash Display',sans-serif; font-size: 17px; display: block; margin-bottom: 4px; }
body.single-post .oaf-side-news p { font-size: 13px; opacity: .85; margin: 8px 0 14px; }
body.single-post .oaf-side-news form input {
    width: 100%; padding: 11px 14px; border: none; border-radius: 10px;
    margin-bottom: 8px; font-family: 'DM Sans',sans-serif; font-size: 13.5px;
    color: #1a1a1a; outline: none; display: block;
}
body.single-post .oaf-side-news form button {
    width: 100%; background: #f4b942; color: #5a3d00;
    border: none; padding: 11px; border-radius: 10px;
    font-weight: 700; cursor: pointer; font-family: 'DM Sans',sans-serif; font-size: 14px;
    transition: .2s;
}
body.single-post .oaf-side-news form button:hover { filter: brightness(1.05); }

/* ── Plugin TOC suppression ──────────────────────────────────── */
body.single-post #ez-toc-container,
body.single-post .ez-toc-widget-container,
body.single-post [id^="ez-toc"],
body.single-post #toc_container,
body.single-post .wp-block-yoast-seo-table-of-contents,
body.single-post .rank-math-toc,
body.single-post .fl-toc-widget { display: none !important; }

/* ── Further Reading (internal links block) ──────────────────── */
body.single-post .oaf-further-reading {
    margin: 48px 0 8px;
    background: #eef2ff;
    border: 2px solid #1a1a1a;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 4px 4px 0 0 #1a1a1a;
    font-family: var(--font-body);
}
body.single-post .oaf-further-reading h3 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 16px; font-weight: 700;
    color: #1a1a1a; margin: 0 0 16px;
    letter-spacing: -0.01em;
}
body.single-post .oaf-further-reading__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
body.single-post .oaf-further-reading__list li {
    display: flex; align-items: flex-start; gap: 8px;
}
body.single-post .oaf-further-reading__list li::before {
    content: '→'; color: #4f46e5; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
body.single-post .oaf-further-reading__list a {
    color: #1a1a1a; text-decoration: none; font-size: 14.5px;
    font-weight: 600; line-height: 1.4;
    transition: color 0.18s;
}
body.single-post .oaf-further-reading__list a:hover {
    color: #4f46e5; text-decoration: underline; text-decoration-thickness: 2px;
}
@media (max-width: 560px) {
    body.single-post .oaf-further-reading { padding: 20px 18px; box-shadow: 3px 3px 0 0 #1a1a1a; }
    body.single-post .oaf-further-reading h3 { font-size: 15px; }
    body.single-post .oaf-further-reading__list a { font-size: 13.5px; }
}

/* ── Responsive ──────────────────────────────────────────────── */

/* Tablet (641–920px): sidebar hides, article full-width */
@media (max-width: 920px) {
    body.single-post .oaf-art-layout.oaf-container {
        grid-template-columns: 1fr;
        padding: 32px 24px 60px;
    }
    body.single-post .oaf-side { position: static; margin-top: 40px; }
    body.single-post .oaf-verdict__top  { grid-template-columns: 1fr; text-align: center; }
    body.single-post .oaf-verdict__cta  { align-items: center; }
    body.single-post .oaf-verdict-scores { grid-template-columns: 1fr 1fr; }
    body.single-post .oaf-related .oaf-review-cards { grid-template-columns: repeat(2,1fr); }
}

/* Mobile (≤560px) */
@media (max-width: 560px) {
    body.single-post .oaf-art-layout.oaf-container { padding: 20px 16px 48px; }
    body.single-post .oaf-art-title    { font-size: clamp(24px, 8vw, 38px); }
    body.single-post .oaf-dek          { font-size: 16px; }
    body.single-post .oaf-article-body { font-size: 16.5px; line-height: 1.7; }
    body.single-post .oaf-byline       { flex-direction: column; gap: 8px; }
    body.single-post .oaf-byline__tag  { margin-left: 0; }
    body.single-post .oaf-proscons     { grid-template-columns: 1fr; }
    body.single-post .oaf-art-hero-img { aspect-ratio: 16/9; border-radius: 12px; }
    body.single-post .oaf-verdict-scores { grid-template-columns: 1fr 1fr; }
    body.single-post .oaf-art-author   { flex-direction: column; text-align: center; }
    body.single-post .oaf-art-author__av { margin: 0 auto; }
    body.single-post .oaf-art-toc      { border-radius: 12px; }
    body.single-post .oaf-related .oaf-review-cards { grid-template-columns: 1fr; }
    body.single-post .oaf-side-card,
    body.single-post .oaf-side-news    { border-radius: 12px; }
    body.single-post .oaf-article-body .cta-strip { flex-direction: column; text-align: center; }
    body.single-post .oaf-article-body .tbl-wrap  { border-radius: 10px; }
    body.single-post .oaf-article-body > p:first-of-type::first-letter { display: none; }
}

/* =================================================================
   SVG FLOWCHARTS & DIAGRAMS  (article-template-2.html)
   Editors add these as Custom HTML blocks in Gutenberg:
     <figure class="figure">
       <svg>...</svg>
       <figcaption>Caption</figcaption>
     </figure>
   ================================================================= */

body.single-post .oaf-article-body figure.figure,
body.single-post .oaf-article-body .figure {
    margin: 34px 0;
    font-family: 'DM Sans', sans-serif;
}

/* SVG fills the container, with paper bg + rounded border */
body.single-post .oaf-article-body .figure svg,
body.single-post .oaf-article-body figure.figure svg {
    width: 100%; height: auto;
    display: block;
    border: 1px solid #e8e8e5;
    border-radius: 18px;
    background: #ffffff;
    overflow: visible;
}

body.single-post .oaf-article-body .figure figcaption,
body.single-post .oaf-article-body figure figcaption {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; color: #6b7280;
    margin-top: 10px; text-align: center; font-style: italic;
}

/* Flow-step boxes inside SVG diagrams */
body.single-post .oaf-article-body .flow-step rect,
body.single-post .oaf-article-body .flow-step .chip { transition: all 0.2s ease; }
body.single-post .oaf-article-body .flow-step:hover rect { filter: brightness(1.08); }

/* Clash Display for diagram titles (SVG <text class="diagram-title">) */
.diagram-title {
    font-family: 'Clash Display', 'DM Sans', sans-serif !important;
    font-weight: 600;
}

/* =================================================================
   TEMPLATE SHORT-CLASS ALIASES
   Editors paste blocks using template class names (.proscons,
   .cta-strip, .faq, .tbl-wrap, .authorbox) in Custom HTML blocks.
   These mirror the oaf-* classes already defined above.
   ================================================================= */

/* ── Pros / Cons (.proscons .pc) ──────────────────────────────── */
body.single-post .oaf-article-body .proscons {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px; margin: 30px 0; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .pc {
    border: 1px solid #e8e8e5; border-radius: 16px; padding: 22px; background: #fff;
}
body.single-post .oaf-article-body .pc.pro { border-top: 4px solid #4f46e5; }
body.single-post .oaf-article-body .pc.con { border-top: 4px solid #e1483b; }
body.single-post .oaf-article-body .pc h4 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 16px; margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px; color: #1a1a1a;
}
body.single-post .oaf-article-body .pc ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 11px;
}
body.single-post .oaf-article-body .pc li {
    font-size: 14.5px; line-height: 1.45;
    padding-left: 26px; position: relative; color: #6b7280;
}
body.single-post .oaf-article-body .pc.pro li::before {
    content: "✓"; position: absolute; left: 0; color: #4f46e5; font-weight: 700;
}
body.single-post .oaf-article-body .pc.con li::before {
    content: "✕"; position: absolute; left: 0; color: #e1483b; font-weight: 700;
}

/* ── CTA Strip (.cta-strip) ───────────────────────────────────── */
body.single-post .oaf-article-body .cta-strip {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #fff; border-radius: 18px; padding: 28px 30px; margin: 36px 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 22px; flex-wrap: wrap; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .cta-strip .t b {
    font-family: 'Clash Display', sans-serif; font-weight: 600;
    font-size: 19px; display: block; margin-bottom: 4px; color: #fff;
}
body.single-post .oaf-article-body .cta-strip .t span { font-size: 14px; opacity: .85; color: #fff; }
body.single-post .oaf-article-body .cta-strip a {
    background: #f4b942; color: #5a3d00; font-weight: 700;
    padding: 13px 24px; border-radius: 11px; white-space: nowrap;
    text-decoration: none; transition: .2s; display: inline-block;
}
body.single-post .oaf-article-body .cta-strip a:hover { transform: translateY(-2px); color: #5a3d00; }

/* ── Comparison Table (.tbl-wrap table.cmp) ───────────────────── */
body.single-post .oaf-article-body .tbl-wrap {
    overflow-x: auto; margin: 30px 0;
    border: 1px solid #e8e8e5; border-radius: 16px;
    font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .tbl-wrap table,
body.single-post .oaf-article-body table.cmp {
    width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px;
}
body.single-post .oaf-article-body .tbl-wrap th,
body.single-post .oaf-article-body table.cmp th {
    background: #1a1a1a; color: #fff;
    padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 600;
}
body.single-post .oaf-article-body .tbl-wrap td,
body.single-post .oaf-article-body table.cmp td {
    padding: 14px 18px; text-align: left; border-bottom: 1px solid #e8e8e5;
}
body.single-post .oaf-article-body .tbl-wrap tbody tr:last-child td,
body.single-post .oaf-article-body table.cmp tbody tr:last-child td { border-bottom: none; }
body.single-post .oaf-article-body .tbl-wrap tbody tr:nth-child(even),
body.single-post .oaf-article-body table.cmp tbody tr:nth-child(even) { background: #eef2ff; }
body.single-post .oaf-article-body .tbl-wrap td:first-child,
body.single-post .oaf-article-body table.cmp td:first-child { font-weight: 600; }
body.single-post .oaf-article-body .win { color: #3730a3; font-weight: 700; }

/* ── FAQ Accordion (.faq details summary) ─────────────────────── */
body.single-post .oaf-article-body .faq { margin: 36px 0; font-family: 'DM Sans', sans-serif; }
body.single-post .oaf-article-body .faq details,
body.single-post .oaf-article-body .wp-block-details {
    border: 1px solid #e8e8e5; border-radius: 14px;
    margin-bottom: 12px; background: #fff; overflow: hidden;
}
body.single-post .oaf-article-body .faq summary,
body.single-post .oaf-article-body .wp-block-details > summary {
    padding: 18px 22px; font-weight: 600; cursor: pointer;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15.5px; color: #1a1a1a; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .faq summary::-webkit-details-marker,
body.single-post .oaf-article-body .wp-block-details > summary::-webkit-details-marker { display: none; }
body.single-post .oaf-article-body .faq summary::after,
body.single-post .oaf-article-body .wp-block-details > summary::after {
    content: "+"; color: #4f46e5; font-size: 22px; font-weight: 400; flex-shrink: 0;
}
body.single-post .oaf-article-body .faq details[open] > summary::after,
body.single-post .oaf-article-body .wp-block-details[open] > summary::after { content: "–"; }
body.single-post .oaf-article-body .faq details[open] > summary,
body.single-post .oaf-article-body .wp-block-details[open] > summary { border-bottom: 1px solid #e8e8e5; }
body.single-post .oaf-article-body .faq .a {
    padding: 16px 22px; font-size: 15px; line-height: 1.6; color: #6b7280;
}
body.single-post .oaf-article-body .wp-block-details > *:not(summary) {
    padding: 12px 22px 16px; font-size: 15px; line-height: 1.6; color: #6b7280;
    font-family: 'DM Sans', sans-serif;
}

/* ── Author box (.authorbox) ──────────────────────────────────── */
body.single-post .oaf-article-body .authorbox {
    display: flex; gap: 18px; align-items: flex-start;
    background: #fff; border: 1px solid #e8e8e5; border-radius: 18px;
    padding: 24px; margin: 44px 0; font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .authorbox .av {
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4f46e5); flex-shrink: 0;
}
body.single-post .oaf-article-body .authorbox b {
    font-family: 'Clash Display', sans-serif; font-size: 16px; display: block; color: #1a1a1a;
}
body.single-post .oaf-article-body .authorbox p {
    font-size: 14px; color: #6b7280; line-height: 1.55; margin-top: 6px;
}
body.single-post .oaf-article-body .authorbox a.inline {
    color: #3730a3; text-decoration: underline;
    text-decoration-color: #c7d2fe; text-underline-offset: 3px;
}

/* ── Verdict / Score box (.verdict) — for use inside article body ─ */
body.single-post .oaf-article-body .verdict {
    background: #fff; border: 1px solid #e8e8e5; border-radius: 22px;
    padding: 30px; margin: 30px 0;
    box-shadow: 0 24px 60px -42px rgba(12,42,34,.4);
    font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .verdict-top {
    display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
body.single-post .oaf-article-body .scorebig {
    text-align: center;
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #fff; border-radius: 18px; padding: 18px 22px; min-width: 104px;
}
body.single-post .oaf-article-body .scorebig b {
    font-family: 'Clash Display', sans-serif; font-weight: 700;
    font-size: 44px; line-height: 1; display: block;
}
body.single-post .oaf-article-body .scorebig span { font-size: 12px; opacity: .9; letter-spacing: .05em; }
body.single-post .oaf-article-body .scorebig .stars { color: #f4b942; font-size: 13px; margin-top: 6px; }
body.single-post .oaf-article-body .verdict-scores {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #e8e8e5;
}
body.single-post .oaf-article-body .vs .lab { font-size: 12px; color: #6b7280; font-weight: 500; }
body.single-post .oaf-article-body .vs .bar {
    height: 7px; background: #e0e7ff; border-radius: 5px; margin: 7px 0 5px; overflow: hidden;
}
body.single-post .oaf-article-body .vs .bar i {
    display: block; height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed); border-radius: 5px;
}
body.single-post .oaf-article-body .vs .n {
    font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 14px; color: #1a1a1a;
}
body.single-post .oaf-article-body .btn-buy {
    background: #f4b942; color: #5a3d00; font-weight: 700;
    padding: 13px 22px; border-radius: 12px; text-align: center;
    font-size: 14.5px; text-decoration: none; display: inline-block;
    transition: .2s; box-shadow: 0 10px 24px -10px rgba(244,185,66,.7);
}
body.single-post .oaf-article-body .btn-buy:hover { transform: translateY(-2px); color: #5a3d00; }
body.single-post .oaf-article-body .aff-note { font-size: 11px; color: #6b7280; text-align: center; display: block; margin-top: 6px; }

/* =================================================================
   WORDPRESS NATIVE BLOCK ENHANCEMENTS
   Extra overrides so Gutenberg's own block HTML looks right too
   ================================================================= */

/* WP Table block */
body.single-post .oaf-article-body .wp-block-table {
    overflow-x: auto; margin: 30px 0;
    border: 1px solid #e8e8e5; border-radius: 16px;
    font-family: 'DM Sans', sans-serif;
}
body.single-post .oaf-article-body .wp-block-table table {
    width: 100%; border-collapse: collapse; font-size: 14.5px;
}
body.single-post .oaf-article-body .wp-block-table thead th {
    background: #1a1a1a; color: #fff;
    padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 600;
}
body.single-post .oaf-article-body .wp-block-table td {
    padding: 12px 18px; border-bottom: 1px solid #e8e8e5;
}
body.single-post .oaf-article-body .wp-block-table tbody tr:nth-child(even) { background: #eef2ff; }
body.single-post .oaf-article-body .wp-block-table tbody tr:last-child td { border-bottom: none; }

/* WP Pullquote block */
body.single-post .oaf-article-body .wp-block-pullquote {
    border-left: 4px solid #4f46e5; border-top: none; border-bottom: none;
    background: #fff; padding: 18px 24px; border-radius: 0 14px 14px 0;
    margin: 26px 0;
}
body.single-post .oaf-article-body .wp-block-pullquote p {
    font-size: 19px; font-style: italic; color: #1a1a1a; margin: 0;
}
body.single-post .oaf-article-body .wp-block-pullquote cite {
    font-size: 13px; color: #6b7280; font-style: normal; margin-top: 8px; display: block;
}

/* WP Code block */
body.single-post .oaf-article-body .wp-block-code {
    background: #1a1a1a; color: #c7d2fe;
    padding: 20px 24px; border-radius: 16px;
    overflow-x: auto; font-size: 14px; line-height: 1.6;
}

/* WP Separator */
body.single-post .oaf-article-body .wp-block-separator {
    border: none; border-top: 1px solid #e8e8e5; margin: 2.5em 0;
}

/* WP Image block caption */
body.single-post .oaf-article-body .wp-block-image figcaption {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; color: #6b7280; font-style: italic;
    margin-top: 8px; text-align: center;
}

/* ── Mobile responsive additions ─────────────────────────────── */
@media (max-width: 560px) {
    body.single-post .oaf-article-body .proscons { grid-template-columns: 1fr; }
    body.single-post .oaf-article-body .verdict-top { grid-template-columns: 1fr; text-align: center; }
    body.single-post .oaf-article-body .verdict-scores { grid-template-columns: 1fr 1fr; }
    body.single-post .oaf-article-body .verdict .cta { align-items: center; }
    body.single-post .oaf-article-body .cta-strip { flex-direction: column; text-align: center; }
    body.single-post .oaf-article-body .authorbox { flex-direction: column; text-align: center; }
    body.single-post .oaf-article-body .authorbox .av { margin: 0 auto; }
}

/* =================================================================
   SINGLE POST — Readability & UX improvements
   ================================================================= */

/* Drop-cap on first paragraph — modern editorial touch */
body.single-post .oaf-article-body > p:first-of-type::first-letter {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 3.6em; font-weight: 700;
    float: left; line-height: 0.85;
    margin: 0.06em 0.12em 0 0;
    color: #4f46e5;
}

/* Reading progress — smoother colour */
body.single-post #oaf-prog {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 60%, #f4b942 100%);
    height: 3px;
}

/* Sharing / post tags spacing */
body.single-post .oaf-post-tags { gap: 6px; flex-wrap: wrap; }

/* Author avatar ring */
body.single-post .oaf-art-author__av {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e0e7ff;
}

/* Related section heading */
body.single-post .oaf-related__title {
    font-size: clamp(20px, 3vw, 28px);
    letter-spacing: -0.02em;
}

/* Verdict score bars — animated on scroll */
body.single-post .oaf-vs__bar i {
    animation: single-bar-grow 1.2s cubic-bezier(0.2,0.9,0.2,1) forwards;
}
@keyframes single-bar-grow { from { width: 0; } }

/* ── Larger TOC on tablet ─────────────────────────────────────── */
@media (max-width: 920px) {
    body.single-post .oaf-art-toc { margin-bottom: 28px; }
    body.single-post .oaf-article-body { font-size: 17.5px; }
}
@media (max-width: 480px) {
    body.single-post .oaf-article-body { font-size: 16.5px; line-height: 1.7; }
    body.single-post .oaf-article-body > p:first-of-type::first-letter { display: none; }
    body.single-post .oaf-art-layout.oaf-container { padding: 20px 14px 48px; }
}

/* =================================================================
   COMMENT SECTION — Modern neo-brutalist redesign
   Scoped to body.single-post .oaf-comments
   ================================================================= */

/* ── Outer wrapper ───────────────────────────────────────────── */
body.single-post .oaf-comments {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid #1a1a1a;
    font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   EXISTING COMMENTS LIST
   ═══════════════════════════════════════════════════════════════ */
body.single-post .oaf-comments #comments > h2 {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
    color: #1a1a1a; margin-bottom: 28px;
}
body.single-post .oaf-comments .comment-list {
    list-style: none; margin: 0 0 48px; padding: 0;
    display: flex; flex-direction: column; gap: 20px;
}
/* Individual comment card */
body.single-post .oaf-comments .comment-body {
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 4px 4px 0 0 #1a1a1a;
    transition: transform .2s ease, box-shadow .2s ease;
}
body.single-post .oaf-comments .comment-body:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 0 #1a1a1a;
}
/* Comment header row */
body.single-post .oaf-comments .comment-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
body.single-post .oaf-comments .comment-author {
    display: flex; align-items: center; gap: 10px; flex: 1;
}
body.single-post .oaf-comments .comment-author .avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    border: 2px solid #1a1a1a; flex-shrink: 0;
}
body.single-post .oaf-comments .comment-author .fn {
    font-weight: 700; font-size: 14.5px; color: #1a1a1a;
    text-decoration: none; font-style: normal;
}
body.single-post .oaf-comments .comment-author .fn a { color: inherit; text-decoration: none; }
body.single-post .oaf-comments .comment-metadata {
    font-size: 12px; color: #9ca3af;
}
body.single-post .oaf-comments .comment-metadata a { color: #9ca3af; text-decoration: none; }
body.single-post .oaf-comments .comment-metadata a:hover { color: #4f46e5; }
/* Awaiting moderation badge */
body.single-post .oaf-comments .comment-awaiting-moderation {
    display: inline-block; background: #fef3c7; color: #d97706;
    font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 20px;
    border: 1px solid #f59e0b; margin-bottom: 10px;
}
/* Comment text */
body.single-post .oaf-comments .comment-content p {
    font-size: 14.5px; line-height: 1.7; color: #374151; margin-bottom: 0;
}
/* Reply link */
body.single-post .oaf-comments .reply {
    margin-top: 12px;
}
body.single-post .oaf-comments .comment-reply-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; font-weight: 700; color: #4f46e5;
    text-decoration: none; transition: gap .2s;
}
body.single-post .oaf-comments .comment-reply-link:hover { gap: 8px; }
body.single-post .oaf-comments .comment-reply-link::before {
    content: '↩'; font-size: 13px;
}
/* Nested replies */
body.single-post .oaf-comments .children {
    list-style: none; padding: 0; margin: 14px 0 0 24px;
    display: flex; flex-direction: column; gap: 14px;
    border-left: 3px solid #eef2ff; padding-left: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   COMMENT FORM — "Leave a comment"
   ═══════════════════════════════════════════════════════════════ */

/* ── Form card wrapper ───────────────────────────────────────── */
body.single-post .oaf-comments #respond {
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 22px;
    padding: 36px 40px 40px;
    box-shadow: 6px 6px 0 0 #1a1a1a;
}

/* ── Form header (icon + title + subtitle) ───────────────────── */
body.single-post .oaf-comments .oaf-comment-form-header {
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px;
}
body.single-post .oaf-comments .oaf-comment-form-header__icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: #eef2ff; color: #4f46e5;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #1a1a1a; box-shadow: 2px 2px 0 0 #1a1a1a;
}
body.single-post .oaf-comments .comment-reply-title {
    font-family: 'Clash Display', 'DM Sans', sans-serif;
    font-size: clamp(20px, 2.5vw, 26px); font-weight: 700;
    letter-spacing: -0.02em; color: #1a1a1a; margin: 0 0 5px;
}
body.single-post .oaf-comments .oaf-comment-form-sub {
    font-size: 13px; color: #9ca3af; margin: 0; line-height: 1.5;
}
/* Cancel reply link */
body.single-post .oaf-comments #cancel-comment-reply-link {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: #9ca3af; margin-left: 12px; text-decoration: none;
    border: 1px solid #e8e8e5; padding: 2px 10px; border-radius: 20px;
    vertical-align: middle; transition: all .2s;
}
body.single-post .oaf-comments #cancel-comment-reply-link:hover { color: #dc2626; border-color: #dc2626; }

/* ── The <form> ──────────────────────────────────────────────── */
body.single-post .oaf-comments .comment-form {
    display: flex; flex-direction: column; gap: 18px;
}

/* 2-column row for Name + Email */
body.single-post .oaf-comments .oaf-comment-fields-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

/* Field wrapper (WordPress wraps each in <p>) */
body.single-post .oaf-comments .comment-form p {
    margin: 0;
}
body.single-post .oaf-comments .comment-form label {
    display: block; font-size: 13px; font-weight: 600; color: #1a1a1a;
    margin-bottom: 7px; letter-spacing: 0.01em;
}
body.single-post .oaf-comments .comment-form label .required {
    color: #4f46e5; margin-left: 2px;
}

/* ── Input / textarea base ───────────────────────────────────── */
body.single-post .oaf-comments .comment-form input[type="text"],
body.single-post .oaf-comments .comment-form input[type="email"],
body.single-post .oaf-comments .comment-form input[type="url"],
body.single-post .oaf-comments .comment-form textarea {
    width: 100%; font-family: 'DM Sans', sans-serif;
    font-size: 14.5px; color: #1a1a1a;
    background: #f9f9f7;
    border: 2px solid #1a1a1a;
    border-radius: 12px; outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}
body.single-post .oaf-comments .comment-form input[type="text"],
body.single-post .oaf-comments .comment-form input[type="email"],
body.single-post .oaf-comments .comment-form input[type="url"] {
    height: 48px; padding: 0 16px;
}
body.single-post .oaf-comments .comment-form textarea {
    padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.65;
}
body.single-post .oaf-comments .comment-form input:focus,
body.single-post .oaf-comments .comment-form textarea:focus {
    border-color: #4f46e5; background: #fff;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12), 3px 3px 0 0 #1a1a1a;
}
body.single-post .oaf-comments .comment-form input::placeholder,
body.single-post .oaf-comments .comment-form textarea::placeholder { color: #b0b7c3; }

/* ── Icon-prefixed inputs (via functions.php filter) ─────────── */
body.single-post .oaf-comments .comment-form p { position: relative; }
body.single-post .oaf-comments .oaf-cf-icon {
    position: absolute; left: 14px; top: 40px; /* below label */
    color: #9ca3af; pointer-events: none;
    display: flex; align-items: center;
    transition: color .2s;
}
body.single-post .oaf-comments .comment-form p:focus-within .oaf-cf-icon { color: #4f46e5; }
body.single-post .oaf-comments .oaf-cf-has-icon { padding-left: 42px !important; }
/* Textarea icon sits at top */
body.single-post .oaf-comments .comment-form-comment .oaf-cf-icon { top: 52px; align-items: flex-start; padding-top: 2px; }

/* ── Cookies / consent checkbox ──────────────────────────────── */
body.single-post .oaf-comments .comment-form-cookies-consent {
    display: flex; align-items: flex-start; gap: 10px;
}
body.single-post .oaf-comments .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px; height: 18px; border-radius: 5px; cursor: pointer;
    accent-color: #4f46e5; flex-shrink: 0; margin-top: 2px;
    border: 2px solid #1a1a1a; background: #f9f9f7; padding: 0;
}
body.single-post .oaf-comments .comment-form-cookies-consent label {
    font-size: 13px; color: #6b7280; font-weight: 400; margin: 0; cursor: pointer;
}

/* ── Submit button ───────────────────────────────────────────── */
body.single-post .oaf-comments .form-submit { margin: 0; }
body.single-post .oaf-comments .oaf-comment-submit,
body.single-post .oaf-comments #submit {
    display: inline-flex; align-items: center; gap: 10px;
    background: #1a1a1a; color: #fff;
    font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 15px;
    padding: 14px 30px; border-radius: 50px; border: 2px solid #1a1a1a;
    cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 3px 3px 0 0 rgba(79,70,229,0.5);
    white-space: nowrap;
}
body.single-post .oaf-comments .oaf-comment-submit:hover,
body.single-post .oaf-comments #submit:hover {
    background: #4f46e5;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 0 rgba(79,70,229,0.4);
}
body.single-post .oaf-comments .oaf-comment-submit:active,
body.single-post .oaf-comments #submit:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 0 rgba(79,70,229,0.3);
}

/* ── Logged-in message ───────────────────────────────────────── */
body.single-post .oaf-comments .logged-in-as {
    font-size: 13px; color: #6b7280; margin-bottom: 4px;
}
body.single-post .oaf-comments .logged-in-as a { color: #4f46e5; text-decoration: none; }
body.single-post .oaf-comments .logged-in-as a:hover { text-decoration: underline; }

/* ── Pings / trackbacks ──────────────────────────────────────── */
body.single-post .oaf-comments .ping-list {
    list-style: none; margin: 0 0 32px; padding: 0;
}
body.single-post .oaf-comments .ping-list li {
    font-size: 13.5px; padding: 8px 0;
    border-bottom: 1px solid #f4f4f2;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    body.single-post .oaf-comments #respond { padding: 24px 20px 28px; box-shadow: 4px 4px 0 0 #1a1a1a; }
    body.single-post .oaf-comments .oaf-comment-fields-row { grid-template-columns: 1fr; }
    body.single-post .oaf-comments .oaf-comment-form-header { flex-direction: column; gap: 10px; }
    body.single-post .oaf-comments .comment-body { box-shadow: 3px 3px 0 0 #1a1a1a; padding: 18px; }
    body.single-post .oaf-comments .children { margin-left: 12px; padding-left: 14px; }
    body.single-post .oaf-comments .oaf-comment-submit,
    body.single-post .oaf-comments #submit { width: 100%; justify-content: center; }
}
