/* =====================================================================
   Theodore Kohan — Blog & WordPress integration styles
   Matches the light-blue serif aesthetic of the main site (main.css).
   ===================================================================== */

/* Accessibility helper */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

/* Custom logo in navbar */
.navbar-logo .custom-logo {
	max-height: 56px;
	width: auto;
	display: block;
}

/* ------- Navbar dropdowns (menu depth 2) ------- */
.navbar-item {
	position: relative;
}
.navbar-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	min-width: 200px;
	list-style: none;
	margin: 0;
	padding: 0.6rem 0;
	background: rgba(240, 249, 253, 0.96);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(100, 160, 200, 0.22);
	border-radius: 12px;
	box-shadow: 0 18px 40px -16px rgba(25, 70, 100, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	z-index: 1001;
}
.navbar-item:hover > .navbar-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.navbar-subitem {
	display: block;
}
.navbar-sublink {
	display: block;
	padding: 0.6rem 1.4rem;
	color: var(--ink);
	text-decoration: none;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	transition: background 0.2s ease, color 0.2s ease;
}
.navbar-sublink:hover {
	background: rgba(120, 185, 230, 0.16);
	color: var(--blue-deep);
}

/* ===================================================================
   Inner-page hero banner (blog index, archive, search, single, 404, page)
   =================================================================== */
.page-hero,
.single-hero {
	position: relative;
	overflow: hidden;
	padding: 12rem 1.5rem 4.5rem;
	text-align: center;
	background:
		radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 255, 255, 0.6) 0%, transparent 55%),
		radial-gradient(ellipse 60% 50% at 15% 80%, rgba(120, 185, 230, 0.22) 0%, transparent 55%),
		linear-gradient(165deg, var(--page-top) 0%, var(--page-mid) 55%, var(--blue-soft) 100%);
	border-bottom: 1px solid rgba(100, 160, 200, 0.2);
}
.page-hero-inner,
.single-hero-inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	z-index: 2;
}
.page-hero-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 460px;
	height: 460px;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(120, 185, 230, 0.28) 0%, transparent 70%);
	filter: blur(40px);
	z-index: -1;
	pointer-events: none;
}
.page-hero-title,
.single-hero-title {
	font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.1;
	margin-bottom: 1.2rem;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.page-hero-line {
	width: 90px;
	height: 3px;
	margin: 0 auto 1.4rem;
	background: linear-gradient(90deg, transparent, var(--blue-deep), transparent);
	border-radius: 2px;
}
.page-hero-subtitle {
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--ink-soft);
	max-width: 640px;
	margin: 0 auto 1.4rem;
}
.page-hero-breadcrumb {
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.page-hero-breadcrumb a {
	color: var(--blue-deep);
	text-decoration: none;
	transition: color 0.2s ease;
}
.page-hero-breadcrumb a:hover {
	color: var(--ink);
}
.page-hero-breadcrumb .sep {
	margin: 0 0.5rem;
	opacity: 0.6;
}
.particles-container--mini {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* ===================================================================
   Blog layout (content + sidebar)
   =================================================================== */
.blog-main {
	max-width: 1240px;
	margin: 0 auto;
	padding: 4rem 1.5rem 6rem;
}
.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 3rem;
	align-items: start;
}
.blog-content {
	min-width: 0;
}

/* Cards grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}
.blog-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Blog card — mirrors retail-book-card */
.blog-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(100, 160, 200, 0.28);
	background: linear-gradient(155deg, var(--surface) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(238, 248, 255, 0.92) 100%);
	backdrop-filter: blur(12px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 18px 40px -16px var(--shadow-deep);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7) inset, 0 28px 55px -18px var(--shadow-deep);
	border-color: rgba(82, 153, 201, 0.5);
}
.blog-card-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, var(--blue-soft), var(--blue-mid));
}
.blog-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-thumb img {
	transform: scale(1.06);
}
.blog-card-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 2.6rem;
	color: rgba(255, 255, 255, 0.8);
}
.blog-card-cat {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 0.3rem 0.8rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--blue-deep);
	border-radius: 999px;
	box-shadow: 0 6px 16px -6px rgba(25, 70, 100, 0.5);
}
.blog-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.6rem 1.5rem 1.8rem;
	flex: 1;
}
.blog-card-meta,
.single-hero-meta,
.related-posts .blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.78rem;
	color: var(--ink-soft);
}
.post-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.post-meta-item i {
	color: var(--blue-deep);
}
.blog-card-title {
	font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	font-size: 1.3rem;
	line-height: 1.3;
	font-weight: 700;
}
.blog-card-title a {
	color: var(--ink);
	text-decoration: none;
	transition: color 0.25s ease;
}
.blog-card-title a:hover {
	color: var(--blue-deep);
}
.blog-card-excerpt {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--ink-soft);
	flex: 1;
}
.blog-card-readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
	transition: gap 0.25s ease, color 0.25s ease;
}
.blog-card-readmore:hover {
	gap: 0.9rem;
	color: var(--blue-deep);
}
.blog-card--empty {
	padding: 2rem;
}

