/* ==========================================================================
   Kandryn Performance - single Insight post (/insights/<slug>)
   ========================================================================== */

.post { padding-bottom: clamp(3rem, 6vw, 5rem); }
/* unified, comfortable reading column for the whole article */
.post .container { max-width: 880px; }

/* --------------------------------------------------------------------------
   Post header
   -------------------------------------------------------------------------- */
.post-head { padding-block: clamp(2.4rem, 5vw, 3.6rem) clamp(1.6rem, 3vw, 2.2rem); }
.post-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--teal-dark);
    margin-bottom: 1.4rem;
}
.post-back:hover { color: var(--teal); }
.post-head h1 {
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    max-width: 18ch;
    margin-bottom: 1.4rem;
}
.post-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.post-meta__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(3,182,181,0.25);
}
.post-meta__name {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--charcoal);
    font-size: 0.98rem;
    line-height: 1.3;
}
.post-meta__sub {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Featured image
   -------------------------------------------------------------------------- */
.post-featured { margin-bottom: clamp(2rem, 4vw, 3rem); }
.post-featured img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Body - readable measure
   -------------------------------------------------------------------------- */
.post-body { max-width: none; }
.post-body > * + * { margin-top: 1.2rem; }
.post-body p { color: #3c4a50; font-size: 1.08rem; line-height: 1.75; }
.post-body h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    margin-top: 2.4rem;
    color: var(--teal-dark);
}
.post-body h3 {
    font-size: 1.2rem;
    margin-top: 1.8rem;
    color: var(--teal-dark);
}
.post-body a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--teal); }
.post-body strong { color: var(--charcoal); }

/* Teal bulleted lists */
.post-body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.2rem;
}
.post-body ul li {
    position: relative;
    padding-left: 1.6rem;
    color: #3c4a50;
    font-size: 1.08rem;
    line-height: 1.7;
}
.post-body ul li + li { margin-top: 0.6rem; }
.post-body ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.66em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

/* Teal numbered lists */
.post-body ol {
    list-style: none;
    padding-left: 0;
    margin-top: 1.2rem;
    counter-reset: kandryn-count;
}
.post-body ol > li {
    counter-increment: kandryn-count;
    position: relative;
    padding-left: 2.4rem;
    color: #3c4a50;
    font-size: 1.08rem;
    line-height: 1.7;
}
.post-body ol > li + li { margin-top: 0.85rem; }
.post-body ol > li::before {
    content: counter(kandryn-count);
    position: absolute;
    left: 0; top: 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--teal);
    line-height: 1.6;
}
/* nested list inside an ordered item */
.post-body ol ul { margin-top: 0.5rem; }

/* Blockquotes (lyrics, quotes) */
.post-body blockquote {
    border-left: 3px solid var(--teal);
    background: var(--grey);
    padding: 1.1rem 1.4rem;
    border-radius: 0 10px 10px 0;
    margin-top: 1.6rem;
    font-style: italic;
    color: var(--charcoal);
    font-size: 1.1rem;
    line-height: 1.6;
}
.post-body blockquote p { color: var(--charcoal); font-style: italic; }
.post-body blockquote cite { display: block; font-style: normal; font-weight: 600; font-family: var(--font-head); font-size: 0.9rem; color: var(--teal-dark); margin-top: 0.6rem; }

/* In-body figures */
.post-figure { margin-top: 1.8rem; }
.post-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.post-figure figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--muted);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Share / copy link
   -------------------------------------------------------------------------- */
.post-share {
    margin-top: clamp(2.4rem, 5vw, 3.4rem);
    padding-top: 1.8rem;
    border-top: 1px solid var(--grey-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.copy-link { position: relative; }
.copy-link__done {
    margin-left: 0.7rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--teal-dark);
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}
.copy-link__done.is-visible { opacity: 1; }
