/* ============================================================
   BRAJOLA CRAFTS — Insight Single Post
   Scoped under .brajola-insight-single. Mobile-first.
   ============================================================ */

body.brajola-insight-single-page { background: var(--bg); }

.brajola-insight-single {
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.brajola-insight-single h1, .brajola-insight-single h2, .brajola-insight-single h3,
.brajola-insight-single h4, .brajola-insight-single h5, .brajola-insight-single h6 {
    font-family: inherit; color: inherit;
}
.brajola-insight-single img { display: block; max-width: 100%; }

/* ── Reading progress ─────────────────────────────────── */
.brajola-insight-single .reading-progress { position: sticky; top: 0; z-index: 200; width: 0%; height: 3px; background: var(--accent); }

/* ── Article hero ─────────────────────────────────────── */
.brajola-insight-single .article-hero { padding: 32px 0 32px; }
.brajola-insight-single .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.brajola-insight-single .category { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 999px; color: #555; }
.brajola-insight-single .category-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brajola-insight-single .meta-divider { color: #bbb; }

.brajola-insight-single .article-hero h1 {
    max-width: 1050px; margin-top: 22px;
    font-size: clamp(40px, 8vw, 105px); line-height: 1; letter-spacing: -.06em; font-weight: 800;
}
.brajola-insight-single .article-intro { max-width: 700px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.6; }

.brajola-insight-single .author-row { margin-top: 26px; display: flex; align-items: center; gap: 13px; }
.brajola-insight-single .author-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.brajola-insight-single .author-info strong { display: block; font-size: 13px; }
.brajola-insight-single .author-info span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

/* ── Cover ────────────────────────────────────────────── */
.brajola-insight-single .article-cover {
    margin-top: 28px; height: min(80vw, 460px);
    background: linear-gradient(135deg, #151515 0%, #242424 45%, var(--accent) 45%, var(--accent) 100%);
    border-radius: var(--radius-xl); position: relative; overflow: hidden;
}
.brajola-insight-single .article-cover__img { width: 100%; height: 100%; object-fit: cover; }
.brajola-insight-single .cover-grid {
    position: absolute; inset: 0; opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 44px 44px;
}
.brajola-insight-single .cover-circle {
    position: absolute; right: 8%; top: 10%; width: clamp(90px, 26vw, 220px); aspect-ratio: 1; border-radius: 50%;
    border: 1px solid rgba(17,17,17,.25); display: flex; align-items: center; justify-content: center;
}
.brajola-insight-single .cover-circle::after { content: ""; width: 45%; aspect-ratio: 1; border-radius: 50%; background: #111; }
.brajola-insight-single .cover-word {
    position: absolute; left: 6%; bottom: 8%; color: white; max-width: 88%;
    font-size: clamp(34px, 12vw, 150px); line-height: .82; letter-spacing: -.06em; font-weight: 800; text-transform: uppercase;
    overflow-wrap: break-word;
}
.brajola-insight-single .cover-label { position: absolute; right: 6%; bottom: 6%; color: #111; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ── Layout ───────────────────────────────────────────── */
.brajola-insight-single .article-layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 64px; }

.brajola-insight-single .share-column { display: none; }
.brajola-insight-single .share-inner { position: sticky; top: 20px; }
.brajola-insight-single .share-label { color: #999; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.brajola-insight-single .share-buttons { margin-top: 15px; display: flex; flex-direction: column; gap: 8px; }
.brajola-insight-single .share-button {
    width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: white;
    display: flex; align-items: center; justify-content: center; color: #555; font-size: 11px; font-weight: 800;
    cursor: pointer; transition: .3s ease;
}
.brajola-insight-single .share-button:hover { background: var(--dark); color: white; transform: translateY(-2px); }
.brajola-insight-single .share-button svg { width: 16px; height: 16px; }

/* ── Article typography ───────────────────────────────── */
.brajola-insight-single .article { max-width: 760px; width: 100%; }
.brajola-insight-single .article p { margin-bottom: 24px; color: #292925; font-size: 16px; line-height: 1.8; letter-spacing: -.01em; }
.brajola-insight-single .article h2 { margin-top: 48px; margin-bottom: 18px; font-size: clamp(28px, 5vw, 50px); line-height: 1.05; letter-spacing: -.05em; }
.brajola-insight-single .article h3 { margin-top: 36px; margin-bottom: 14px; font-size: 22px; line-height: 1.15; letter-spacing: -.04em; }
.brajola-insight-single .article ul, .brajola-insight-single .article ol { margin: 24px 0 30px; padding-left: 22px; }
.brajola-insight-single .article li { margin-bottom: 12px; color: #292925; font-size: 16px; line-height: 1.7; }
.brajola-insight-single .article strong { color: #111; font-weight: 750; }
.brajola-insight-single .article a { text-decoration: underline; text-underline-offset: 2px; }
.brajola-insight-single .article blockquote {
    margin: 44px 0; padding: 26px 22px; background: var(--dark); color: white;
    border-radius: var(--radius-lg); font-size: clamp(21px, 4vw, 30px); line-height: 1.2; letter-spacing: -.04em;
}
.brajola-insight-single .article img { border-radius: var(--radius-lg); margin: 44px 0; }

.brajola-insight-single .insight-callout { margin: 44px 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.brajola-insight-single .callout-label { color: #999; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.brajola-insight-single .insight-callout h3 { margin-top: 14px; font-size: 22px; }
.brajola-insight-single .insight-callout p { margin-top: 10px; margin-bottom: 0; font-size: 14px; line-height: 1.7; }

.brajola-insight-single .takeaways { margin: 56px 0; padding: 28px 22px; background: var(--accent); border-radius: var(--radius-xl); }
.brajola-insight-single .takeaways-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.brajola-insight-single .takeaways h2 { margin-top: 14px; font-size: 28px; line-height: 1.05; letter-spacing: -.05em; }
.brajola-insight-single .takeaways li { color: #262800; }
.brajola-insight-single .takeaways ul { margin-bottom: 0; }

/* ── Article end / author card ────────────────────────── */
.brajola-insight-single .article-end { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.brajola-insight-single .end-message { font-size: 22px; line-height: 1.25; letter-spacing: -.04em; font-weight: 700; }
.brajola-insight-single .article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.brajola-insight-single .article-tag { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #666; font-size: 11px; font-weight: 600; }

.brajola-insight-single .author-card {
    margin-top: 40px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
    display: flex; gap: 16px; align-items: flex-start;
}
.brajola-insight-single .author-card-avatar {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--dark); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.brajola-insight-single .author-card h3 { margin: 0; font-size: 17px; }
.brajola-insight-single .author-card p { margin-top: 7px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ── Related ──────────────────────────────────────────── */
.brajola-insight-single .related { padding: 64px 0; border-top: 1px solid var(--line); }
.brajola-insight-single .related-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.brajola-insight-single .related-label { color: #888; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.brajola-insight-single .related-head h2 { max-width: 700px; font-size: clamp(34px, 6vw, 70px); line-height: 1; letter-spacing: -.06em; }

.brajola-insight-single .related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.brajola-insight-single .related-card { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: block; transition: .4s ease; }
.brajola-insight-single .related-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.brajola-insight-single .related-visual { height: 200px; background: var(--soft); position: relative; overflow: hidden; }
.brajola-insight-single .related-visual img { width: 100%; height: 100%; object-fit: cover; }
.brajola-insight-single .related-visual.one { background: linear-gradient(135deg, #111 0 55%, var(--accent) 55%); }
.brajola-insight-single .related-visual.two { background: linear-gradient(135deg, var(--line) 0 55%, #111 55%); }
.brajola-insight-single .related-visual.three { background: linear-gradient(135deg, var(--accent) 0 50%, #e8e8e4 50%); }
.brajola-insight-single .related-number { position: absolute; left: 20px; bottom: 16px; color: white; font-size: 50px; line-height: .8; letter-spacing: -.07em; font-weight: 800; }
.brajola-insight-single .related-visual.two .related-number,
.brajola-insight-single .related-visual.three .related-number { color: #111; }
.brajola-insight-single .related-content { padding: 22px; }
.brajola-insight-single .related-category { color: #999; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.brajola-insight-single .related-content h3 { margin-top: 12px; font-size: 22px; line-height: 1.05; letter-spacing: -.04em; }
.brajola-insight-single .related-content p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.brajola-insight-single .read-link { display: inline-flex; margin-top: 20px; font-size: 12px; font-weight: 800; }

/* ── CTA ───────────────────────────────────────────────── */
.brajola-insight-single .article-cta { padding: 0 0 64px; }
.brajola-insight-single .cta-box { padding: 38px 22px; background: var(--dark); color: white; border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.brajola-insight-single .cta-box::after { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -130px; border-radius: 50%; background: var(--accent); opacity: .12; filter: blur(5px); }
.brajola-insight-single .cta-box h2 { position: relative; z-index: 2; max-width: 800px; font-size: clamp(34px, 7vw, 82px); line-height: 1; letter-spacing: -.065em; }
.brajola-insight-single .cta-box h2 span { color: var(--accent); }
.brajola-insight-single .cta-box p { position: relative; z-index: 2; max-width: 580px; margin-top: 18px; color: #aaa; font-size: 14px; line-height: 1.7; }
.brajola-insight-single .cta-button {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
    padding: 14px 19px; background: white; color: #111; border-radius: 999px; font-size: 13px; font-weight: 800;
}

/* ── Tablet ───────────────────────────────────────────── */
@media (min-width: 700px) {
    .brajola-insight-single .article-hero { padding: 40px 0 40px; }
    .brajola-insight-single .article-hero h1 { line-height: .95; }
    .brajola-insight-single .related-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── Desktop ──────────────────────────────────────────── */
@media (min-width: 1000px) {
    .brajola-insight-single .article-hero { padding: 56px 0 48px; }
    .brajola-insight-single .article-hero h1 { line-height: .91; }
    .brajola-insight-single .article-layout { grid-template-columns: 80px minmax(0, 760px); justify-content: center; gap: 45px; }
    .brajola-insight-single .share-column { display: block; }
    .brajola-insight-single .article p { font-size: 18px; }
    .brajola-insight-single .related-grid { grid-template-columns: repeat(3,1fr); }
    .brajola-insight-single .cta-box { padding: 60px 50px; }
}

@media (prefers-reduced-motion: reduce) { .brajola-insight-single * { transition: none !important; } }
