.tp-upcoming-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

/* default style */

.tp-style--default .tp-card {
    border-radius: 0;
    border: none;
    overflow: hidden;
}

.tp-style--default .tp-card-image {
    width: 300px;
    height: 300px;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
}

.tp-style--default .tp-card-body {
    padding: 0.5rem;
}

.tp-style--default .tp-card-title {
    margin: 0;
    font-size: 1rem;
}

.tp-style--default .tp-card-date {
    font-size: 0.85rem;
    color: #000;
	text-decoration: none !important;
}

.tp-style--default .tp-card-excerpt {
    display: none;
}

/* card style */

.tp-style--card .tp-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tp-style--card .tp-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.tp-style--card .tp-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background-color: #ffffff;
}

.tp-style--card .tp-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.tp-style--card .tp-card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: normal !important;
}

.tp-style--card .tp-card-date {
    font-size: 0.9rem;
    color: #000;
	text-decoration: none !important;
}

.tp-style--card .tp-card-excerpt {
    font-size: 0.9rem;
    color: #000;
    margin-top: 0.5rem;
}

