/* OpenListings Web App Styles */

/* Base Styles */
html {
	height: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	background-color: #ffffff;
	background-size: 100% 100%;
}

/* Splash Screen Layout Classes */
.center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.contain {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.stretch {
	display: block;
	width: 100%;
	height: 100%;
}

.cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bottom {
	position: absolute;
	bottom: 0;
	left: 50%;
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}

.bottomLeft {
	position: absolute;
	bottom: 0;
	left: 0;
}

.bottomRight {
	position: absolute;
	bottom: 0;
	right: 0;
}

/* Dynamic Content Styles */
h1 {
	font-family: 'Bebas Neue', 'Arial', sans-serif;
	font-size: 2.5rem;
	font-weight: 400;
	color: #1a1a1a;
	margin: 2rem 0 1rem 0;
	padding: 0 1rem;
	line-height: 1.2;
	text-align: center;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

article {
	font-family: 'DM Sans', 'Arial', sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #333333;
	margin: 0 auto 2rem auto;
	padding: 0 1rem;
	max-width: 800px;
	text-align: left;
}

article p {
	margin-bottom: 1rem;
}

article h2 {
	font-family: 'Bebas Neue', 'Arial', sans-serif;
	font-size: 1.8rem;
	font-weight: 400;
	color: #1a1a1a;
	margin: 2rem 0 1rem 0;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

article h3 {
	font-family: 'Bebas Neue', 'Arial', sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	color: #1a1a1a;
	margin: 1.5rem 0 0.8rem 0;
	letter-spacing: 0.2px;
	text-transform: uppercase;
}

article ul, article ol {
	margin: 1rem 0;
	padding-left: 2rem;
}

article li {
	margin-bottom: 0.5rem;
}

article a {
	color: #2563eb;
	text-decoration: underline;
	transition: color 0.2s ease;
}

article a:hover {
	color: #1d4ed8;
}

article strong {
	font-weight: 600;
	color: #1a1a1a;
}

article em {
	font-style: italic;
	color: #4a5568;
}

/* Responsive Design */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
		margin: 1.5rem 0 1rem 0;
		padding: 0 0.5rem;
	}

	article {
		font-size: 0.9rem;
		padding: 0 0.5rem;
		margin-bottom: 1.5rem;
	}

	article h2 {
		font-size: 1.5rem;
		margin: 1.5rem 0 0.8rem 0;
	}

	article h3 {
		font-size: 1.2rem;
		margin: 1.2rem 0 0.6rem 0;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 1.8rem;
		margin: 1rem 0 0.8rem 0;
	}

	article {
		font-size: 0.85rem;
		line-height: 1.5;
	}

	article h2 {
		font-size: 1.3rem;
	}

	article h3 {
		font-size: 1.1rem;
	}
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	body {
		background-color: #ffffff;
	}

	h1 {
		color: #ffffff;
	}

	article {
		color: #e2e8f0;
	}

	article h2, article h3 {
		color: #ffffff;
	}

	article strong {
		color: #ffffff;
	}

	article em {
		color: #a0aec0;
	}

	article a {
		color: #60a5fa;
	}

	article a:hover {
		color: #93c5fd;
	}
}
