/* ═══════════════════════════════════════════════════════════════
   OniGrow — Niche & Comparison Pages
   Unified styling for 210+ pages (niche + competitor)
   ═══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ─────────────────────────────────────────── */
.og-page {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 20px;
	color: #1a1a2e;
	line-height: 1.75;
}

.og-page p,
.og-page li {
	font-size: 1.05rem;
}

/* ── Intro paragraph ──────────────────────────────────────── */
.og-intro {
	font-size: 1.15rem;
	text-align: center;
	color: #444;
	margin-bottom: 2rem;
}

/* ── Section headings ─────────────────────────────────────── */
.og-page h2 {
	font-size: 1.55rem;
	font-weight: 700;
	margin-top: 2.8rem;
	margin-bottom: 1.1rem;
	color: #1a1a2e;
}

/* ── Tables (comparison + plans) ──────────────────────────── */
.og-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0 2rem;
	font-size: 0.95rem;
}

.og-table thead tr {
	background: #1a1a2e;
	color: #fff;
}

.og-table th {
	padding: 13px 14px;
	text-align: left;
	font-weight: 600;
}

.og-table th:first-child {
	border-radius: 8px 0 0 0;
}

.og-table th:last-child {
	border-radius: 0 8px 0 0;
}

.og-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #eee;
}

.og-table tbody tr:nth-child(even) {
	background: #f8f8fa;
}

/* Center columns (except first) for comparison tables */
.og-table th:not(:first-child),
.og-table td:not(:first-child) {
	text-align: center;
}

.og-table td:first-child {
	font-weight: 600;
}

/* ── CTA Dark (navy gradient) ─────────────────────────────── */
.og-cta-dark {
	background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 100%);
	padding: 36px 32px;
	border-radius: 12px;
	margin: 2.5rem 0;
	text-align: center;
}

.og-cta-dark p {
	color: #aab0c0;
	margin: 0 0 10px;
	font-size: 15px;
}

.og-cta-dark p:first-child {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}

.og-cta-dark a {
	display: inline-block;
	background: #d62876;
	color: #fff;
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: opacity .2s;
}

.og-cta-dark a:visited {
	color: #fff;
}

.og-cta-dark a:hover {
	opacity: .9;
}

/* ── CTA Pink (gradient) ──────────────────────────────────── */
.og-cta-pink {
	background: linear-gradient(135deg, #d62876 0%, #a01d5a 100%);
	padding: 36px 32px;
	border-radius: 12px;
	margin: 2.5rem 0;
	text-align: center;
}

.og-cta-pink p {
	color: #ffe0ee;
	margin: 0 0 10px;
	font-size: 15px;
}

.og-cta-pink p:first-child {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}

.og-cta-pink a {
	display: inline-block;
	background: #fff;
	color: #d62876;
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: opacity .2s;
}

.og-cta-pink a:visited {
	color: #d62876;
}

.og-cta-pink a:hover {
	opacity: .9;
}

.og-cta-pink p:last-child {
	color: #ffe0ee;
	font-size: 13px;
	margin: 14px 0 0;
}

/* ── Cross-links box ──────────────────────────────────────── */
.og-crosslinks {
	background: #f8f8fa;
	padding: 24px 28px;
	border-radius: 12px;
	margin: 2rem 0;
}

.og-crosslinks > p {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #1a1a2e;
}

.og-crosslinks ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.og-crosslinks li {
	margin: 6px 0;
}

.og-crosslinks a {
	color: #d62876;
	text-decoration: none;
	font-weight: 500;
}

.og-crosslinks a:hover {
	text-decoration: underline;
}

/* ── FAQ section ──────────────────────────────────────────── */
.og-page h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 1.5rem 0 0.5rem;
	color: #1a1a2e;
}

/* ── Utility classes ──────────────────────────────────────── */
.og-center {
	text-align: center;
}

.og-small {
	font-size: 0.9rem;
	color: #666;
}

.og-divider {
	border: none;
	border-top: 1px solid #e5e5e5;
	margin: 2rem 0;
}

/* ── Niche hero image (inherited from main.css, override) ── */
.og-niche-hero {
	margin: 0 0 2.5rem;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
}

.og-niche-hero img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
	.og-page {
		padding: 0 16px;
	}

	.og-page h2 {
		font-size: 1.35rem;
		margin-top: 2rem;
	}

	.og-cta-dark,
	.og-cta-pink {
		padding: 28px 20px;
		margin: 2rem 0;
	}

	.og-cta-dark p:first-child,
	.og-cta-pink p:first-child {
		font-size: 19px;
	}

	.og-cta-dark a,
	.og-cta-pink a {
		padding: 12px 24px;
		font-size: 15px;
	}

	.og-table {
		font-size: 0.85rem;
	}

	.og-table th,
	.og-table td {
		padding: 10px 8px;
	}

	.og-crosslinks {
		padding: 20px;
	}
}
