/*
Theme Name: KisahLastri Themes
Theme URI: https://kisahlastri.com/
Author: Rochsid Tehape
Author URI: https://kisahlastri.com/
Description: Sebuah tema untuk pribadi yang meringkas perjalanannya
Version: 1.0
*/


/* ==============================
   KISAHLASTRI JOURNAL
================================ */

.kl-journal {
    max-width: 1120px;
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 75px 0 100px;
    color: #242424;
}


/* INTRO */

.kl-journal-intro {
    max-width: 700px;
    margin-bottom: 65px;
}

.kl-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 22px;
    color: #888;
}

.kl-journal-intro h1 {
    font-family: Georgia, serif;
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 400;
    letter-spacing: -3px;
    line-height: 1.1;
    margin: 0 0 22px;
}

.kl-journal-intro h1 span {
    color: #a58c6a;
}

.kl-journal-intro p {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.8;
    color: #777;
    max-width: 570px;
    margin: 0 0 25px;
}

.kl-story-count {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    border-top: 1px solid #e8e5df;
    padding-top: 20px;
}


/* STORY GRID */

.kl-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 30px;
}


/* IMAGE */

.kl-story-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1eee8;
    margin-bottom: 22px;
}

.kl-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.kl-story-card:hover .kl-story-image img {
    transform: scale(1.04);
}

.kl-no-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, serif;
    color: #aaa;
}


/* STORY CONTENT */

.kl-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 14px;
}

.kl-category {
    color: #a58c6a;
}

.kl-story-content h2 {
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: -.5px;
    margin: 0 0 14px;
}

.kl-story-content h2 a {
    color: #242424;
    text-decoration: none;
}

.kl-story-content h2 a:hover {
    color: #a58c6a;
}

.kl-story-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #777;
    margin-bottom: 20px;
}

.kl-read-more {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #242424;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

.kl-read-more span {
    transition: transform .2s ease;
}

.kl-read-more:hover span {
    transform: translateX(5px);
}


/* PAGINATION */

.kl-pagination {
    margin-top: 75px;
    border-top: 1px solid #e8e5df;
    padding-top: 30px;
}

.kl-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kl-pagination li {
    margin: 0;
}

.kl-pagination a,
.kl-pagination span {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

.kl-pagination .current {
    background: #242424;
    color: white;
}

.kl-pagination a:hover {
    background: #eeeae3;
}


/* EMPTY */

.kl-empty {
    padding: 80px 0;
    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .kl-story-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 22px;
    }

}

@media (max-width: 600px) {

    .kl-journal {
        width: calc(100% - 36px);
        padding: 50px 0 70px;
    }

    .kl-journal-intro {
        margin-bottom: 45px;
    }

    .kl-journal-intro h1 {
        font-size: 48px;
    }

    .kl-journal-intro p {
        font-size: 17px;
    }

    .kl-story-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .kl-story-content h2 {
        font-size: 24px;
    }

}
