/* SEO Expert Houston – Global Single Post Template
   Scoped to .seoh-gsp-page to avoid changing other pages. */

.seoh-gsp-page,
.seoh-gsp-page * {
	box-sizing: border-box;
}

.seoh-gsp-page {
	width: 100vw;
	max-width: 100vw;
	flex: 0 0 100vw;
	margin-left: calc(50% - 50vw);
	padding: 48px 0 84px;
	background: #f1f6fd;
	color: #26364b;
	font-family: inherit;
}

.seoh-gsp-shell {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.seoh-gsp-hero {
	max-width: 1080px;
	margin: 0 auto 30px;
}

.seoh-gsp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 0 0 28px;
	color: #718096;
	font-size: 13px;
	line-height: 1.5;
}

.seoh-gsp-breadcrumb a {
	color: #2563eb;
	text-decoration: none;
}

.seoh-gsp-breadcrumb a:hover {
	text-decoration: underline;
}

.seoh-gsp-kicker,
.seoh-gsp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #2563eb;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .11em;
	line-height: 1.5;
	text-transform: uppercase;
}

.seoh-gsp-kicker {
	margin-bottom: 13px;
}

.seoh-gsp-kicker-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2563eb;
}

.seoh-gsp-title {
	max-width: 1000px;
	margin: 0 0 18px;
	color: #102744;
	font-size: clamp(34px, 4.1vw, 52px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.12;
}

.seoh-gsp-intro {
	max-width: 900px;
	margin: 0 0 20px;
	color: #53657c;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.7;
}

.seoh-gsp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

.seoh-gsp-meta a {
	color: #1559c7;
	text-decoration: none;
}

.seoh-gsp-meta a:hover {
	text-decoration: underline;
}

.seoh-gsp-meta-separator {
	color: #a8b5c7;
}

.seoh-gsp-featured {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto 34px;
	padding: 0;
}

.seoh-gsp-featured-image {
	display: block;
	width: 100%;
	max-height: 520px;
	border: 1px solid #dce6f3;
	border-radius: 20px;
	object-fit: cover;
	object-position: center;
	box-shadow: 0 14px 38px rgba(15, 35, 65, .08);
}

.seoh-gsp-featured figcaption {
	margin-top: 9px;
	color: #718096;
	font-size: 12px;
	text-align: center;
}

.seoh-gsp-content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 318px;
	grid-template-areas: "article toc";
	align-items: start;
	gap: 30px;
	max-width: 1120px;
	margin: 0 auto;
}

.seoh-gsp-article-column {
	grid-area: article;
	min-width: 0;
}

.seoh-gsp-content-card,
.seoh-gsp-toc,
.seoh-gsp-author,
.seoh-gsp-comments {
	background: #fff;
	border: 1px solid #e1e9f3;
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(15, 35, 65, .045);
}

.seoh-gsp-content-card {
	padding: clamp(25px, 4.2vw, 48px);
}

.seoh-gsp-entry-content {
	color: #34445a;
	font-size: 17px;
	line-height: 1.85;
	overflow-wrap: anywhere;
}

.seoh-gsp-entry-content > *:first-child {
	margin-top: 0;
}

.seoh-gsp-entry-content p {
	margin: 0 0 1.35em;
}

.seoh-gsp-entry-content h2,
.seoh-gsp-entry-content h3,
.seoh-gsp-entry-content h4 {
	color: #102744;
	font-weight: 750;
	letter-spacing: -.02em;
	line-height: 1.28;
	scroll-margin-top: 110px;
}

.seoh-gsp-entry-content h2 {
	margin: 1.75em 0 .7em;
	font-size: clamp(25px, 2.5vw, 31px);
}

.seoh-gsp-entry-content h3 {
	margin: 1.5em 0 .65em;
	font-size: clamp(21px, 2vw, 24px);
}

.seoh-gsp-entry-content h4 {
	margin: 1.35em 0 .6em;
	font-size: 19px;
}

