/*
 * A Gamer's View - Standalone Website Stylesheet
 * Custom CSS Design System: Autoneum Acoustics Dark Theme Integration
 */

/* 1. Google Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Oxanium:wght@600;700;800&family=Share+Tech+Mono&display=swap');

/* 2. Core Variables */
:root {
	--bg-primary: #0B0F1A;
	/* Clinical darkest void */
	--bg-secondary: #1B2A41;
	/* Calm slate blue */
	--text-primary: #CAF0F8;
	/* Ice starlight */
	--text-muted: #90E0EF;
	/* Light calm blue */
	--accent-red: #00B4D8;
	/* Glowing futuristic cyan */
	--accent-rgb: 0, 180, 216;
	/* RGB values for accent alpha */
	--border-color: rgba(0, 180, 216, 0.25);
	/* Clean border lines */
	--font-heading: 'Oxanium', sans-serif;
	--font-body: 'Plus Jakarta Sans', sans-serif;
	--font-mono: 'Share Tech Mono', monospace;
}

/* 3. Global Resets & Layout */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	background-color: var(--bg-primary);
}

/* Page fade-in transition on loading */
@keyframes bodyFadeIn {
	to {
		opacity: 1;
	}
}

body {
	background: var(--bg-primary);
	background: 
		radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
		radial-gradient(circle at center, #1B2A41 0%, #0B0F1A 100%);
	/* Clinical dark blue to black void with golden ambient corners */
	color: var(--text-primary);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;

	/* Page transition */
	opacity: 0;
	animation: bodyFadeIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

a {
	color: inherit;
	text-decoration: none;
}

.text-cyan {
	color: var(--accent-red);
	font-weight: 500;
}

.text-cyan:hover {
	text-decoration: underline;
}

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

/* 4. Sticky Grid Nav Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--bg-primary);
	border-bottom: 1px solid rgba(212, 175, 55, 0.12);
	padding: 0;
}

.header-nav {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
	width: 100%;
}

.nav-col {
	padding: 1.5rem 2rem;
	border-right: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	font-size: 0.9rem;
}

.nav-col:last-child {
	border-right: none;
}

.col-logo h1 {
	margin: 0;
}

.logo-title,
.col-logo a {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}

.col-links {
	display: flex;
	gap: 2.5rem;
}

.col-socials {
	display: flex;
	gap: 1.5rem;
}

.col-location {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	justify-content: flex-end;
}

/* Zajno Link Animations */
.nav-item {
	position: relative;
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	color: var(--text-primary);
	letter-spacing: 0.05em;
	padding: 0.2rem 0;
	transition: color 0.3s ease;
}

.nav-item:hover {
	color: #D4AF37 !important;
}

.nav-item.active {
	color: var(--accent-red);
}

.nav-item .li-line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #D4AF37;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover .li-line,
.nav-item.active .li-line {
	transform: scaleX(1);
	transform-origin: left;
}

/* 5. Main Wrapper */
.main-content {
	flex-grow: 1;
	width: 100%;
}

/* 6. Zajno Hero Header Panel */
.hero-section {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0;
}

.hero-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0;
}

.hero-text-panel {
	padding: 6rem 2rem 5rem 2rem;
	display: flex;
	flex-direction: column;
}

.panel-header h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-arrow {
	color: var(--accent-red);
}

.hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2.4rem, 2.4rem + 2.5vw, 5.5rem);
	color: var(--text-primary);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.95;
	margin: 2rem 0;
}

.hero-lead {
	font-size: clamp(1.15rem, 1.15rem + 0.2vw, 1.45rem);
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	color: var(--text-primary);
	max-width: 900px;
}

.hero-description {
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 800px;
}

.hero-footer-year {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 4rem;
}

/* 7. Database Rows Section */
.database-section {
	padding: 0;
	margin: 0;
	max-width: 100%;
}

.grid-line-h {
	height: 1px;
	background-color: rgba(255, 255, 255, 0.08);
	width: 100%;
}

.section-header {
	max-width: 1300px;
	margin: 0 auto;
	padding: 4.5rem 2rem 2.5rem 2rem;
}

.section-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Zajno Post list structure */
/* Zajno Post list structure as a clean, minimalist 2-column image grid */
.post-rows-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
	padding: 3rem 2rem;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
	.post-rows-list {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2rem 1.5rem;
	}
}

.post-grid-card {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	background: var(--bg-primary);
	transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.post-grid-card:hover {
	border-color: #D4AF37;
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.08);
}

