/* ============================================================
   /verbose — docs style (matches /python-course & main site)
   Relies on tokens from style.css (:root). Only verbose-specific
   blocks live here.
   ============================================================ */

/* ── Breadcrumb + meta ───────────────────────────────────── */
.v-breadcrumb {
    font-size: .82rem;
    color: var(--text-faint);
    margin-bottom: .5rem;
    font-family: var(--mono);
}
.v-breadcrumb a { color: var(--text-dim); transition: color .15s; }
.v-breadcrumb a:hover { color: var(--accent); }
.v-bc-sep { margin: 0 .4rem; opacity: .5; }

.v-title {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: .6rem;
}

.v-meta {
    font-size: .82rem;
    color: var(--text-faint);
    margin-bottom: 2.5rem;
    font-family: var(--mono);
}
.v-meta-dot { margin: 0 .45rem; }

/* ── Section ─────────────────────────────────────────────── */
.v-section { margin-bottom: 3.5rem; scroll-margin-top: 1.5rem; }

.v-section-title {
    display: flex; align-items: center; gap: .7rem;
    font-size: 1.4rem; font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
}
.v-section-num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2rem; height: 2rem; padding: 0 .4rem;
    border-radius: var(--radius-sm);
    background: var(--bg-elev-2); color: var(--accent);
    font-family: var(--mono); font-size: .9rem; font-weight: 700;
    flex-shrink: 0;
}

/* ── Language badges ─────────────────────────────────────── */
.v-badges {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 1.75rem;
}
.v-badge { display: block; height: 22px; border-radius: 4px; }

/* ── Facts grid ──────────────────────────────────────────── */
.v-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
}
.v-fact {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: .65rem .9rem;
    background: var(--bg-elev);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: .92rem;
}
.v-fact strong {
    color: var(--text);
    font-weight: 600;
    font-family: var(--mono);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.v-fact > span { color: var(--text-dim); }

/* ── Inline link ─────────────────────────────────────────── */
.v-link {
    color: var(--accent-2);
    border-bottom: 1px solid rgba(255,166,87,.4);
    transition: color .15s, border-color .15s;
}
.v-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Astro reveal button ─────────────────────────────────── */
.v-astro-btn {
    font-family: var(--mono);
    font-size: .85rem;
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .15rem .6rem;
    color: var(--text);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.v-astro-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Work experience ─────────────────────────────────────── */
.v-work {
    padding: 1rem 1.2rem;
    background: var(--bg-elev);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: .9rem;
}
.v-work-h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.v-work-meta {
    font-family: var(--mono); font-size: .8rem;
    color: var(--text-faint); font-weight: 400; margin-left: .4rem;
}
.v-work-role { font-size: .9rem; color: var(--text-dim); margin-top: .3rem; }

/* ── Socials ─────────────────────────────────────────────── */
.v-socials { display: flex; flex-direction: column; gap: .5rem; }
.v-social {
    display: flex; align-items: center; flex-wrap: wrap; gap: .55rem;
    padding: .6rem .9rem;
    background: var(--bg-elev);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: .92rem;
    transition: border-color .15s, transform .15s;
}
.v-social:hover { border-color: var(--accent); transform: translateX(3px); }
.v-social-icon { font-size: 1.05rem; width: 1.4rem; text-align: center; flex-shrink: 0; }
.v-social strong {
    color: var(--text); font-weight: 600;
    font-family: var(--mono); font-size: .82rem;
    min-width: 5.5rem;
}

/* ── Languages tier ──────────────────────────────────────── */
.v-tier-list { display: flex; flex-direction: column; gap: .5rem; }
.v-tier {
    font-size: .98rem; color: var(--text-dim);
    padding: .6rem .9rem;
    background: var(--bg-elev);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
}
.v-tier strong { color: var(--text); font-weight: 600; }
.verbose-tier-level { color: var(--text-faint); font-style: italic; margin-left: .35rem; }

/* ── Footer ──────────────────────────────────────────────── */
.v-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
    font-size: .85rem;
    color: var(--text-faint);
    font-family: var(--mono);
}
.v-footer-name { color: var(--text-dim); font-weight: 500; }
.v-footer-sep { margin: 0 .45rem; opacity: .6; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 560px) {
    .v-fact { grid-template-columns: 1fr; gap: .2rem; }
    .v-fact strong { font-size: .76rem; }
}