/* ===================================================================
   Pagination
   =================================================================== */
.pagination {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}
.pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(100, 160, 200, 0.4);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.25s ease;
}
.pagination .page-numbers:hover {
	border-color: var(--blue-deep);
	color: var(--blue-deep);
	transform: translateY(-2px);
}
.pagination .page-numbers.current {
	background: var(--blue-deep);
	border-color: var(--blue-deep);
	color: #fff;
}
.pagination .page-numbers.dots {
	border: none;
	background: transparent;
}

/* ===================================================================
   Sidebar widgets
   =================================================================== */
.blog-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	position: sticky;
	top: 110px;
}
.widget {
	padding: 1.6rem 1.5rem;
	border-radius: 16px;
	border: 1px solid rgba(100, 160, 200, 0.28);
	background: linear-gradient(155deg, var(--surface) 0%, rgba(255, 255, 255, 0.95) 100%);
	box-shadow: 0 14px 34px -18px var(--shadow-deep);
}
.widget-title {
	font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 1.1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid rgba(100, 160, 200, 0.25);
}
.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.widget ul a {
	color: var(--ink-soft);
	text-decoration: none;
	transition: color 0.2s ease;
}
.widget ul a:hover {
	color: var(--blue-deep);
}
.widget-recent-item a {
	display: flex;
	gap: 0.8rem;
	align-items: center;
}
.widget-recent-thumb {
	flex: 0 0 56px;
}
.widget-recent-thumb img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
}
.widget-recent-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.widget-recent-title {
	font-size: 0.9rem;
	color: var(--ink);
	line-height: 1.35;
}
.widget-recent-date {
	font-size: 0.74rem;
	color: var(--ink-soft);
}
.widget_tag_cloud .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.widget_tag_cloud a,
.tagcloud a {
	display: inline-block;
	padding: 0.35rem 0.8rem;
	background: rgba(120, 185, 230, 0.16);
	border: 1px solid rgba(100, 160, 200, 0.3);
	border-radius: 999px;
	font-size: 0.78rem !important;
	color: var(--ink);
	text-decoration: none;
	transition: all 0.2s ease;
}
.widget_tag_cloud a:hover,
.tagcloud a:hover {
	background: var(--blue-deep);
	color: #fff;
	border-color: var(--blue-deep);
}
.widget select {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border-radius: 10px;
	border: 1px solid rgba(100, 160, 200, 0.4);
	background: var(--surface);
	color: var(--ink);
	font-family: inherit;
}

/* ===================================================================
   Search form
   =================================================================== */
.tk-search-form {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
}
.tk-search-field {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(100, 160, 200, 0.4);
	background: var(--surface);
	color: var(--ink);
	font-family: inherit;
	font-size: 0.95rem;
}
.tk-search-field:focus {
	outline: none;
	border-color: var(--blue-deep);
	box-shadow: 0 0 0 3px rgba(82, 153, 201, 0.2);
}
.tk-search-submit {
	flex: 0 0 auto;
	width: 48px;
	border: none;
	border-radius: 999px;
	background: var(--blue-deep);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.tk-search-submit:hover {
	background: var(--ink);
	transform: translateY(-2px);
}

/* ===================================================================
   Single post
   =================================================================== */
.single-hero-meta-top {
	margin-bottom: 1rem;
}
.single-hero-cat {
	display: inline-block;
	padding: 0.35rem 1rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--blue-deep);
	border-radius: 999px;
	text-decoration: none;
}
.single-hero-meta {
	justify-content: center;
	margin-top: 1.2rem;
	font-size: 0.85rem;
}
.single-main {
	max-width: 1240px;
	margin: 0 auto;
	padding: 3.5rem 1.5rem 6rem;
}
.single-featured-image {
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 2.5rem;
	box-shadow: 0 24px 55px -22px var(--shadow-deep);
}
.single-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Long-form typography */
.entry-content {
	font-family: 'Libre Baskerville', Georgia, serif;
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--ink);
}
.entry-content > * + * {
	margin-top: 1.4rem;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	color: var(--ink);
	line-height: 1.25;
	margin-top: 2.4rem;
	margin-bottom: 0.4rem;
}
.entry-content h2 { font-size: 1.9rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.2rem; }
.entry-content a {
	color: var(--blue-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--ink); }