.seoh-gsp-entry-content a {
	color: #075fe5;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.seoh-gsp-entry-content a:hover {
	color: #0d3e9c;
}

.seoh-gsp-entry-content ul,
.seoh-gsp-entry-content ol {
	margin: 0 0 1.5em;
	padding-left: 1.5em;
}

.seoh-gsp-entry-content li {
	margin: 0 0 .55em;
	padding-left: .2em;
}

.seoh-gsp-entry-content blockquote,
.seoh-gsp-entry-content .wp-block-quote {
	margin: 1.8em 0;
	padding: 20px 24px;
	border-left: 4px solid #2563eb;
	border-radius: 0 12px 12px 0;
	background: #f2f7ff;
	color: #334b68;
}

.seoh-gsp-entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.seoh-gsp-entry-content img,
.seoh-gsp-entry-content video,
.seoh-gsp-entry-content iframe {
	max-width: 100%;
}

.seoh-gsp-entry-content img {
	height: auto;
	border-radius: 10px;
}

.seoh-gsp-entry-content figure {
	max-width: 100%;
	margin: 1.7em 0;
}

.seoh-gsp-entry-content figcaption {
	margin-top: 8px;
	color: #718096;
	font-size: 13px;
	text-align: center;
}

.seoh-gsp-entry-content pre {
	max-width: 100%;
	padding: 18px;
	overflow-x: auto;
	border-radius: 12px;
	background: #102744;
	color: #edf4ff;
	font-size: 14px;
	line-height: 1.65;
}

.seoh-gsp-entry-content code {
	padding: .15em .35em;
	border-radius: 5px;
	background: #edf3fb;
	color: #173b69;
	font-size: .9em;
}

.seoh-gsp-entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.seoh-gsp-table-wrap {
	width: 100%;
	max-width: 100%;
	margin: 1.7em 0;
	overflow-x: auto;
	border: 1px solid #dce5f0;
	border-radius: 12px;
	-webkit-overflow-scrolling: touch;
}

.seoh-gsp-entry-content table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 15px;
	line-height: 1.65;
}

.seoh-gsp-entry-content th {
	padding: 15px 16px;
	border: 1px solid #d9e3ef;
	background: #102744;
	color: #fff;
	font-weight: 700;
	text-align: left;
}

.seoh-gsp-entry-content td {
	padding: 14px 16px;
	border: 1px solid #e0e7f0;
	color: #34445a;
	vertical-align: top;
}

.seoh-gsp-entry-content tbody tr:nth-child(even) td {
	background: #f5f8fc;
}

.seoh-gsp-page-links {
	margin-top: 25px;
	font-weight: 700;
}

.seoh-gsp-toc {
	grid-area: toc;
	position: sticky;
	top: 28px;
	max-height: calc(100vh - 56px);
	padding: 26px 24px;
	overflow-y: auto;
}

.seoh-gsp-toc h2 {
	margin: 16px 0 18px;
	color: #102744;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.25;
}

.seoh-gsp-toc-body ol {
	margin: 0;
	padding-left: 20px;
	color: #2563eb;
}

.seoh-gsp-toc-body li {
	margin: 0 0 12px;
	padding-left: 2px;
	color: #2563eb;
	font-size: 14px;
	line-height: 1.55;
}

.seoh-gsp-toc-body a {
	color: #1559c7;
	text-decoration: none;
}

.seoh-gsp-toc-body a:hover {
	color: #102744;
	text-decoration: underline;
}

.seoh-gsp-toc-body ol ol {
	margin-top: 10px;
	padding-left: 17px;
}

.seoh-gsp-toc-body ol ol li {
	margin-bottom: 8px;
	font-size: 13px;
}

.seoh-gsp-toc-loading {
	margin: 0;
	color: #718096;
	font-size: 14px;
}

.seoh-gsp-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 28px;
	padding: clamp(25px, 4vw, 40px);
	border: 1px solid #1c385d;
	border-radius: 18px;
	background: #102744;
	color: #fff;
}

