﻿/* HERO */
.kp-blog-hero {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    background: #0a0a0a;
    overflow: hidden;
}

.kp-blog-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* INTRO */
.kp-blog-intro {
    background: #000;
    padding: 80px 20px 40px;
    text-align: center;
}

.kp-blog-intro__title {
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 0.3em;
    font-weight: 400;
    margin: 0 0 25px;
    text-transform: uppercase;
}

.kp-blog-intro__lead {
    color: #b8b8b8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* LIST */
.kp-blog-list {
    background: #000;
    padding: 40px 20px 100px;
}

.kp-blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.kp-blog-card {
    position: relative;
    text-decoration: none;
    color: #fff;
    display: block;
    overflow: hidden;
    background: #0a0a0a;
}

.kp-blog-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .kp-blog-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .6s ease, filter .6s ease;
    }

.kp-blog-card:hover .kp-blog-card__media img {
    transform: scale(1.04);
    filter: brightness(0.7);
}

.kp-blog-card__date {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255,255,255,0.92);
    color: #1a1a1a;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 10px 18px;
    font-weight: 500;
}

.kp-blog-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 36px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.kp-blog-card__cat {
    display: block;
    color: #ddd;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.kp-blog-card__title {
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;
}

.kp-blog-empty {
    text-align: center;
    color: #888;
    padding: 60px 20px;
}

/* DETAIL — BREADCRUMB */
.kp-post-crumb {
    background: #1a1a1a;
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.kp-post-crumb__inner {
    max-width: 1200px;
    margin: 0 auto;
    color: #ccc;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

    .kp-post-crumb__inner a {
        color: #ccc;
        text-decoration: none;
        transition: color .2s;
    }

        .kp-post-crumb__inner a:hover {
            color: #c9a87c;
        }

    .kp-post-crumb__inner span {
        margin: 0 12px;
        color: #c9a87c;
    }

.kp-post-crumb__current {
    color: #888 !important;
    margin: 0 !important;
}

/* DETAIL — COVER */
.kp-post-cover {
    width: 100%;
    background: #000;
}

    .kp-post-cover img {
        width: 100%;
        max-height: 600px;
        object-fit: cover;
        display: block;
    }

/* DETAIL — HEAD */
.kp-post-head {
    background: #000;
    padding: 60px 20px 40px;
}

.kp-post-head__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.kp-post-meta {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    margin: 0 0 30px;
}

.kp-post-meta__sep {
    margin: 0 14px;
    color: #444;
}

.kp-post-title {
    color: #fff;
    font-size: 2.4rem;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

/* DETAIL — CONTENT */
.kp-post-content {
    background: #000;
    padding: 40px 20px 60px;
}

.kp-post-content__inner {
    max-width: 900px;
    margin: 0 auto;
    color: #c8c8c8;
    line-height: 1.9;
    font-size: 1rem;
}

    .kp-post-content__inner p {
        margin: 0 0 1.5em;
        text-align: justify;
    }

    .kp-post-content__inner img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
    }

    .kp-post-content__inner h2,
    .kp-post-content__inner h3,
    .kp-post-content__inner h4 {
        color: #fff;
        margin: 1.6em 0 0.6em;
        letter-spacing: 0.05em;
    }

    .kp-post-content__inner a {
        color: #c9a87c;
    }

/* DETAIL — FOOT (tags + share) */
.kp-post-foot {
    background: #000;
    padding: 30px 20px 50px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.kp-post-foot__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.kp-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.kp-post-tag {
    color: #b8b8b8;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.kp-post-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kp-post-share__label {
    color: #888;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-right: 4px;
}

.kp-post-share a {
    color: #c9a87c;
    width: 32px;
    height: 32px;
    border: 1px solid #c9a87c;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background .2s, color .2s;
}

    .kp-post-share a:hover {
        background: #c9a87c;
        color: #000;
    }

/* DETAIL — BACK */
.kp-post-back {
    background: #000;
    text-align: center;
    padding: 0 20px 80px;
}

    .kp-post-back a {
        color: #c9a87c;
        text-decoration: none;
        letter-spacing: 0.1em;
        font-size: 0.9rem;
    }

        .kp-post-back a:hover {
            text-decoration: underline;
        }

/* MOBILE */
@media (max-width: 900px) {
    .kp-blog-hero {
        height: 50vh;
        min-height: 350px;
    }

    .kp-blog-intro {
        padding: 50px 16px 30px;
    }

    .kp-blog-intro__title {
        font-size: 1.3rem;
        letter-spacing: 0.2em;
    }

    .kp-blog-grid {
        grid-template-columns: 1fr;
    }

    .kp-blog-card__body {
        padding: 22px 24px;
    }

    .kp-blog-card__title {
        font-size: 1.05rem;
    }

    .kp-post-title {
        font-size: 1.5rem;
    }

    .kp-post-cover img {
        max-height: 380px;
    }

    .kp-post-foot__inner {
        justify-content: center;
        text-align: center;
    }
}
