/* =========================================================
   Post Meta Blocks — shared styles (front-end + editor)
   ========================================================= */

/* ---------- 1. Post Date Badge ---------- */
.pmb-date-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 8px;
	gap: 4px;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background: #0B1F3A;
	box-sizing: border-box;
}

.pmb-date-badge .pmb-date-day,
.pmb-date-badge .pmb-date-month {
	color: #ECF1FC;
	text-align: center;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 120%; /* 16.8px */
	text-transform: capitalize;
}

/* ---------- 2. Time To Read ---------- */
.pmb-ttr {
	color: #6C7880;
	text-align: right;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 130%; /* 18.2px */
}

.pmb-ttr .pmb-ttr-value,
.pmb-ttr .pmb-ttr-suffix {
	font: inherit;
	color: inherit;
}

/* ---------- 3. Category Pills ---------- */
.pmb-pills {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 8px;
}

.pmb-pills .pmb-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 20px;
	background: #C7DD8E;
	color: #0A1E2B;
	font-family: "Nunito Sans", sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: 130%; /* 15.6px */
	text-decoration: none;
}

.pmb-pills a.pmb-pill:hover {
	text-decoration: none;
	opacity: 0.9;
}

/* ---------- 4. Share Post ---------- */
.pmb-share {
	display: flex;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* Some themes override a single-class .pmb-share display and restack it into a
 * column. Re-assert horizontal + centered with higher specificity so the share
 * row stays inline everywhere. */
.pmb-share.pmb-share,
.wp-block-pmb-share.pmb-share {
	display: flex ;
	flex-direction: row ;
	flex-wrap: wrap;
	align-items: center ;
	justify-content: left ;
	gap: 12px;
}

.pmb-share .pmb-share-heading {
	font-family: "Nunito Sans", sans-serif;
}

.pmb-share .pmb-share-items {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pmb-share .pmb-share-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 6px;
	border-radius: 8px;
	background: #FDFEFF;
	box-sizing: border-box;
	text-decoration: none;
}

.pmb-share .pmb-share-item .pmb-share-icon-svg,
.pmb-share .pmb-share-item .pmb-share-icon-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