.post-card-link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	text-decoration: none;
	overflow: hidden;
}

.card-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(15%) brightness(0.9);
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.post-grid-card:hover .card-bg-img {
	transform: scale(1.04);
	filter: grayscale(0%) brightness(0.4);
}

/* Hover overlay containing metadata and titles */
.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(11, 15, 26, 0.3) 0%, rgba(11, 15, 26, 0.9) 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	z-index: 2;
}

.post-grid-card:hover .card-overlay {
	opacity: 1;
	transform: translateY(0);
}

.card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
}

.card-no {
	color: #D4AF37;
	font-weight: 700;
}

.card-content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.card-title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.2;
}

.card-excerpt {
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 8. Article Reader Layout */
.article-container,
.about-container {
	max-width: 1150px;
	margin: 0 auto;
	padding: 5rem 2rem 7rem 2rem;
}

.return-btn {
	background: transparent;
	border: 1px solid var(--accent-red);
	border-radius: 0px;
	color: var(--accent-red);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	padding: 0.6rem 1.4rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 4rem;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.return-btn:hover {
	background: var(--accent-red);
	color: var(--bg-primary);
	transform: translateX(-4px);
}

.full-article {
	margin-bottom: 6rem;
}

.article-header {
	background: var(--bg-primary);
	border-bottom: 1px solid var(--text-primary);
	padding: 2.5rem 2rem;
	margin-bottom: 4rem;
	text-align: left;
	border-radius: 6px;
	box-shadow: 0 15px 35px rgba(11, 15, 26, 0.22);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-header:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 45px rgba(11, 15, 26, 0.32);
}

.article-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 2rem + 1.2vw, 3.4rem);
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 1.5rem;
}

.article-meta-badge {
	font-family: var(--font-mono);
	color: var(--text-muted);
	font-size: 0.8rem;
	background: transparent;
	border: 1px solid var(--text-primary);
	padding: 0.4rem 1.2rem;
	border-radius: 0px;
	display: inline-flex;
	align-items: center;
	letter-spacing: 0.05em;
}

.meta-prefix {
	color: var(--text-muted);
}

.meta-author-prefix {
	color: var(--text-primary);
}

.meta-separator {
	color: rgba(255, 255, 255, 0.15);
	margin: 0 0.5rem;
}

.meta-date,
.meta-author {
	color: var(--text-primary);
	font-weight: bold;
}

.article-banner {
	width: 100%;
	aspect-ratio: 21/9;
	border-radius: 0px;
	overflow: hidden;
	border: 1px solid var(--text-primary);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35);
	margin-bottom: 4rem;
}

.article-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-body {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #e2e8f0;
	/* Crisp slate-white for legibility on dark background */
}

.article-body p {
	margin-bottom: 1.75rem;
}

.article-body h2 {
	font-family: var(--font-heading);
	color: var(--text-primary);
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 3.5rem 0 1.25rem 0;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.5rem;
}

.article-body blockquote {
	border-left: 3px solid var(--accent-red);
	background: rgba(var(--accent-rgb), 0.05);
	/* Twilight orchid opacity */
	padding: 1rem 1.5rem;
	margin: 2.5rem 0;
	font-style: italic;
	color: var(--text-primary);
}



/* 11. Footer Design */
.site-footer {
	background: transparent;
	border-top: 1px solid rgba(212, 175, 55, 0.12);
	padding: 4rem 0 2rem 0;
	color: var(--text-muted);
	margin-top: 7rem;
}

.footer-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	width: 100%;
}

.footer-logo {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--text-primary);
	letter-spacing: -0.01em;
	display: block;
	margin-bottom: 0.5rem;
}

.footer-tagline {
	font-size: 0.85rem;
	line-height: 1.5;
	max-width: 300px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
	display: flex;
	gap: 1.5rem;
}

.footer-copy-text {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
}