.entry-content img,
.entry-content iframe,
.entry-content video {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}
.entry-content figure { margin: 2rem 0; }
.entry-content figcaption {
	text-align: center;
	font-size: 0.85rem;
	color: var(--ink-soft);
	margin-top: 0.5rem;
}
.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.2rem 1.8rem;
	border-left: 4px solid var(--blue-deep);
	background: rgba(120, 185, 230, 0.12);
	border-radius: 0 14px 14px 0;
	font-style: italic;
	color: var(--ink);
}
.entry-content ul,
.entry-content ol {
	padding-left: 1.4rem;
}
.entry-content li { margin-top: 0.5rem; }
.entry-content pre {
	background: #0f1726;
	color: #e8f0fb;
	padding: 1.2rem 1.4rem;
	border-radius: 14px;
	overflow-x: auto;
	font-size: 0.9rem;
}
.entry-content code {
	background: rgba(120, 185, 230, 0.18);
	padding: 0.15rem 0.4rem;
	border-radius: 6px;
	font-size: 0.92em;
}
.entry-content pre code { background: none; padding: 0; }
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6rem 0;
}
.entry-content th,
.entry-content td {
	border: 1px solid rgba(100, 160, 200, 0.3);
	padding: 0.7rem 1rem;
	text-align: left;
}
.entry-content th { background: rgba(120, 185, 230, 0.15); }

.page-links {
	margin-top: 2rem;
	display: flex;
	gap: 0.5rem;
	align-items: center;
}
.page-links a,
.page-links > span {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid rgba(100, 160, 200, 0.4);
}

/* Tags */
.single-tags-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
	margin-top: 2.5rem;
	padding-top: 1.6rem;
	border-top: 1px solid rgba(100, 160, 200, 0.25);
}
.single-tags-label {
	font-weight: 700;
	color: var(--ink);
}
.single-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.single-tags a {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	background: rgba(120, 185, 230, 0.16);
	border: 1px solid rgba(100, 160, 200, 0.3);
	border-radius: 999px;
	font-size: 0.8rem;
	color: var(--ink);
	text-decoration: none;
	transition: all 0.2s ease;
}
.single-tags a:hover {
	background: var(--blue-deep);
	color: #fff;
}

/* Share */
.single-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.6rem;
}
.single-share-label {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.8rem;
	color: var(--ink-soft);
	margin-right: 0.3rem;
}
.single-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid rgba(100, 160, 200, 0.4);
	color: var(--ink);
	text-decoration: none;
	transition: all 0.25s ease;
}
.single-share-btn:hover {
	background: var(--blue-deep);
	border-color: var(--blue-deep);
	color: #fff;
	transform: translateY(-3px);
}

/* Author box */
.author-box {
	display: flex;
	gap: 1.6rem;
	align-items: flex-start;
	margin-top: 3rem;
	padding: 2rem;
	border-radius: 18px;
	border: 1px solid rgba(100, 160, 200, 0.28);
	background: linear-gradient(155deg, var(--surface) 0%, rgba(255, 255, 255, 0.95) 100%);
	box-shadow: 0 18px 40px -20px var(--shadow-deep);
}
.author-box-avatar img {
	border-radius: 50%;
	border: 3px solid rgba(120, 185, 230, 0.4);
}
.author-box-name {
	font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	font-size: 1.35rem;
	color: var(--ink);
	margin-bottom: 0.5rem;
}
.author-box-bio {
	color: var(--ink-soft);
	line-height: 1.7;
	margin-bottom: 0.8rem;
}
.author-box-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--blue-deep);
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.25s ease;
}
.author-box-link:hover { gap: 0.9rem; }

/* Prev / Next */
.single-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 3rem;
}
.single-post-nav-item a {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.4rem 1.6rem;
	border-radius: 16px;
	border: 1px solid rgba(100, 160, 200, 0.28);
	background: var(--surface);
	text-decoration: none;
	transition: all 0.25s ease;
	height: 100%;
}
.single-post-nav-item a:hover {
	border-color: var(--blue-deep);
	transform: translateY(-3px);
}
.single-post-nav-next { text-align: right; }
.single-post-nav-label {
	font-size: 0.76rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--blue-deep);
	font-weight: 700;
}
.single-post-nav-title {
	font-family: 'Playfair Display', serif;
	color: var(--ink);
	font-size: 1.05rem;
	line-height: 1.35;
}