.seoh-gsp-cta .seoh-gsp-eyebrow {
	color: #8db9ff;
}

.seoh-gsp-cta h2 {
	margin: 12px 0 10px;
	color: #fff;
	font-size: clamp(23px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.2;
}

.seoh-gsp-cta p {
	max-width: 620px;
	margin: 0;
	color: #d7e4f6;
	font-size: 15px;
	line-height: 1.7;
}

.seoh-gsp-cta-action {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.seoh-gsp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 13px 19px;
	border: 1px solid #2563eb;
	border-radius: 9px;
	background: #2563eb;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	text-align: center;
	text-decoration: none !important;
	transition: background .2s ease, transform .2s ease;
}

.seoh-gsp-button:hover {
	transform: translateY(-2px);
	background: #174fc5;
	color: #fff !important;
}

.seoh-gsp-cta-secondary {
	color: #a9caff !important;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.seoh-gsp-author {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	margin-top: 28px;
	padding: 28px;
}

.seoh-gsp-author-avatar {
	flex: 0 0 92px;
	width: 92px;
	height: 92px;
	overflow: hidden;
	border: 3px solid #e6efff;
	border-radius: 50%;
	background: #edf3fb;
}

.seoh-gsp-author-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.seoh-gsp-author-copy {
	min-width: 0;
}

.seoh-gsp-author h2 {
	margin: 7px 0 4px;
	color: #102744;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.25;
}

.seoh-gsp-author-role {
	margin: 0 0 9px !important;
	color: #2563eb !important;
	font-size: 14px !important;
	font-weight: 700;
}

.seoh-gsp-author-copy p {
	margin: 0 0 10px;
	color: #5b6b80;
	font-size: 14px;
	line-height: 1.7;
}

.seoh-gsp-author-copy a {
	color: #1559c7;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

.seoh-gsp-author-copy a:hover {
	text-decoration: underline;
}

.seoh-gsp-related {
	margin-top: 38px;
}

.seoh-gsp-section-heading {
	margin-bottom: 17px;
}

.seoh-gsp-section-heading h2 {
	margin: 8px 0 0;
	color: #102744;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.25;
}

.seoh-gsp-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.seoh-gsp-related-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e1e9f3;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(15, 35, 65, .04);
}

.seoh-gsp-related-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eaf1fb;
	text-decoration: none;
}

.seoh-gsp-related-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.seoh-gsp-related-card:hover .seoh-gsp-related-image img {
	transform: scale(1.035);
}

.seoh-gsp-related-placeholder {
	color: #315477;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
}

.seoh-gsp-related-copy {
	padding: 16px;
}

.seoh-gsp-related-copy time {
	color: #718096;
	font-size: 11px;
	font-weight: 650;
}

.seoh-gsp-related-copy h3 {
	margin: 8px 0;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}

.seoh-gsp-related-copy h3 a {
	color: #102744;
	text-decoration: none;
}

.seoh-gsp-related-copy h3 a:hover {
	color: #1559c7;
}

.seoh-gsp-related-copy p {
	margin: 0;
	color: #66768b;
	font-size: 13px;
	line-height: 1.6;
}

.seoh-gsp-comments {
	margin-top: 28px;
	padding: 28px;
}

.seoh-gsp-comments h2,
.seoh-gsp-comments h3 {
	color: #102744;
	font-size: 23px;
	font-weight: 800;
}

.seoh-gsp-comments input:not([type="submit"]),
.seoh-gsp-comments textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1px solid #d8e2ee;
	border-radius: 8px;
	background: #fff;
	color: #26364b;
}

.seoh-gsp-comments input[type="submit"],
.seoh-gsp-comments button {
	padding: 13px 20px;
	border: 0;
	border-radius: 8px;
	background: #1268d8;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.seoh-gsp-comments .comment-list {
	padding-left: 20px;
}

.seoh-gsp-page [hidden] {
	display: none !important;
}

