/**
 * SEO landing page styles — EasyToFinish blue / orange theme.
 */

:root {
	--tssp-blue: #00b3d8;
	--tssp-red: #f1592a;
	--tssp-black: #181818;
}

.tssp-landing-main {
	max-width: 100%;
	padding: 0;
}

/* Hero background photo (uses --hero-bg-desktop / --hero-bg-mobile from hero-block.php) */
.tssp-hero-section.hero {
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: center;
	padding: 0;
	overflow: hidden;
	background-color: #c2e4f2;
}

.tssp-hero-section.hero::before,
.tssp-hero-section.hero:before {
	display: none !important;
	content: none !important;
}

.tssp-hero-section.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--hero-bg-desktop);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}

.tssp-hero-section .container {
	position: relative;
	z-index: 2;
}

/* CTA box — matches homepage banner-content */
.tssp-hero-section .hero-content-left.tssp-hero-cta-box {
	width: fit-content;
	max-width: min(92vw, 760px);
	background-color: rgba(255, 255, 255, 0.6);
	border-top: 5px solid var(--tssp-blue);
	border-radius: 20px;
	padding: clamp(2rem, 4vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem);
	backdrop-filter: blur(5px);
	box-shadow: 0 0 22px rgba(0, 0, 0, 0.08);
}

.tssp-hero-title {
	font-size: clamp(1.45rem, 2.8vw, 2.25rem);
	line-height: 1.25;
	margin-bottom: 1rem !important;
	color: var(--tssp-black) !important;
}

.tssp-hero-headline {
	display: inline-block;
	white-space: nowrap;
	max-width: 100%;
	color: var(--tssp-black);
}

.tssp-hero-section .tssp-hero-subhead {
	color: var(--tssp-red);
	font-weight: 600;
}

.tssp-hero-section .tssp-hero-meta,
.tssp-hero-section .tssp-hero-support-line {
	color: #444 !important;
}

.tssp-hero-pricing .price-highlight {
	font-size: clamp(2rem, 5vw, 3rem);
	background: linear-gradient(90deg, #ff6b6b, #ff8e53);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 700;
}

.tssp-hero-support-line i {
	margin-right: 0.35rem;
	color: var(--tssp-blue) !important;
}

.tssp-hero-section .tssp-hero-register.red-btn {
	margin-top: 0;
}

/* Content area below hero */
.tssp-content-section {
	background: #fff;
}

.tssp-advertisement {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #333;
}

.tssp-advertisement h2,
.tssp-advertisement h3,
.tssp-advertisement h4 {
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
	font-weight: 700;
	color: var(--tssp-black);
}

.tssp-advertisement p {
	margin-bottom: 1rem;
}

.tssp-advertisement a {
	color: var(--tssp-blue);
	font-weight: 600;
}

.tssp-advertisement a:hover {
	color: var(--tssp-red);
}

.tssp-advertisement img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.tssp-advertisement ul,
.tssp-advertisement ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

/* Sidebar */
.tssp-sidebar {
	border: none;
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.tssp-sidebar-inner {
	padding-top: 0;
}

.tssp-sidebar-inner a {
	color: var(--tssp-blue);
	font-weight: 600;
}

.tssp-sidebar-inner a:hover {
	color: var(--tssp-red);
}

@media (min-width: 992px) {
	.tssp-sidebar {
		border-left: 1px solid #dee2e6;
		padding-left: 2rem;
	}

	.tssp-sidebar-inner {
		padding-left: 0.25rem;
	}
}

.tssp-sidebar-inner h2,
.tssp-sidebar-inner h3,
.tssp-sidebar-inner h4 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 0.75rem;
	color: var(--tssp-black);
}

.tssp-sidebar-inner p {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
}

.tssp-sidebar-inner ul {
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}

.tssp-sidebar-inner .card,
.tssp-sidebar-inner [style*="border"] {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* Footer cards — related pages + related tags */
.tssp-footer-cards {
	margin-top: 3rem !important;
}

.tssp-footer-card {
	background: #fff;
	border: 1px solid #dfe7f2;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	padding: 1.5rem 1.75rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.tssp-footer-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 1.25rem;
	color: var(--tssp-black);
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--tssp-blue);
}

.tssp-footer-card__body {
	flex: 1 1 auto;
}

.tssp-related-list {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.tssp-related-item a {
	text-decoration: none;
	font-weight: 600;
	color: var(--tssp-blue);
	line-height: 1.4;
	display: inline-block;
}

.tssp-related-item a:hover {
	text-decoration: underline;
	color: var(--tssp-red);
}

.tssp-related-item span {
	font-weight: 600;
	color: #495057;
	line-height: 1.4;
}

.tssp-tag-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-content: flex-start;
}

.tssp-tag-badge {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tssp-black);
	background: rgba(194, 228, 242, 0.45);
	border: 1px solid rgba(0, 179, 216, 0.35);
	border-radius: 999px;
}

.tssp-layout-registration .tssp-hero-register,
.tssp-layout-registration-login .tssp-hero-register {
	display: inline-flex;
}

@media (max-width: 767px) {
	.tssp-hero-section.hero {
		min-height: 72vh;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.tssp-hero-section.hero::after {
		background-image: var(--hero-bg-mobile, var(--hero-bg-desktop));
		background-position: center center;
	}

	.tssp-hero-section .hero-content-left.tssp-hero-cta-box {
		width: 100%;
		max-width: 100%;
		padding: 2rem 1.5rem;
	}

	.tssp-hero-headline {
		white-space: normal;
		text-wrap: balance;
	}

	.tssp-sidebar {
		border-left: none;
		border-top: 1px solid #dee2e6;
		padding-left: 0;
		padding-top: 2rem;
		margin-top: 0.5rem;
	}
}
