/*
Theme Name: LocalSpotlight
Theme URI: https://localspotlight.wales/
Author: LocalSpotlight.wales
Description: Lightweight theme for the LocalSpotlight.wales business directory MVP.
Version: 0.1.0
Text Domain: localspotlight
*/

:root {
	--ls-bg: #f5f8f7;
	--ls-ink: #172522;
	--ls-muted: #5d6f6b;
	--ls-primary: #0f766e;
	--ls-primary-dark: #14534d;
	--ls-border: #d8e3df;
	--ls-panel: #ffffff;
	--ls-accent: #f59e0b;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--ls-bg);
	color: var(--ls-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
}

a {
	color: var(--ls-primary);
}

img {
	max-width: 100%;
	height: auto;
}

.site-header,
.site-footer {
	background: #fff;
	border-bottom: 1px solid var(--ls-border);
}

.site-footer {
	border-top: 1px solid var(--ls-border);
	border-bottom: 0;
}

.site-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 76px;
}

.site-brand {
	color: var(--ls-ink);
	font-size: 1.25rem;
	font-weight: 900;
	text-decoration: none;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.site-nav a {
	color: var(--ls-ink);
	font-weight: 750;
	text-decoration: none;
}

.site-main {
	min-height: 70vh;
}

.hero {
	background: #0f766e;
	color: #fff;
}

.hero__inner {
	display: grid;
	gap: 24px;
	padding: 74px 20px 64px;
}

.hero h1 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(2.3rem, 4vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: 0;
}

.hero p {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.14rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button,
.button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 7px;
	padding: 10px 16px;
	font-weight: 850;
	text-decoration: none;
}

.button {
	background: #fff;
	color: var(--ls-primary-dark);
}

.button-secondary {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
}

.content-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 44px 20px;
}

.page-title {
	margin: 0 0 24px;
	font-size: clamp(2rem, 3vw, 3.2rem);
	line-height: 1.1;
}

.listing-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
}

.listing-main,
.listing-side {
	background: #fff;
	border: 1px solid var(--ls-border);
	border-radius: 8px;
	padding: 24px;
}

.listing-meta {
	display: grid;
	gap: 12px;
	margin: 0;
}

.listing-meta div {
	display: grid;
	gap: 3px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ls-border);
}

.listing-meta dt {
	color: var(--ls-muted);
	font-weight: 800;
}

.listing-meta dd {
	margin: 0;
}

.listing-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.listing-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.comment-list {
	padding-left: 0;
	list-style: none;
}

.comment-body {
	margin-bottom: 16px;
	border: 1px solid var(--ls-border);
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}

@media (max-width: 820px) {
	.site-header__inner,
	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 18px 0;
	}

	.listing-layout {
		grid-template-columns: 1fr;
	}
}