@media (max-width: 980px) {
	.seoh-gsp-content-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 22px;
	}

	.seoh-gsp-toc {
		padding: 23px 20px;
	}

	.seoh-gsp-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.seoh-gsp-page {
		padding: 30px 0 56px;
	}

	.seoh-gsp-shell {
		padding: 0 16px;
	}

	.seoh-gsp-hero {
		margin-bottom: 22px;
	}

	.seoh-gsp-breadcrumb {
		margin-bottom: 21px;
		font-size: 12px;
	}

	.seoh-gsp-title {
		margin-bottom: 13px;
		font-size: clamp(31px, 8vw, 42px);
		line-height: 1.13;
	}

	.seoh-gsp-intro {
		font-size: 16px;
		line-height: 1.7;
	}

	.seoh-gsp-meta {
		gap: 7px;
		font-size: 12px;
	}

	.seoh-gsp-featured {
		margin-bottom: 20px;
	}

	.seoh-gsp-featured-image {
		max-height: 320px;
		border-radius: 13px;
	}

	.seoh-gsp-content-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"toc"
			"article";
		gap: 18px;
	}

	.seoh-gsp-toc {
		position: static;
		max-height: none;
		padding: 23px 20px;
		border-radius: 14px;
	}

	.seoh-gsp-toc h2 {
		margin: 11px 0 13px;
		font-size: 23px;
	}

	.seoh-gsp-toc-body li {
		margin-bottom: 9px;
		font-size: 14px;
	}

	.seoh-gsp-content-card {
		padding: 23px 19px;
		border-radius: 14px;
	}

	.seoh-gsp-entry-content {
		font-size: 16px;
		line-height: 1.8;
	}

	.seoh-gsp-entry-content h2 {
		margin-top: 1.55em;
		font-size: 25px;
	}

	.seoh-gsp-entry-content h3 {
		font-size: 21px;
	}

	.seoh-gsp-entry-content table {
		min-width: 640px;
		font-size: 14px;
	}

	.seoh-gsp-entry-content th,
	.seoh-gsp-entry-content td {
		padding: 12px;
	}

	.seoh-gsp-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-top: 18px;
		padding: 25px 21px;
		border-radius: 14px;
	}

	.seoh-gsp-cta-action {
		width: 100%;
	}

	.seoh-gsp-button {
		width: 100%;
	}

	.seoh-gsp-author {
		gap: 15px;
		margin-top: 18px;
		padding: 21px 18px;
		border-radius: 14px;
	}

	.seoh-gsp-author-avatar {
		flex-basis: 66px;
		width: 66px;
		height: 66px;
	}

	.seoh-gsp-author h2 {
		font-size: 20px;
	}

	.seoh-gsp-author-copy p {
		font-size: 13px;
	}

	.seoh-gsp-related {
		margin-top: 28px;
	}

	.seoh-gsp-section-heading h2 {
		font-size: 24px;
	}

	.seoh-gsp-related-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 13px;
	}

	.seoh-gsp-related-card {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		align-items: stretch;
	}

	.seoh-gsp-related-image {
		height: 100%;
		min-height: 112px;
		aspect-ratio: auto;
	}

	.seoh-gsp-related-copy {
		padding: 12px;
	}

	.seoh-gsp-related-copy h3 {
		margin: 5px 0;
		font-size: 14px;
	}

	.seoh-gsp-related-copy p {
		font-size: 12px;
	}

	.seoh-gsp-comments {
		margin-top: 18px;
		padding: 21px 18px;
		border-radius: 14px;
	}
}

@media (max-width: 390px) {
	.seoh-gsp-shell {
		padding-right: 12px;
		padding-left: 12px;
	}

	.seoh-gsp-author {
		flex-direction: column;
	}

	.seoh-gsp-related-card {
		grid-template-columns: 96px minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.seoh-gsp-page *,
	.seoh-gsp-page *::before,
	.seoh-gsp-page *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
