/* ==========================================================
   PULZ – SOUVISEJÍCÍ ČLÁNKY
   ========================================================== */

body.type-post .pulz-related {
    margin: 38px 0 30px;
}


/* Nadpis */

body.type-post .pulz-related-title {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.3;
}


/* Seznam karet */

body.type-post .pulz-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}


/* Karta */

body.type-post .pulz-related-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    grid-template-rows: 1fr auto;

    min-height: 115px;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    color: inherit;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

body.type-post .pulz-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .09);

    color: inherit;
    text-decoration: none;
}


/* Obrázek */

body.type-post .pulz-related-image {
    grid-row: 1 / 3;

    width: 145px;
    height: 100%;
    min-height: 115px;

    overflow: hidden;
    background: #f5f5f5;
}

body.type-post .pulz-related-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Název článku */

body.type-post .pulz-related-card-title {
    padding: 15px 16px 6px;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}


/* Odkaz */

body.type-post .pulz-related-more {
    margin-top: auto;
    padding: 0 16px 15px;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}


/* ==========================================================
   MOBIL
   ========================================================== */

@media (max-width: 480px) {

    body.type-post .pulz-related {
        margin-top: 32px;
    }

    body.type-post .pulz-related-title {
        margin-bottom: 15px;

        font-size: 21px;
    }

    body.type-post .pulz-related-card {
        grid-template-columns: 105px minmax(0, 1fr);

        min-height: 110px;
    }

    body.type-post .pulz-related-image {
        width: 105px;
        min-height: 110px;
    }

    body.type-post .pulz-related-card-title {
        padding: 12px 12px 5px;

        font-size: 14px;
        line-height: 1.4;
    }

    body.type-post .pulz-related-more {
        padding: 0 12px 12px;

        font-size: 12px;
    }
}