/*
Theme Name: JustRead Histasia
Template: justread
Description: Child theme of JustRead for Histasia sites. Keeps JustRead's design, ads and page breaks exactly as they are; only adds recipe styling, categories and redirects. Never touches scripts.
Version: 1.3.1
Text Domain: justread-histasia
*/

/*
 * v1.2: NO global layout changes. JustRead's widths, fonts, images, ads and "Next Page" stay untouched.
 * Only elements with an .hx- class (added to recipe sections) are styled below.
 */

.hx-glance {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff6e3;
	margin: 1.2em 0;
}
.hx-glance-t { font-weight: 700; margin-right: 6px; }
.hx-pill {
	background: #fff;
	border: 1px solid #ece9f2;
	border-radius: 999px;
	padding: 3px 10px;
	font-size: .85em;
	font-weight: 600;
}

.entry-content .hx-sec-ingredients::before { content: "🧺 "; }
.entry-content .hx-sec-instructions::before { content: "👩‍🍳 "; }
.entry-content .hx-sec-tips::before { content: "💡 "; }
.entry-content .hx-sec-faq::before { content: "❓ "; }

.entry-content ul.hx-ing,
.entry-content ol.hx-ing {
	list-style: none;
	padding: 12px 16px;
	background: #e9fbf3;
	border-radius: 12px;
}
.entry-content ul.hx-ing li,
.entry-content ol.hx-ing li {
	position: relative;
	padding-left: 28px;
}
.entry-content ul.hx-ing li::before,
.entry-content ol.hx-ing li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 16px;
	height: 16px;
	border: 2px solid #7ac9a7;
	border-radius: 5px;
	background: #fff;
}

.entry-content { counter-reset: hxstep; }
.entry-content .hx-step { counter-increment: hxstep; }
.entry-content .hx-step::before {
	content: counter(hxstep);
	display: inline-grid;
	place-items: center;
	width: 1.7em;
	height: 1.7em;
	margin-right: .45em;
	border-radius: 50%;
	background: #6d4aff;
	color: #fff;
	font-size: .8em;
	vertical-align: middle;
}
.entry-content .hx-q { color: #6d4aff; }