/* Related posts */
.related-posts {
	margin-top: 3.5rem;
}
.related-posts-title,
.comments-title,
.comment-reply-title,
.error-404-recent-title {
	font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
	font-size: 1.7rem;
	color: var(--ink);
	margin-bottom: 1.6rem;
}

/* ===================================================================
   Comments
   =================================================================== */
.comments-area {
	margin-top: 3.5rem;
	padding-top: 2.4rem;
	border-top: 1px solid rgba(100, 160, 200, 0.25);
}
.comment-list {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
}
.comment-list ol.children {
	list-style: none;
	margin-top: 1.5rem;
	padding-left: 2.5rem;
}
.comment-body {
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid rgba(100, 160, 200, 0.25);
	background: var(--surface);
	margin-bottom: 1.5rem;
}
.comment-author {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.7rem;
}
.comment-author .avatar {
	border-radius: 50%;
}
.comment-author .fn {
	font-weight: 700;
	color: var(--ink);
	font-style: normal;
}
.comment-author .says { display: none; }
.comment-metadata {
	font-size: 0.78rem;
	color: var(--ink-soft);
	margin-bottom: 0.6rem;
}
.comment-metadata a { color: var(--ink-soft); text-decoration: none; }
.comment-content {
	color: var(--ink);
	line-height: 1.7;
}
.comment-content p + p { margin-top: 0.8rem; }
.reply a {
	display: inline-block;
	margin-top: 0.6rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--blue-deep);
	text-decoration: none;
}
.comment-respond {
	padding: 2rem;
	border-radius: 18px;
	border: 1px solid rgba(100, 160, 200, 0.28);
	background: linear-gradient(155deg, var(--surface) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.comment-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ink);
}
.comment-form p { margin-bottom: 1.1rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(100, 160, 200, 0.4);
	background: #fff;
	color: var(--ink);
	font-family: inherit;
	font-size: 0.95rem;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--blue-deep);
	box-shadow: 0 0 0 3px rgba(82, 153, 201, 0.2);
}
.comment-form .form-submit input,
.comment-form input[type="submit"] {
	width: auto;
	cursor: pointer;
	background: var(--gold);
	color: #fff;
	border: 1px solid var(--gold);
	border-radius: 9999px;
	padding: 0.9rem 2.4rem;
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: all 0.3s ease;
}
.comment-form .form-submit input:hover {
	background: var(--blue-deep);
	border-color: var(--blue-deep);
	transform: translateY(-2px);
}
.comment-pagination,
.comment-navigation {
	margin: 1.5rem 0;
}

/* ===================================================================
   Default page template content
   =================================================================== */
.page-article,
.single-article {
	min-width: 0;
}
.page-content-section {
	padding: 4rem 1.5rem 5rem;
}
.page-content-container {
	max-width: 820px;
	margin: 0 auto;
}
.page-featured-image {
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 2.5rem;
	box-shadow: 0 24px 55px -22px var(--shadow-deep);
}
.page-featured-image img { width: 100%; height: auto; display: block; }

/* ===================================================================
   404
   =================================================================== */
.error-404-main {
	max-width: 1000px;
	margin: 0 auto;
	padding: 4rem 1.5rem 6rem;
	text-align: center;
}
.error-404-text {
	font-size: 1.1rem;
	color: var(--ink-soft);
	margin-bottom: 2rem;
}
.error-404-search {
	max-width: 460px;
	margin: 0 auto 2rem;
}
.error-404-home {
	display: inline-block;
	text-decoration: none;
	margin-bottom: 3.5rem;
}
.error-404-recent { margin-top: 2rem; text-align: left; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
	.blog-layout {
		grid-template-columns: 1fr;
	}
	.blog-sidebar {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.blog-sidebar .widget {
		flex: 1 1 280px;
	}
	.blog-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 680px) {
	.page-hero,
	.single-hero {
		padding: 9.5rem 1.2rem 3.5rem;
	}
	.blog-grid,
	.blog-grid--related {
		grid-template-columns: 1fr;
	}
	.single-post-nav {
		grid-template-columns: 1fr;
	}
	.single-post-nav-next { text-align: left; }
	.author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.blog-sidebar { flex-direction: column; }
}

/* ===================================================================
   WordPress admin-bar offset — keep the fixed navbar below the
   logged-in admin bar so it isn't glued to the very top corner.
   =================================================================== */
.admin-bar .navbar {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .navbar {
		top: 46px;
	}
}
/* A touch more breathing room at the very top of the page hero banners. */
.admin-bar .page-hero,
.admin-bar .single-hero {
	padding-top: 13rem;
}