.footer-contact {
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.footer-contact a {
	color: var(--text-primary);
	font-weight: bold;
}

.footer-contact a:hover {
	color: var(--accent-red);
}

.footer-powered {
	font-size: 0.8rem;
}

.footer-bottom {
	max-width: 1300px;
	margin: 3.5rem auto 0 auto;
	padding: 1.5rem 2rem 0 2rem;
	border-top: 1px solid var(--border-color);
	font-size: 0.75rem;
	text-align: left;
	font-family: var(--font-mono);
}

/* 12. Responsive Grid Overrides */
@media (max-width: 1024px) {
	.header-nav {
		grid-template-columns: 1.5fr 1.5fr 1fr;
	}

	.col-socials,
	.col-location {
		display: none;
		/* Hide location on tablet */
	}
}

@media (max-width: 968px) {
	.hero-container {
		padding: 0 1.5rem;
	}

	.post-row-link {
		grid-template-columns: 50px 1fr 180px;
		gap: 2rem;
	}

	.row-meta-col {
		display: none;
		/* Hide metadata column on tablet lists */
	}

	.footer-container {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 600px) {
	.header-nav {
		grid-template-columns: 1fr 1fr;
	}

	.col-links {
		justify-content: flex-end;
		gap: 1.5rem;
	}

	.hero-text-panel {
		padding: 4rem 1rem;
	}

	.post-row-link {
		padding: 2rem 1rem;
		grid-template-columns: 35px 1fr;
	}

	.row-media-col {
		display: none;
		/* Hide image column on small phone screen layout */
	}

	.article-title {
		font-size: 1.85rem;
	}
}

/* Dynamic Background Canvas Overlay for Continuous Cursor Trail */
#bg-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
}

/* Ensure layout content remains layered above background waves */
.site-header,
.main-content,
.site-footer {
	position: relative;
	z-index: 1;
}

/* Reference Block Styling for clinical futuristic theme */
.reference-block {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-muted);
	border-left: 2px solid var(--accent-red);
	padding-left: 1rem;
	margin: 1.25rem 0;
	line-height: 1.5;
}

/* Inline image styling to match clinical theme */
.article-inline-image {
	width: 100%;
	margin: 2.5rem 0;
	border: 1px solid var(--text-primary);
	padding: 12px;
	background: var(--bg-primary);
	box-shadow: 0 12px 36px rgba(11, 15, 26, 0.15);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-inline-image:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 48px rgba(11, 15, 26, 0.25);
}

.article-inline-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Light Theme Overrides for Post Reading Pages */
body.post-template {
	background: #0B0F1A !important;
	background: 
		radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
		radial-gradient(circle at center, #1B2A41 0%, #0B0F1A 100%) !important;
	color: #0B0F1A !important;
}

body.post-template::before {
	display: none;
	/* remove gradient overlay if any */
}

/* Float the article container as a premium card over the dark background */
.post-template .article-container {
	max-width: 960px;
	margin: 5rem auto !important;
	background: #FAF8F2 !important;
	border: 1px solid rgba(0, 180, 216, 0.25) !important;
	border-radius: 8px !important;
	box-shadow: 0 0 60px rgba(255, 255, 255, 0.25), 0 25px 70px rgba(212, 175, 55, 0.18) !important;
	padding: 5rem 3.5rem !important;
	position: relative;
	z-index: 2;
}

@media (max-width: 1024px) {
	.post-template .article-container {
		margin: 2rem 1.5rem !important;
		padding: 3rem 2rem !important;
	}
}

@media (max-width: 600px) {
	.post-template .article-container {
		margin: 1.5rem 0.8rem !important;
		padding: 2.5rem 1.25rem !important;
	}
	.post-template .article-title {
		font-size: 2.0rem !important;
	}
	.post-template .article-meta-badge {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.5rem !important;
		padding: 0.75rem 1rem !important;
	}
	.post-template .meta-separator {
		display: none !important;
	}
	.post-navigation-wrapper {
		flex-direction: column;
		gap: 1.25rem;
	}
}



/* Article element overrides */
.post-template .return-btn {
	border: 1px solid #0B0F1A !important;
	color: #0B0F1A !important;
}

.post-template .return-btn:hover {
	background: #0B0F1A !important;
	color: #D4AF37 !important;
	border-color: #D4AF37 !important;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15) !important;
}

.post-template .article-title {
	font-size: 2.75rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	color: var(--text-primary) !important;
	margin-bottom: 0.5rem !important;
}

.post-template .article-meta-badge {
	color: var(--text-muted) !important;
	border: 1px solid var(--border-color) !important;
}

/* Category tag pills with shadows */
.article-tags {
	margin-top: 1.25rem;
}

.post-category-tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	background: var(--accent-red) !important;
	color: var(--bg-primary) !important;
	padding: 0.35rem 0.8rem !important;
	border-radius: 4px !important;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25) !important;
	letter-spacing: 0.05em;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
	cursor: pointer;
}

