/* PJ Core front-end styles */

/* ---------- Banner ---------- */
.pj-banner {
	display: block;
	text-align: center;
	margin: 1em auto;
}
.pj-banner-img {
	max-width: 100%;
	height: auto;
}

/* ---------- Rating stars (display-only) ---------- */
.pj-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	line-height: 1;
}
.pj-rating-stars {
	position: relative;
	display: inline-block;
	font-size: 1.1em;
	letter-spacing: 2px;
}
.pj-rating-bg {
	color: #cfcfcf;
}
.pj-rating-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #f5a623;
}
.pj-rating-count {
	font-size: 0.85em;
	color: #6b6b6b;
}

/* ---------- Table of contents ---------- */
.pj-toc {
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	background: #fafafa;
	padding: 0.75em 1em;
	margin: 1.5em 0;
}
.pj-toc summary {
	cursor: pointer;
	font-weight: 700;
}
.pj-toc ol {
	counter-reset: pj-toc;
	list-style: none;
	margin: 0.5em 0 0;
	padding-left: 0.5em;
}
.pj-toc ol ol {
	padding-left: 1.25em;
	margin-top: 0.25em;
}
.pj-toc li {
	counter-increment: pj-toc;
	margin: 0.25em 0;
}
.pj-toc li::before {
	content: counters(pj-toc, ".") ". ";
	color: #888;
}
.pj-toc a {
	text-decoration: none;
}

/* ---------- Aktuality / archives lists ---------- */
.pj-aktuality,
.pj-archives {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pj-aktuality li,
.pj-archives li {
	margin: 0 0 0.5em;
}
.pj-aktuality-date {
	display: block;
	font-size: 0.85em;
	color: #6b6b6b;
}

/* Forms styles → assets/wp-aio-forms.css (loaded only on pages with [wp_aio_form]).
   Cookie-bar styles → assets/wp-aio-cookie.css (loaded only when the module is active). */

/* ---------- GEO: FAQ ---------- */

.wp-aio-faq__item {
	margin: 0 0 1.2em;
}
.wp-aio-faq__q {
	margin: 0 0 0.3em;
}
.wp-aio-faq__a {
	margin: 0;
}

/* ---------- GEO: HowTo ---------- */

.wp-aio-howto__step {
	margin: 0 0 0.8em;
}
.wp-aio-howto__step-name {
	display: block;
}
.wp-aio-howto__step-text {
	margin: 0.2em 0 0;
}
