/**
 * uxneuron — content.css
 *
 * Styling for views with no equivalent in the original 5-page design:
 * standard blog post listings/singles, search results, 404, and the
 * generic single/archive views for the Service and Portfolio post types.
 * Built from the same design tokens as the rest of the theme (colors,
 * fonts, radii, shadows from base.css) so it feels native rather than
 * bolted on, without inventing new brand language.
 *
 * @package uxneuron
 */

/* Generic page/post header, shared by page.php, single.php, archives. */

.content-header {
	max-width: var( --container-max-prose );
	margin: 0 auto;
	padding: 70px var( --section-x ) 10px;
	text-align: center;
}

.content-header__eyebrow {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var( --color-primary );
	margin-bottom: 14px;
}

.content-header__title {
	font-weight: 800;
	font-size: 44px;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 14px;
}

.content-header__meta {
	font-size: 14.5px;
	color: var( --color-text-faint );
}

.content-header__meta a {
	color: var( --color-primary );
	font-weight: 600;
}

.content-body-wrap {
	max-width: var( --container-max );
	margin: 0 auto;
	padding: 30px var( --section-x ) 90px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
}

.content-body-wrap--with-sidebar {
	grid-template-columns: 2fr 1fr;
	align-items: start;
}

.content-featured-image {
	border-radius: var( --radius-xl );
	overflow: hidden;
	margin-bottom: 36px;
	border: 1px solid var( --color-border-soft );
}

.content-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Long-form entry content typography. */

.entry-content {
	max-width: var( --container-max-prose );
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: var( --color-text-soft );
}

.entry-content h2 {
	font-weight: 800;
	font-size: 30px;
	letter-spacing: -.01em;
	color: var( --color-text );
	margin: 44px 0 16px;
}

.entry-content h3 {
	font-weight: 700;
	font-size: 23px;
	color: var( --color-text );
	margin: 34px 0 14px;
}

.entry-content p {
	margin: 0 0 20px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content a {
	color: var( --color-primary );
	text-decoration: underline;
}

.entry-content img {
	max-width: 100%;
	border-radius: var( --radius-lg );
}

.entry-content blockquote {
	border-left: 3px solid var( --color-primary );
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	font-style: italic;
	color: var( --color-text );
}

/* Blog listing cards (index.php, archive.php, search.php). */

.post-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.post-card {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 26px;
	padding-bottom: 30px;
	border-bottom: 1px solid var( --color-border-soft );
}

.post-card__media {
	border-radius: var( --radius-lg );
	overflow: hidden;
	height: 150px;
	border: 1px solid var( --color-border-soft );
}

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

.post-card__category {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 12.5px;
	color: var( --color-primary );
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.post-card__title {
	font-weight: 700;
	font-size: 22px;
	margin: 0 0 8px;
}

.post-card__title a {
	color: var( --color-text );
}

.post-card__excerpt {
	font-size: 15px;
	color: var( --color-text-muted );
	line-height: 1.6;
	margin: 0 0 10px;
}

.post-card__meta {
	font-size: 13.5px;
	color: var( --color-text-faint );
}

/* Pagination. */

.uxneuron-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}

.uxneuron-pagination a,
.uxneuron-pagination span {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 14px;
	padding: 10px 16px;
	border-radius: var( --radius-sm );
	border: 1px solid var( --color-border );
	color: var( --color-text );
}

.uxneuron-pagination .current {
	background: var( --color-primary );
	color: #fff;
	border-color: var( --color-primary );
}

/* Sidebar widgets. */

.widget {
	background: #fff;
	border: 1px solid var( --color-border );
	border-radius: var( --radius-lg );
	padding: 26px;
	margin-bottom: 24px;
}

.widget-title {
	font-family: var( --font-heading );
	font-weight: 700;
	font-size: 16px;
	margin: 0 0 16px;
}

/* Empty state (no results / 404 / empty archive). */

.empty-state {
	max-width: var( --container-max-prose );
	margin: 0 auto;
	padding: 70px var( --section-x ) 100px;
	text-align: center;
}

.empty-state__title {
	font-weight: 800;
	font-size: 38px;
	margin: 0 0 16px;
}

.empty-state__desc {
	font-size: 17px;
	color: var( --color-text-muted );
	margin: 0 0 30px;
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 0 auto 10px;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 13px 16px;
	border: 1px solid rgba(0,0,0,.14);
	border-radius: var( --radius-sm );
	font-family: var( --font-body );
	font-size: 15px;
	background: var( --color-input-bg );
}

/* Comments. */

.comments-area {
	max-width: var( --container-max-prose );
	margin: 0 auto;
	padding: 0 var( --section-x ) 60px;
}

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

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var( --color-border-soft );
}

.comment-meta {
	font-family: var( --font-heading );
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
}

/* Single Service / Portfolio detail views. */

.detail-meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 24px 0 40px;
}

.detail-meta-item {
	background: #fff;
	border: 1px solid var( --color-border );
	border-radius: var( --radius-sm );
	padding: 10px 16px;
	font-size: 14px;
}

.detail-meta-item strong {
	color: var( --color-primary );
	font-family: var( --font-heading );
}

.detail-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: var( --container-max );
	margin: 30px auto 0;
	padding: 0 var( --section-x );
}

.detail-gallery img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: var( --radius-lg );
	display: block;
}

.detail-section {
	max-width: var( --container-max-prose );
	margin: 0 auto 30px;
}

.detail-section__title {
	font-weight: 700;
	font-size: 20px;
	margin: 0 0 10px;
}
