/*
Theme Name: Adtech Testing
Description: Test site for the Geth WordPress pipeline. Pages are code (pages.json + templates/); operator lists come from the rgbc-adtech-integration plugin at render time.
Version: 0.2.0
Author: GDC
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: adtech-testing
*/

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
	color: #e2e8f0;
	background: #0f172a;
	line-height: 1.6;
}
a { color: #38bdf8; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Accessibility ── */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}

/* ── Header ── */
.site-header {
	padding: 1rem 2rem;
	background: #1e293b;
	border-bottom: 1px solid #334155;
	display: flex; align-items: center; gap: 1rem;
	font-weight: 700; font-size: 1.1rem;
}
.site-header a { color: #f8fafc; }

/* ── Main ── */
#main-content { min-height: 80vh; }

/* ── Hero ── */
.hero {
	display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
	align-items: center; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto;
}
.hero-title { font-size: 3rem; font-weight: 800; color: #f8fafc; line-height: 1.15; }
.hero-subtitle { font-size: 1.2rem; color: #94a3b8; margin: 1rem 0 2rem; }
.hero-cta {
	display: inline-block; padding: 0.85rem 2rem; background: #38bdf8;
	color: #0f172a; border-radius: 8px; font-weight: 700; font-size: 1rem;
}
.hero-cta:hover { background: #7dd3fc; text-decoration: none; }
.hero-image img { border-radius: 12px; }

/* ── Operators ── */
.operators { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.operators h2 { font-size: 2rem; margin-bottom: 2rem; color: #f8fafc; }

.operator-list { display: grid; gap: 1.5rem; }
.operator-card {
	background: #1e293b; border: 1px solid #334155; border-radius: 12px;
	padding: 2rem; display: flex; flex-direction: column; align-items: center;
	text-align: center; gap: 0.75rem;
}
.operator-card h3 { font-size: 1.3rem; color: #f8fafc; }
.operator-logo { border-radius: 8px; background: #0f172a; padding: 0.5rem; }
.operator-offer { color: #cbd5e1; max-width: 400px; }
.operator-cta {
	display: inline-block; padding: 0.6rem 1.5rem; background: #10b981;
	color: #fff; border-radius: 8px; font-weight: 600;
}
.operator-cta:hover { background: #34d399; text-decoration: none; }
.operator-terms { font-size: 0.8rem; color: #64748b; }
.operator-empty { color: #64748b; font-style: italic; }

/* ── Footer ── */
.site-footer {
	padding: 2rem; text-align: center; color: #64748b;
	border-top: 1px solid #334155; font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.hero { grid-template-columns: 1fr; text-align: center; }
	.hero-title { font-size: 2rem; }
}