/* Layout */

.aurea-layout {
	display: flex;
	gap: 50px;
	align-items: flex-start;
	max-width: 1240px;
	margin: 60px auto;
	padding: 0 24px;
}

.aurea-main {
	flex: 1;
	min-width: 0;
}

.aurea-main article {
	background: #fff;
	padding: 32px;
	border-radius: 8px;
	margin-bottom: 50px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.aurea-main article:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.aurea-sidebar {
	width: 280px;
}

/* Header */

.aurea-header {
	padding: 24px 20px;
	border-bottom: 1px solid #eee;
	background: #fff;
}

.aurea-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* Branding */

.aurea-site-branding a {
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
	color: inherit;
}

/* Navigation */

.aurea-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}

.aurea-menu li {
	position: relative;
}

.aurea-menu a {
	text-decoration: none;
	color: inherit;
	font-weight: 500;
}

.aurea-menu a:hover,
.aurea-menu a:focus {
	text-decoration: underline;
}

/* Submenu */

.aurea-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	min-width: 180px;
	z-index: 10;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.aurea-menu .sub-menu li {
	padding: 0;
}

.aurea-menu .sub-menu a {
	display: block;
	padding: 10px 16px;
}

.aurea-menu li:hover > .sub-menu,
.aurea-menu li:focus-within > .sub-menu {
	display: block;
}

/* Active menu item */

.aurea-menu .current-menu-item > a,
.aurea-menu .current_page_item > a,
.aurea-menu .current-menu-parent > a {
	font-weight: 700;
	text-decoration: underline;
}

/* Content */

.aurea-content {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Standard pages */

.page .aurea-content {
	max-width: 900px;
	margin: 80px auto;
	padding: 0 24px;
}

.page article {
	margin-bottom: 0;
}

.page .entry-title {
	font-size: 3rem;
	line-height: 1.1;
	margin-bottom: 40px;
}

.page .entry-content {
	max-width: 800px;
	font-size: 1.05rem;
	line-height: 1.9;
	color: #333;
}

.page .entry-content p {
	margin-bottom: 1.8em;
}

/* Front page */

.home .aurea-content {
	max-width: 1100px;
	margin: 100px auto;
	padding: 0 24px;
}

.home .entry-title {
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 30px;
}

.home .entry-content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.1rem;
	line-height: 1.9;
	color: #444;
	text-align: left;
}

/* Full width layouts */

.page-template-page-canvas .aurea-content,
.page-template-page-fullwidth .aurea-content {
	max-width: none;
	padding: 0;
}

/* Articles */

article {
	margin-bottom: 80px;
}

.entry-title {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 20px;
}

.entry-title a {
	color: #111;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	text-decoration: underline;
}

.entry-summary,
.entry-content {
	line-height: 1.8;
	color: #444;
}

.entry-summary {
	max-width: 800px;
	font-size: 1rem;
}

.entry-meta {
	margin-bottom: 18px;
	font-size: 0.9rem;
	color: #666;
}

/* Featured images */

.post-thumbnail {
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 8px;
}

.post-thumbnail img {
	display: block;
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	height: auto;
	transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
	transform: scale(1.01);
}

/* Read more button */

.aurea-read-more {
	display: inline-block;
	padding: 12px 24px;
	background: #111;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	margin-top: 20px;
	font-weight: 600;
	transition:
		background 0.2s ease,
		opacity 0.2s ease;
}

.aurea-read-more:hover,
.aurea-read-more:focus {
	background: #333;
	color: #fff;
	text-decoration: none;
}

/* Widgets */

.widget {
	margin-bottom: 30px;
	padding: 24px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #eee;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.widget-title {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.15rem;
	font-weight: 600;
}

/* Widget lists */

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

.widget li {
	margin-bottom: 12px;
}

.widget a {
	text-decoration: none;
}

.widget a:hover,
.widget a:focus {
	text-decoration: underline;
}

/* Comments */

.comments-area {
	margin-top: 50px;
}

.comment-list {
	padding-left: 20px;
}

/* Footer */

.aurea-footer {
	margin-top: 60px;
	padding: 30px 20px;
	border-top: 1px solid #eee;
	text-align: center;
	font-size: 0.95rem;
	background: #fff;
}

/* 404 */

.error404 .aurea-content {
	max-width: 700px;
	margin: 100px auto;
	padding: 0 24px;
	text-align: center;
}

/* Responsive */

@media (max-width: 768px) {

	.aurea-layout {
		flex-direction: column;
		gap: 40px;
		margin: 40px auto;
		padding: 0 20px;
	}

	.aurea-sidebar {
		width: 100%;
	}

	.aurea-header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.aurea-menu {
		flex-wrap: wrap;
		gap: 16px;
	}

	.aurea-main article {
		padding: 24px;
	}

	.entry-title {
		font-size: 1.6rem;
	}

	.home .entry-title,
	.page .entry-title {
		font-size: 2.4rem;
	}

	.home .entry-content,
	.page .entry-content {
		font-size: 1rem;
		line-height: 1.8;
	}
}