/* OW SEO frontend blocks — minimal presentable defaults, easy to override */

.ows-howto,
.ows-recipe,
.ows-event,
.ows-course,
.ows-faq,
.ows-review,
.ows-toc {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #fff;
}

.ows-howto__title,
.ows-recipe__name,
.ows-event__name,
.ows-course__name,
.ows-review__name,
.ows-toc__title {
	margin: 0 0 0.5em;
	font-size: 1.35em;
	line-height: 1.2;
}

.ows-howto__desc,
.ows-recipe__desc,
.ows-event__desc,
.ows-course__desc,
.ows-review__desc {
	color: #444;
	margin: 0 0 1em;
}

/* HowTo */
.ows-howto__steps {
	counter-reset: ows-howto-step;
	list-style: none;
	padding-left: 0;
}
.ows-howto__step {
	counter-increment: ows-howto-step;
	padding: 0.75em 0 0.75em 2.25em;
	position: relative;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.ows-howto__step:first-child {
	border-top: 0;
}
.ows-howto__step::before {
	content: counter(ows-howto-step);
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 1.75em;
	height: 1.75em;
	border-radius: 50%;
	background: #0b5cff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 0.85em;
}
.ows-howto__step-name {
	display: block;
	margin-bottom: 0.25em;
}
.ows-howto__step-img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin-top: 0.5em;
}

/* Recipe */
.ows-recipe__image {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 1em;
}
.ows-recipe__meta {
	color: #555;
	font-size: 0.92em;
	margin: 0 0 1em;
}
.ows-recipe__subtitle {
	margin: 1em 0 0.5em;
	font-size: 1.05em;
}
.ows-recipe__ingredients,
.ows-recipe__instructions {
	margin: 0;
	padding-left: 1.25em;
}
.ows-recipe__ingredients li,
.ows-recipe__instructions li {
	margin-bottom: 0.35em;
}

/* Event */
.ows-event__image {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 1em;
}
.ows-event__when,
.ows-event__where,
.ows-event__price {
	margin: 0.25em 0;
}

/* Course */
.ows-course__provider {
	margin: 0.25em 0 0.5em;
	color: #333;
}
.ows-course__meta {
	color: #555;
	font-size: 0.92em;
}

/* FAQ */
.ows-faq .ows-faq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 0.5em 0;
}
.ows-faq .ows-faq__item:last-child {
	border-bottom: 0;
}
.ows-faq .ows-faq__q {
	cursor: pointer;
	font-weight: 600;
	padding: 0.25em 0;
}
.ows-faq .ows-faq__a {
	padding: 0.5em 0 0.25em 1em;
	color: #333;
}

/* Review */
.ows-review__image {
	max-width: 200px;
	height: auto;
	border-radius: 6px;
	float: right;
	margin: 0 0 0.5em 1em;
}
.ows-review__stars {
	font-size: 1.15em;
	color: #f5a623;
	margin: 0.25em 0 0.5em;
}
.ows-review__value {
	color: #333;
	font-size: 0.9em;
}
.ows-review__author {
	color: #555;
	font-size: 0.92em;
}
.ows-review__body {
	margin-top: 0.5em;
}

/* TOC */
.ows-toc {
	background: #fafafa;
}
.ows-toc__title {
	font-size: 1.1em;
	margin: 0 0 0.5em;
}
.ows-toc__list {
	margin: 0;
	padding-left: 1.25em;
}
.ows-toc__list li {
	margin: 0.25em 0;
}
.ows-toc__list a {
	text-decoration: none;
}
.ows-toc__list a:hover {
	text-decoration: underline;
}

