/* ── Sticky meta bar ──────────────────────────────────────── */
.ki-art-meta-bar {
    position: sticky;
    top: 56px;
    z-index: 50;
    background: rgba(18, 6, 1, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 168, 124, 0.28);
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.ki-art-meta-bar-inner {
    display: flex;
    align-items: center;
    gap: 0 18px;
    padding: 11px 0;
}
.ki-art-back-btn {
    font-family: var(--ki-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: rgba(201, 168, 124, 0.22);
    border: 1px solid rgba(201, 168, 124, 0.55);
    padding: 5px 16px;
    border-radius: 20px;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.ki-art-back-btn:hover {
    background: rgba(201, 168, 124, 0.38);
    border-color: rgba(201, 168, 124, 0.9);
    color: #fff;
}
.ki-art-meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(201, 168, 124, 0.55);
    display: inline-block;
    flex-shrink: 0;
}
.ki-art-meta-text {
    font-family: var(--ki-sans);
    font-size: 13px;
    letter-spacing: 0.3px;
    color: rgba(255, 248, 240, 0.92);
    font-weight: 400;
}

/* ── Hero ─────────────────────────────────────────────────── */
.ki-art-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-size: cover;
    background-position: center 30%;
    background-color: #2a1208;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding-top: 100px;
    margin-top: 56px;
}
.ki-art-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(30, 12, 5, 0.25) 0%,
        rgba(40, 18, 7, 0.50) 35%,
        rgba(22, 7, 2, 0.88) 70%,
        rgba(15, 4, 1, 0.97) 100%
    );
}
.ki-art-hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 0 72px;
}
.ki-art-hero-title {
    font-family: var(--ki-serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    margin: 0 0 24px;
    max-width: 820px;
}
.ki-art-hero-lead {
    font-family: var(--ki-sans);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,248,240,0.88);
    max-width: 680px;
}
.ki-art-hero-lead p { margin: 0; }
.ki-art-hero-lead strong,
.ki-art-hero-lead b { font-weight: 400; color: #fff; }
.ki-art-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201,168,124,0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201,168,124,0.7);
    font-size: 14px;
    animation: ki-bounce 2.2s ease-in-out infinite;
}
@keyframes ki-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   opacity: .7; }
    50%       { transform: translateX(-50%) translateY(6px); opacity: 1;  }
}

/* ── Body layout ──────────────────────────────────────────── */
.ki-art-body-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 0 80px;
}
.ki-art-body {
    font-family: var(--ki-body);
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.85;
    color: #2c1a10;
}
.ki-art-body h1,
.ki-art-body h2,
.ki-art-body h3,
.ki-art-body h4 {
    font-family: var(--ki-serif);
    color: #3e2618;
    margin-top: 2rem;
    clear: both;
}
.ki-art-body p { margin-bottom: 1.3rem; }
.ki-art-body a {
    color: #57443d;
    border-bottom: 1px solid rgba(87,68,61,0.35);
    text-decoration: none;
}
.ki-art-body a:hover {
    color: #3e2618;
    border-color: rgba(62,38,24,0.7);
}
.ki-art-body ul,
.ki-art-body ol { padding-left: 1.5rem; }
.ki-art-body li { margin-bottom: .4rem; }
.ki-art-body blockquote {
    border-left: 3px solid #c9a87c;
    margin: 2rem 0;
    padding: .8rem 1.5rem;
    background: rgba(87,68,61,0.05);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #57443d;
    clear: both;
}

/* ── Inline floated images ────────────────────────────────── */
.ki-art-fig {
    margin: 6px 0 20px;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(30,12,5,0.22);
    position: relative;
}
.ki-art-fig--right {
    float: right;
    margin-left: 28px;
    margin-bottom: 20px;
    width: 44%;
}
.ki-art-fig--left {
    float: left;
    margin-right: 28px;
    margin-bottom: 20px;
    width: 44%;
}
.ki-art-fig img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.ki-art-fig:hover img { transform: scale(1.03); }
.ki-art-body-end { clear: both; }

/* ── Author card ──────────────────────────────────────────── */
.ki-art-author-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px;
    border: 1px solid rgba(154,131,131,0.25);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(87,68,61,0.05) 0%, rgba(154,131,131,0.06) 100%);
    margin-bottom: 40px;
}
.ki-art-author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201,168,124,0.4);
    flex-shrink: 0;
}
.ki-art-author-name {
    font-family: var(--ki-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #3e2618;
    margin-bottom: 6px;
}
.ki-art-author-bio {
    font-family: var(--ki-sans);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #6b4f40;
}
.ki-art-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(154,131,131,0.2);
}
.ki-art-back-link {
    font-family: var(--ki-sans);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a8383;
    text-decoration: none;
    transition: color 0.2s;
}
.ki-art-back-link:hover { color: #57443d; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .ki-art-meta-bar      { top: 56px; }
    .ki-art-hero          { margin-top: 56px; }
    .ki-art-hero-inner    { padding-bottom: 52px; }
    .ki-art-body-wrap     { padding: 40px 0 56px; }
    .ki-art-author-card   { flex-direction: column; gap: 14px; padding: 20px; }
    .ki-art-fig--right,
    .ki-art-fig--left {
        float: none;
        width: 100%;
        margin: 0 0 24px;
    }
}
