/* ======================================================
   HOME LAYOUT
====================================================== */

.mk-home-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.mk-guides,
.mk-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ======================================================
   HEADER
====================================================== */

.mk-home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2d2d2d;
}

.mk-home-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--mk-orange);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mk-home-more{

    color:var(--mk-orange);

    text-decoration:none;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.05em;

    transition:.2s;

}

.mk-home-more:hover{

    color:#ff9c2f;

    transform:translateX(4px);

}



/* ======================================================
   CARD
====================================================== */

.mk-guide-card {
    display: flex;
    gap: 5px;

    height: 160px;

    overflow: hidden;

    background: rgba(28, 28, 28, .15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    text-decoration: none;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.mk-guide-card:hover {

    transform: translateY(-4px);

    border-color: #ff7a00;

    box-shadow: 0 12px 30px rgba(255, 122, 0, .22);

}

/* ======================================================
   IMAGE
====================================================== */

.mk-guide-image {

    width: 170px;

    flex-shrink: 0;

    overflow: hidden;

    background: #111;

}

.mk-guide-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .35s;

}

.mk-guide-card:hover img {

    transform: scale(1.05);

}

/* ======================================================
   CONTENT
====================================================== */

.mk-guide-fp {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 5px 5px 0;

    min-width: 0;

}

/* ======================================================
   BADGES
====================================================== */

.mk-guide-header {

    display: flex;

    flex: 0 0 auto;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 5px;

}

.mk-guide-badge {

    background: #3b2a18;

    color: #ff9b2f;

    border-radius: 4px;

    padding: 3px 8px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .04em;

}

/* ======================================================
   TITLE
====================================================== */

.mk-guide-fp h3 {

    margin: 4px 0 8px;

    color: #fff;

    flex: 0 0 auto;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.1;

    display: -webkit-box;

    -webkit-line-clamp: 1;

    -webkit-box-orient: vertical;

    overflow: hidden;


}

/* ======================================================
   EXCERPT
====================================================== */

.mk-guide-excerpt {

    flex: 0 0 auto;

    color: #b8bcc3;

    font-size: 15px;

    line-height: 1.45;

    margin: 0;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}

/* ======================================================
   FOOTER
====================================================== */

.mk-guide-bottom {

    flex: 0 0 auto;

    margin-top: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.mk-guide-author,

.mk-guide-meta {

    display: flex;

    align-items: center;

    gap: 16px;

}

.mk-guide-author,

.mk-guide-reading,

.mk-guide-date {

    display: flex;

    align-items: center;

    gap: 6px;

    color: #a3a9b3;

    font-size: 13px;

}

.mk-guide-bottom svg {

    width: 15px;

    height: 15px;

    stroke: #a3a9b3;

}

/* ======================================================
   MOBILE
====================================================== */

@media(max-width:1000px) {

    .mk-home-posts {

        grid-template-columns: 1fr;

    }

}

@media(max-width:700px) {

    .mk-guide-card {

        flex-direction: column;

        height: auto;

    }

    .mk-guide-image {

        width: 100%;

        height: 190px;

    }

    .mk-guide-fp {

        padding: 16px;

    }

}

.mk-guide-new {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 4px 8px;

    border-radius: 6px;

    background: #27ae60;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

}