.post-category-tag:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45) !important;
	background: #D4AF37 !important;
}

.post-template .meta-date,
.post-template .meta-author {
	color: var(--text-primary) !important;
}

.post-template .meta-prefix,
.post-template .meta-author-prefix {
	color: var(--text-muted) !important;
}

.post-template .article-body p {
	color: #1B2A41 !important;
	font-family: 'Lora', serif !important;
	font-size: 1.05rem !important;
	line-height: 1.75 !important;
	transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease !important;
	position: relative;
	border-radius: 4px;
	padding: 0.5rem 1rem;
	margin: 1.5rem -1rem;
}

.post-template .article-body p:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.05) !important;
	background: rgba(212, 175, 55, 0.04) !important;
}

.post-template .article-body h2 {
	font-size: 1.6rem !important;
	font-weight: 600 !important;
	color: #0B0F1A !important;
	letter-spacing: -0.01em !important;
	border-bottom: 1px solid rgba(11, 15, 26, 0.1) !important;
	padding-bottom: 0.5rem !important;
	margin-top: 4rem !important;
	transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease !important;
	position: relative;
	border-radius: 4px;
}

.post-template .article-body h2:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.05) !important;
	background: rgba(212, 175, 55, 0.04) !important;
	padding: 0.5rem 1rem !important;
}

/* Post list formatting */
.post-template .article-body ul,
.post-template .article-body ol {
	margin: 1.5rem 0 1.5rem 1.5rem !important;
	padding-left: 0.5rem !important;
	font-family: 'Lora', serif !important;
	font-size: 1.05rem !important;
	line-height: 1.75 !important;
	color: #1B2A41 !important;
}

.post-template .article-body li {
	margin-bottom: 0.75rem !important;
	line-height: 1.75 !important;
}

.post-template .article-body ul {
	list-style: none !important;
}

.post-template .article-body ul li {
	position: relative !important;
	padding-left: 1.25rem !important;
}

.post-template .article-body ul li::before {
	content: "•" !important;
	color: #D4AF37 !important;
	font-size: 1.2rem !important;
	position: absolute !important;
	left: 0 !important;
	top: -0.1rem !important;
	font-weight: bold !important;
}

.post-template .article-body ol {
	list-style-type: decimal !important;
}

.post-template .article-body ol li::marker {
	color: #D4AF37 !important;
	font-weight: bold !important;
	font-family: var(--font-mono) !important;
}

.post-template blockquote {
	background: rgba(255, 255, 255, 0.75) !important;
	border-left: 3px solid #D4AF37 !important;
	color: #0B0F1A !important;
	font-family: 'Lora', serif !important;
	font-size: 1.1rem !important;
	line-height: 1.7 !important;
	box-shadow: 0 10px 28px rgba(212, 175, 55, 0.05) !important;
	border-radius: 4px !important;
	padding: 1.5rem 2rem !important;
	margin: 2.5rem 0 !important;
	transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.post-template blockquote:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 18px 36px rgba(212, 175, 55, 0.08) !important;
}

.post-template .reference-block {
	color: #1B2A41 !important;
	border-left: 2px solid rgba(11, 15, 26, 0.15) !important;
	font-family: 'Lora', serif !important;
	word-break: break-word !important;
	overflow-wrap: break-word !important;
}

.post-template .reference-link {
	color: #00B4D8 !important;
	text-decoration: none !important;
	border-bottom: 1px dashed rgba(0, 180, 216, 0.4) !important;
	transition: color 0.25s ease, border-color 0.25s ease !important;
	word-break: break-all !important;
}

.post-template .reference-link:hover {
	color: #D4AF37 !important;
	border-bottom: 1px solid #D4AF37 !important;
}

