/* =====================================================
   Single Post — Child Theme Styles
   ===================================================== */

.single-post {
	font-family: "Montserrat", Sans-serif;
	overflow-x: clip;
}

/* =====================================================
   1. BANNER
   ===================================================== */
.post-banner {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: flex-end;
	background-color: #1c263d;
	background-size: cover;
	background-position: center;
	padding: 10rem 1.5rem 12rem;
	color: #ffffff;
}

.post-banner__overlay {
	position: absolute;
	inset: 0;
	background-color: #1c263d;
	opacity: 0.6;
}

.post-banner__inner {
	position: relative;
	z-index: 1;
	max-width: 1524px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.post-banner__title {
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 1rem;
	font-family: "Montserrat", Sans-serif;
	line-height: 1.2;
	max-width: 860px;
	margin: auto;
}

.post-banner__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-family: "Montserrat", Sans-serif;
	font-size: 0.875rem;
	margin: 20px 0px 0px;
	justify-content: center;
}

.post-banner__author {
	color: #F1B434;
	font-weight: 600;
}

.post-banner__sep {
	color: rgba(255, 255, 255, 0.4);
}

.post-banner__date {
	color: rgba(255, 255, 255, 0.75);
}

.post-banner__wave {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	line-height: 0;
}

.post-banner__wave svg {
	display: block;
	width: 100%;
	height: 80px;
}

/* =====================================================
   2. POST CONTENT
   ===================================================== */
.post-content-wrap {
	padding: 3.5rem 1.5rem 5rem;
}

.post-content-wrap__inner {
	max-width: 1524px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3rem;
	align-items: start;
}

.post-content-wrap__main {
	min-width: 0;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.post-sidebar {
	position: sticky;
	top: 2rem;
}

.post-sidebar-widget {
	background: transparent;
	padding: 0;
	margin-bottom: 2.5rem;
}

.post-sidebar-widget:last-child {
	margin-bottom: 0;
}

.post-sidebar-widget__title {
	font-size: 1.6rem;
	font-weight: 700;
	font-family: "Montserrat", Sans-serif;
	color: #1c263d;
	margin: 0 0 1.25rem;
	padding: 0;
	border: none;
	line-height: 1.2;
}

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

.post-sidebar-widget ul li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0;
	font-family: "Montserrat", Sans-serif;
	font-size: 0.95rem;
}

.post-sidebar-widget ul li::before {
	content: "►";
	color: #F1B434;
	font-size: 0.65rem;
	flex-shrink: 0;
	line-height: 1;
}

.post-sidebar-widget ul li a {
	color: #1c263d;
	text-decoration: none;
}

.post-sidebar-widget ul li a:hover,
.post-sidebar-widget ul li.current-cat > a {
	color: #F1B434;
}

/* Search widget */
.post-sidebar-widget .search-form {
	display: flex;
	gap: 0.5rem;
}

.post-sidebar-widget .search-field {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: "Montserrat", Sans-serif;
	font-size: 0.9rem;
}

.post-sidebar-widget .search-submit {
	padding: 0.5rem 1rem;
	background: #1c263d;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-family: "Montserrat", Sans-serif;
	font-size: 0.9rem;
}

.post-sidebar-widget .search-submit:hover {
	background: #F1B434;
}

.post-body {
	font-family: "Montserrat", Sans-serif;
	font-size: 1rem;
	line-height: 1.8;
	color: #333333;
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5 {
	font-family: "Montserrat", Sans-serif;
	font-weight: 700;
	color: #1c263d;
	margin: 2rem 0 0.75rem;
	line-height: 1.25;
}

.post-body h2 { font-size: 1.75rem; }
.post-body h3 { font-size: 1.375rem; }
.post-body h4 { font-size: 1.125rem; }

.post-body p {
	margin: 0 0 1.25rem;
}

.post-body a {
	color: #F1B434;
	text-decoration: underline;
}

.post-body a:hover {
	color: #1c263d;
}

.post-body img {
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
}

.post-body ul,
.post-body ol {
	margin: 0 0 1.25rem 1.5rem;
	padding: 0;
}

.post-body li {
	margin-bottom: 0.4rem;
}

.post-body blockquote {
	border-left: 4px solid #F1B434;
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	background: #f8f8f8;
	font-style: italic;
	color: #555;
}

/* Tags */
.post-tags {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e8e8e8;
	font-family: "Montserrat", Sans-serif;
	font-size: 0.875rem;
	color: #555;
}

.post-tags__label {
	font-weight: 700;
	color: #1c263d;
}

.post-tags a {
	color: #F1B434;
	text-decoration: none;
}

.post-tags a:hover {
	color: #1c263d;
}

/* =====================================================
   3. RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
	.post-content-wrap__inner {
		grid-template-columns: 1fr;
	}

	.post-sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	.post-banner {
		min-height: 45vh;
		padding: 8rem 1.5rem 10rem;
	}

	.post-banner__wave svg {
		height: 50px;
	}
}