/* Byline ------------------------------------------------------------- */
.ows-byline {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.25rem;
	margin: 1.5rem 0;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #f9fafb;
}
.ows-byline__avatar {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	background: #e5e7eb;
}
.ows-byline__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ows-byline__body {
	flex: 1;
	min-width: 0;
}
.ows-byline__name {
	font-weight: 600;
	font-size: 1rem;
	color: #111827;
}
.ows-byline__job {
	font-size: 0.85rem;
	color: #6b7280;
	margin-top: 0.1rem;
}
.ows-byline__bio {
	font-size: 0.9rem;
	color: #374151;
	margin: 0.5rem 0 0;
	line-height: 1.5;
}
.ows-byline__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.6rem;
}
.ows-byline__social-link {
	font-size: 0.75rem;
	padding: 0.15rem 0.5rem;
	border: 1px solid #d1d5db;
	border-radius: 9999px;
	text-decoration: none;
	color: #374151;
	background: #fff;
}
.ows-byline__social-link:hover {
	border-color: #6366f1;
	color: #6366f1;
}
.ows-byline__profile {
	margin-top: 0.6rem;
	font-size: 0.8rem;
}

/* Store locator ------------------------------------------------------ */
.ows-store-locator {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1.5em 0;
}
.ows-store-locator__map {
	aspect-ratio: 16 / 9;
	width: 100%;
	border-radius: 8px;
	background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
	border: 1px solid rgba(99, 102, 241, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6366f1;
	font-size: 0.85rem;
}
.ows-store-locator__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}
.ows-store-locator__item {
	padding: 1.1em 1.25em;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.ows-store-locator__name {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
	line-height: 1.3;
}
.ows-store-locator__address,
.ows-store-locator__phone,
.ows-store-locator__email {
	margin: 0;
	font-size: 0.9rem;
	color: #4b5563;
}
.ows-store-locator__phone a,
.ows-store-locator__email a {
	color: #4f46e5;
	text-decoration: none;
}
.ows-store-locator__phone a:hover,
.ows-store-locator__email a:hover {
	text-decoration: underline;
}
@media (min-width: 720px) {
	.ows-store-locator {
		grid-template-columns: 3fr 2fr;
	}
}

/* Editor preview */
.ows-store-locator-preview {
	padding: 1em;
	border: 1px dashed rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	background: #f9fafb;
}
.ows-store-locator-preview__notice {
	font-size: 0.85rem;
	color: #4b5563;
	margin-bottom: 0.75rem;
}
.ows-store-locator-preview__map {
	aspect-ratio: 16 / 6;
	border-radius: 6px;
	background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6366f1;
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
}
.ows-store-locator-preview__list {
	list-style: disc;
	padding-left: 1.2rem;
	margin: 0;
}

/* Job Posting -------------------------------------------------------------- */
.ows-job-posting {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #fff;
}
.ows-job-posting__title {
	margin: 0 0 0.5em;
	font-size: 1.35em;
	line-height: 1.2;
}
.ows-job-posting__desc {
	color: #444;
	margin: 0 0 1em;
}
.ows-job-posting__location,
.ows-job-posting__salary,
.ows-job-posting__contact {
	margin: 0.25em 0;
	font-size: 0.95em;
}
.ows-job-posting__contact a {
	display: inline-block;
	padding: 0.5em 1em;
	background: #2563eb;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}
.ows-job-posting__contact a:hover {
	background: #1d4ed8;
}

/* Medical ------------------------------------------------------------------ */
.ows-medical {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #fff;
}
.ows-medical__name {
	margin: 0 0 0.5em;
	font-size: 1.35em;
	line-height: 1.2;
}
.ows-medical__type {
	font-size: 0.75em;
	color: #6b7280;
	font-weight: 500;
	margin-left: 0.5em;
}
.ows-medical__desc {
	color: #444;
	margin: 0 0 1em;
}
.ows-medical__row {
	margin: 0.35em 0;
	font-size: 0.95em;
}

/* Scholarship -------------------------------------------------------------- */
.ows-scholarship {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #fff;
}
.ows-scholarship__name {
	margin: 0 0 0.5em;
	font-size: 1.35em;
	line-height: 1.2;
}
.ows-scholarship__desc {
	color: #444;
	margin: 0 0 1em;
}
.ows-scholarship__row {
	margin: 0.35em 0;
	font-size: 0.95em;
}
.ows-scholarship__cta {
	margin-top: 1em;
}
.ows-scholarship__cta a {
	display: inline-block;
	padding: 0.5em 1em;
	background: #16a34a;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}
.ows-scholarship__cta a:hover {
	background: #15803d;
}
