/* Catalyst Healer: site-wide polish. Keeps the theme fonts, colors and gradient. Adds consistent readability, spacing, buttons and cards. */
/* 1. Readability: the same semi-transparent background the Blog uses, on every page and post, so text never sits on the raw gradient. */
.entry-content,
.wp-block-post-content {
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 18px;
	padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
	box-shadow: 0 10px 30px rgba(80, 30, 80, 0.15);
}

/* Blog archive and front-page latest posts: the same card treatment. */
.wp-block-query .wp-block-post {
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 8px 24px rgba(80, 30, 80, 0.15);
}

/* 2. Consistent typography hierarchy (font families unchanged). */
.entry-content h1,
.wp-block-post-content h1 {
	font-size: clamp(2rem, 5vw, 2.75rem);
	line-height: 1.1;
	margin: 0 0 1rem;
}

.entry-content h2,
.wp-block-post-content h2 {
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 2.25rem 0 .75rem;
}

.entry-content h3,
.wp-block-post-content h3 {
	font-size: 1.35rem;
	line-height: 1.3;
	margin: 1.75rem 0 .5rem;
}

.entry-content p,
.wp-block-post-content p,
.entry-content li,
.wp-block-post-content li {
	font-size: 1.125rem;
	line-height: 1.7;
}

.entry-content p,
.wp-block-post-content p {
	margin-bottom: 1rem;
}

/* 3. One primary button style for CTAs (Book a Reading, form submits). */
.wp-block-button__link,
.wp-block-button .wp-block-button__link,
.jetpack-contact-form .wp-block-button__link {
	background-color: #7b2fbe;
	color: #fff;
	border-radius: 999px;
	padding: .85rem 1.9rem;
	font-size: 1.1rem;
	font-weight: 700;
	border: none;
	box-shadow: 0 6px 16px rgba(123, 47, 190, 0.35);
	text-decoration: none;
}

.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover,
.jetpack-contact-form .wp-block-button__link:hover {
	background-color: #5e22a0;
	color: #fff;
	box-shadow: 0 8px 20px rgba(123, 47, 190, 0.45);
}

/* 4. Cards for readings, stats and portfolio sections (Group blocks with class ch-card). */
.ch-card {
	background-color: rgba(255, 255, 255, 0.88);
	border-radius: 16px;
	padding: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: 0 8px 24px rgba(80, 30, 80, 0.16);
	margin-bottom: 1.5rem;
}

.ch-card h2:first-child,
.ch-card h3:first-child {
	margin-top: 0;
}

/* 5. Images: consistent rounded corners, never stretched. */
.wp-block-post-content .wp-block-image img,
.wp-block-query .wp-block-post .wp-block-post-featured-image img {
	border-radius: 12px;
	height: auto;
}

.wp-block-post-content .wp-block-image {
	margin: 1.5rem auto;
}

/* 6. Forms: fields fit the card, submit is a real button. */
.jetpack-contact-form input[type="text"],
.jetpack-contact-form input[type="email"],
.jetpack-contact-form input[type="date"],
.jetpack-contact-form input[type="time"],
.jetpack-contact-form select,
.jetpack-contact-form textarea {
	max-width: 100%;
	border-radius: 10px;
	padding: .65rem .8rem;
}

/* 7. Footer: tidy, consistent on every page. */
footer.wp-block-template-part {
	padding: 1.5rem 1rem 2rem;
}

/* 8. Small screens. */
@media (max-width: 600px) {
	.entry-content,
	  .wp-block-post-content {
		padding: 1.25rem 1rem;
		border-radius: 14px;
	}
	
	.ch-card {
		padding: 1.25rem 1rem;
	}
	
	.entry-content h2,
	  .wp-block-post-content h2 {
		font-size: 1.5rem;
	}
	
	.wp-block-button__link {
		padding: .8rem 1.5rem;
		font-size: 1.05rem;
	}
}

/* Home: wikiHow picture — about 275px wide, centered. */
.ch-wikihow img {
	width: 275px !important;
	height: auto !important;
}

/* 9. Jetpack Subscribe buttons — same purple pill as other CTAs. */
.wp-block-jetpack-subscriptions__button {
	background-color: #7b2fbe !important;
	color: #ffffff !important;
	border-color: #7b2fbe !important;
	border-radius: 999px !important;
	font-weight: 700;
	padding: .85rem 1.9rem !important;
}

.wp-block-jetpack-subscriptions__button:hover {
	background-color: #5e22a0 !important;
	border-color: #5e22a0 !important;
}