/* Single blog article shell */
.elementor-1699.elementor-location-single {
	background-color: #f8f9fa;
	padding: 0 24px 80px;
}

/* Hide duplicate title block; hero shows title already */
.elementor-1699 .elementor-element-1044e9f {
	display: none !important;
}

.elementor-1699 .elementor-element-f062337,
.elementor-1699 .elementor-element-75d760b {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.elementor-1699 .elementor-element-f062337 {
	background: #fff;
	border-radius: 28px 28px 0 0;
	padding: 32px 32px 8px;
	margin-top: 0 !important;
	align-items: stretch !important;
}

.elementor-1699 .elementor-element-75d760b {
	background: #fff;
	border-radius: 0 0 28px 28px;
	padding: 16px 32px 40px;
	margin-bottom: 0;
	align-items: flex-start !important;
}

/* Featured image */
.elementor-1699 .elementor-element-06da85c {
	width: 100%;
}

.elementor-1699 .elementor-element-06da85c img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	display: block;
	object-fit: cover;
}

/* Content typography */
.elementor-1699 .elementor-element-cbaa79c {
	width: 100%;
	font-family: "Lora", Georgia, serif;
	font-size: 18px;
	line-height: 1.75;
	color: #333;
}

.elementor-1699 .elementor-element-cbaa79c > :first-child {
	margin-top: 0;
}

.elementor-1699 .elementor-element-cbaa79c p,
.elementor-1699 .elementor-element-cbaa79c .wp-block-paragraph {
	margin: 0 0 1.25em;
}

.elementor-1699 .elementor-element-cbaa79c h2,
.elementor-1699 .elementor-element-cbaa79c h3,
.elementor-1699 .elementor-element-cbaa79c h4 {
	font-family: "Syne", sans-serif;
	color: #111;
	font-weight: 700;
	line-height: 1.3;
	margin: 2em 0 0.75em;
}

.elementor-1699 .elementor-element-cbaa79c h2 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.elementor-1699 .elementor-element-cbaa79c h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.elementor-1699 .elementor-element-cbaa79c a {
	color: #1a73e8;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.elementor-1699 .elementor-element-cbaa79c a:hover {
	opacity: 0.85;
}

.elementor-1699 .elementor-element-cbaa79c img,
.elementor-1699 .elementor-element-cbaa79c .wp-block-image img {
	border-radius: 16px;
	margin: 1.5em 0;
	max-width: 100%;
	height: auto;
}

.elementor-1699 .elementor-element-cbaa79c ul,
.elementor-1699 .elementor-element-cbaa79c ol {
	margin: 0 0 1.25em 1.25em;
	padding: 0;
}

.elementor-1699 .elementor-element-cbaa79c li {
	margin-bottom: 0.5em;
}

.elementor-1699 .elementor-element-cbaa79c blockquote {
	margin: 1.5em 0;
	padding: 16px 20px;
	border-left: 4px solid #111;
	background: #f8f9fa;
	border-radius: 0 12px 12px 0;
}

/* Related posts */
.thrivingppc-related-posts {
	max-width: 820px;
	margin: 48px auto 0;
}

.thrivingppc-related-posts__title {
	font-family: "Syne", sans-serif;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 700;
	color: #111;
	margin: 0 0 24px;
}

.thrivingppc-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.thrivingppc-related-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.thrivingppc-related-card__image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.thrivingppc-related-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.thrivingppc-related-card__category {
	font-size: 13px;
	color: #1f1f1f;
	margin-bottom: 8px;
}

.thrivingppc-related-card__title {
	font-family: "Syne", sans-serif;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 700;
	margin: 0 0 auto;
}

.thrivingppc-related-card__title a {
	color: #111;
	text-decoration: none;
}

.thrivingppc-related-card__title a:hover {
	opacity: 0.8;
}

.thrivingppc-related-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 8px 16px;
	border: 1px solid #111;
	border-radius: 999px;
	color: #111;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	align-self: flex-start;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.thrivingppc-related-card__link:hover {
	background: #111;
	color: #fff;
}

/* Related card without featured image — blurred logo */
.thrivingppc-related-card:not(:has(.thrivingppc-related-card__image)) {
	position: relative;
}

.thrivingppc-related-card:not(:has(.thrivingppc-related-card__image))::before {
	content: "";
	display: block;
	width: 100%;
	height: 180px;
	background-color: #e8f2f7;
	background-image: var(--thrivingppc-logo, url("/wp-content/uploads/2026/05/Thriving-PPC-logo.svg"));
	background-repeat: no-repeat;
	background-position: center;
	background-size: 140%;
	filter: blur(18px);
}

.thrivingppc-related-card:not(:has(.thrivingppc-related-card__image))::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 180px;
	background-image: var(--thrivingppc-logo, url("/wp-content/uploads/2026/05/Thriving-PPC-logo.svg"));
	background-repeat: no-repeat;
	background-position: center;
	background-size: 52%;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.thrivingppc-related-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.elementor-1699.elementor-location-single {
		padding: 32px 16px 64px;
	}

	.elementor-1699 .elementor-element-1044e9f,
	.elementor-1699 .elementor-element-f062337,
	.elementor-1699 .elementor-element-75d760b {
		padding-left: 20px;
		padding-right: 20px;
	}

	.elementor-1699 .elementor-element-cbaa79c {
		font-size: 17px;
	}

	.thrivingppc-related-posts__grid {
		grid-template-columns: 1fr;
	}
}