.post-template .article-inline-image {
	border: 1px solid rgba(11, 15, 26, 0.1) !important;
	background: #ffffff !important;
	box-shadow: 0 16px 38px rgba(11, 15, 26, 0.2) !important;
	transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.post-template .article-inline-image:hover {
	transform: translateY(-3px) !important;
	border-color: rgba(212, 175, 55, 0.35) !important;
	box-shadow: 0 24px 50px rgba(11, 15, 26, 0.2), 0 0 20px rgba(212, 175, 55, 0.1) !important;
}

/* Footer customization */
.post-template .site-footer {
	background: #0B0F1A !important;
	border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
	color: var(--text-muted) !important;
}

.post-template .site-footer .grid-line-h {
	background: var(--border-color) !important;
}

.post-template .footer-contact,
.post-template .footer-contact a {
	color: var(--text-muted) !important;
}

.post-template .footer-links a {
	color: var(--text-primary) !important;
}

/* List element styling inside articles */
.article-body ul,
.article-body ol {
	margin: 2rem 0;
	padding-left: 2.5rem;
}

.article-body li {
	margin-bottom: 0.85rem;
	line-height: 1.7;
}

.post-template .article-body li {
	color: #1B2A41 !important;
	font-family: 'Lora', serif !important;
	font-size: 1.05rem !important;
	line-height: 1.7 !important;
	transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease !important;
	position: relative;
	border-radius: 4px;
	padding: 0.3rem 0.8rem;
	margin-left: -0.8rem;
}

.post-template .article-body li:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.05) !important;
	background: rgba(212, 175, 55, 0.04) !important;
}

/* Floating return to homepage button */
.floating-home-btn {
	position: fixed;
	bottom: 2.5rem;
	right: 2.5rem;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: #0B0F1A;
	border: 1px solid rgba(212, 175, 55, 0.25);
	border-radius: 50px;
	padding: 0.8rem 1.4rem;
	color: var(--text-primary);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.12);
	transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		color 0.3s ease;
}

.floating-home-btn:hover {
	transform: translateY(-4px);
	border-color: #D4AF37;
	color: #D4AF37;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.25);
}

.floating-home-btn .btn-icon {
	font-size: 0.95rem;
	line-height: 1;
	transition: transform 0.3s ease;
}

.floating-home-btn:hover .btn-icon {
	transform: translateX(-4px);
}

/* Next/Prev Post Navigation */
.post-navigation-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 2rem;
	margin-top: 5rem !important;
	border-top: 1px solid rgba(11, 15, 26, 0.1) !important;
	padding-top: 2.5rem !important;
}

.nav-prev-link,
.nav-next-link {
	flex: 1;
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	padding: 1.5rem !important;
	border: 1px solid rgba(11, 15, 26, 0.1) !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.3) !important;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
}

.nav-prev-link {
	align-items: flex-start;
}

.nav-next-link {
	align-items: flex-end;
}

.nav-spacer {
	flex: 1;
}

.nav-prev-link:hover,
.nav-next-link:hover {
	transform: translateY(-3px) !important;
	border-color: #D4AF37 !important;
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.08) !important;
	background: rgba(255, 255, 255, 0.55) !important;
}

.nav-direction {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--accent-red) !important;
	margin-bottom: 0.5rem;
	transition: color 0.3s ease;
}

.nav-prev-link:hover .nav-direction,
.nav-next-link:hover .nav-direction {
	color: #D4AF37 !important;
}

.nav-post-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	color: #0B0F1A !important;
}

/* Local PDF Page Pagination Styles */
.pdf-page-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 4.5rem 0 2rem 0 !important;
	padding: 1.25rem !important;
	background: rgba(11, 15, 26, 0.02) !important;
	border: 1px dashed rgba(11, 15, 26, 0.15) !important;
	border-radius: 0px !important;
}

.pdf-page-btn {
	background: transparent !important;
	border: 1px solid #0B0F1A !important;
	color: #0B0F1A !important;
	padding: 0.6rem 1.4rem !important;
	font-family: var(--font-mono) !important;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	border-radius: 0px !important;
	box-shadow: none !important;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.pdf-page-btn:hover:not(:disabled) {
	background: #0B0F1A !important;
	color: #D4AF37 !important;
	border-color: #D4AF37 !important;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15) !important;
}

#pdf-prev-btn:hover:not(:disabled) {
	transform: translateX(-4px) !important;
}

#pdf-next-btn:hover:not(:disabled) {
	transform: translateX(4px) !important;
}

.pdf-page-btn:disabled {
	opacity: 0.25 !important;
	background: transparent !important;
	color: rgba(11, 15, 26, 0.3) !important;
	border-color: rgba(11, 15, 26, 0.2) !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
	transform: none !important;
}

.pdf-page-indicator {
	font-family: var(--font-mono) !important;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	color: #0B0F1A !important;
	background: transparent !important;
	padding: 0.6rem 1.4rem !important;
	border-radius: 0px !important;
	border: 1px dashed rgba(11, 15, 26, 0.2) !important;
	letter-spacing: 0.05em !important;
}
