/*
Theme Name:   Hello Biz Child
Theme URI:    https://elementor.com/hello-theme/
Description:  Child theme of Hello Biz by Elementor. Customize styles here without touching the parent theme, so parent updates never overwrite your changes.
Author:       Jani Kellomäki
Author URI:
Template:     hello-biz
Version:      1.0.6
Text Domain:  hello-biz-child
*/

/* =========================================================
   Add your custom CSS below this line.
   Everything above this comment block is required by
   WordPress to recognize this as a child theme.
   ========================================================= */

/* ---------------------------------------------------------
   hb_post_cards shortcode
   --------------------------------------------------------- */

.hb-post-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}

.hb-post-card {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hb-post-card{
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2) !important;
}

.hb-post-card:hover {
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3) !important;
	transform: translateY(-2px);
}

.hb-post-card__image {
	flex: 0 0 300px;
	min-height: 168px;
	position: relative;
}

.hb-post-card__image img {
	width: 100%!important;
	height: 100%!important;
	object-fit: cover;
	display: block;
}

.hb-post-card__image-placeholder {
	width: 100%!important;
	height: 100%!important
	background: #e5e2dc;
}

.hb-post-card__body {
	flex: 1;
	position: relative;
	padding: 20px 100px 20px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hb-post-card__meta {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.hb-post-card__date {
	font-size: 13px;
	color: #8a8a8a;
}

.hb-post-card__badge {
	position: absolute;
	top: 0px;
	right: 0px;
	background: #c07a4a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 6px 12px;
	border-radius: 0px 0px 0px 10px;
	white-space: nowrap;
}

.hb-post-card__title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 22px;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #1c1c1c;
}

.hb-post-card__excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: #6c6c6c;
	margin: 0;
}

.hb-post-cards__footer {
	text-align: center;
	margin-top: 28px;
}

.hb-post-cards__button {
	display: inline-block;
	background: var( --e-global-color-ca207b4 );
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.hb-post-cards__button:hover {
	background: #2e3730;
	color: #fff;
}

@media (max-width: 560px) {
	.hb-post-card {
		flex-direction: column;
	}

	.hb-post-card__image {
		flex-basis: auto;
		height: 160px;
	}
}
