/* Hide homepage title */
.home .entry-title {
	display: none;
}

/* Studio banner */
.site-header-image img,
.header-image img {
	max-height: 250px;
	width: 100%;
	object-fit: cover;
}

/* Centre homepage content on desktop */
@media screen and (min-width: 900px) {
	.home .site-content-wrapper {
		width: 90%;
		max-width: 1100px;
		margin: 0 auto;
	}
	
	.home #primary {
		float: none;
		width: 100%;
		max-width: 950px;
		margin: 0 auto;
	}
}

/* Sage green enquiry button */
.home .entry-content a[href*="/contact"] {
	display: inline-block;
	background-color: #718575;
	color: #ffffff;
	padding: 12px 26px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

/* Website buttons - sage green */
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
a.button,
a.btn {
	background-color: #718575;
	color: #ffffff;
	border-color: #718575;
	border-radius: 6px;
}

/* Button hover colour */
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a.button:hover,
a.btn:hover {
	background-color: #596D5D;
	color: #ffffff;
	border-color: #596D5D;
}

/* Homepage service buttons */
.home .entry-content a[href*="/personal-trainer-"],
.home .entry-content a[href*="/classes"],
.home .entry-content a[href*="/online"],
.home .entry-content a[href*="/contact"] {
	display: inline-block;
	background: #718575;
	color: white;
	padding: 12px 22px;
	border-radius: 6px;
	text-decoration: none;
	margin: 8px 0;
}

/* Personal Training page buttons */
.page .entry-content a[href*="/contact"],
.page .entry-content .page .entry-content a[href*="/personal-training/"] {
	display: inline-block;
	background-color: #718575;
	color: white;
	padding: 12px 22px;
	border-radius: 6px;
	text-decoration: none;
	margin: 8px 0;
}

/* Consistent button text across website */
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
a.button,
a.btn,
.home .entry-content a[href*="/personal-trainer-"],
.home .entry-content a[href*="/classes"],
.home .entry-content a[href*="/online"],
.home .entry-content a[href*="/contact"],
.page:not(.home) .entry-content a[href*="/contact"] {
	font-size: 16px;
	font-weight: 600;
	text-transform: capitalize;
	letter-spacing: normal;
	line-height: 1.4;
}

/* Make enquiry button text sentence case */
.page .entry-content a[href*="/contact"] {
	text-transform: lowercase;
}

.page .entry-content a[href*="/contact"]::first-letter {
	text-transform: uppercase;
}

/* Hide automatic About page title */
.page-id-2 .entry-title {
	display: none;
}

/* About page: photo right on desktop, stacked on mobile */
@media screen and (max-width: 767px) {
	.page-id-2 .entry-content .wp-block-image.alignright,
		    .page-id-2 .entry-content figure.alignright,
		    .page-id-2 .entry-content img.alignright {
		float: none !important;
		clear: both !important;
		display: block !important;
		margin: 20px auto !important;
		max-width: 100% !important;
	}
	
	.page-id-2 .entry-content .wp-block-image.alignright img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}
}

/* Consistent page widths on desktop */
@media screen and (min-width: 900px) {
	.page .site-content-wrapper {
		width: 90%;
		max-width: 1100px;
		margin: 0 auto;
	}
	
	.page #primary {
		float: none;
		width: 100%;
		max-width: 950px;
		margin: 0 auto;
	}
}

/* Testimonials - sage green styling */
.post-type-archive-jetpack-testimonial .jetpack-testimonial,
.post-type-archive-jetpack-testimonial article {
	background-color: #F7F4EE;
	border: 1px solid #DCE5DB;
	border-left: 4px solid #718575;
	border-radius: 8px;
	padding: 25px 30px;
	margin-bottom: 25px;
}

/* Testimonial text */
.post-type-archive-jetpack-testimonial .entry-content {
	color: #343934;
	line-height: 1.7;
}

/* Testimonial client names */
.post-type-archive-jetpack-testimonial .entry-title {
	color: #596D5D;
}

/* Testimonials - sage green review cards */
.post-type-archive-jetpack-testimonial article {
	background-color: #F0F4EF !important;
	border: 1px solid #CBD8CB !important;
	border-left: 4px solid #718575 !important;
	border-radius: 10px !important;
	padding: 28px 30px !important;
	margin-bottom: 24px !important;
	box-shadow: 0 3px 10px rgba(52, 57, 52, 0.05);
}

/* Slightly stronger sage green testimonial cards */
.post-type-archive-jetpack-testimonial article {
	background-color: #E5EDE4 !important;
	border-color: #B7C9B7 !important;
}

/* Testimonials - new heading and introduction */
.post-type-archive-jetpack-testimonial h1 {
	font-size: 0 !important;
}

.post-type-archive-jetpack-testimonial h1::before {
	content: "What My Clients Say";
	display: block;
	font-size: 38px;
	font-weight: 400;
	line-height: 1.3;
	color: #343934;
}

.post-type-archive-jetpack-testimonial h1::after {
	content: "Real experiences from people I've helped build strength, improve fitness and feel more confident.";
	display: block;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color: #596D5D;
	margin-top: 12px;
	margin-bottom: 28px;
}

.pilates-class-photo {
    margin-right: 20px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    img.pilates-class-photo {
        float: none !important;
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 0 20px 0 !important;
    }
}
