/*
Theme Name: llight
Author: dimontrail
Version: 1.0
Description: Super Light Wordpress Theme.
Text Domain: llight
*/


:root {
	--color-bg: #fff;
	--color-text: #222;
	--color-muted: #6a7484;
	--color-accent: #0033cc;
	--color-accent-hover: #003ecc;
	--color-header-bg: #9134e0;
	--color-header-hover: #f0f0f0;
	--color-divider: #e2e2e2;
	--color-meta: #888;
	--color-footer: #f9f9f9;
	--color-footer-border: #eee;
	--color-footer-text: #333;
	--color-border: #ddd;
	--font-main: 'Segoe UI', Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html, body {
	max-width: 100%;
	overflow-x: hidden;
	margin: 0;
}

body {
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

a {
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 400;
}
a:hover {
	color: var(--color-accent-hover);
	text-decoration: underline;
}

.container {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 1rem;
}

.container-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-header {
	margin-bottom: 1rem;
	background: var(--color-header-bg);
	color: white;
	padding: 1rem 2rem;
	position: relative;
}

.logo a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: white;
	font-weight: bold;
	font-size: 1.25rem;
	text-decoration: none;
}
.logo img {
	height: 40px;
	width: auto;
	display: block;
}

.main-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style-type: none;
}
.main-nav a {
	color: white;
}
.main-nav a:hover {
	color: var(--color-header-hover);
	text-decoration: none;
}

main.content {
	width: 100%;
	margin: 0 auto;
}
main.content h1 {
	font-size: 2.2rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
}
main.content h2 {
	font-size: 1.5rem;
	margin: 2rem 0 1rem;
	font-weight: 600;
}
main.content p {
	color: var(--color-muted);
	font-size: 1.1rem;
	margin-bottom: 1.25rem;
}

article {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}
article:hover {
	background: #fcfcfc;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
article.with-border {
	border-bottom: 1px solid var(--color-divider);
}

.post-header h1 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}
.post-content {
	font-size: 1.1rem;
	line-height: 1.8;
}
.meta {
	color: var(--color-meta);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}
.post-tags {
	font-size: 0.95rem;
}
.post-tags a {
	color: var(--color-accent);
	margin-right: 0.5rem;
}
.post-tags a:hover {
	text-decoration: underline;
}

.breadcrumbs {
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}
.breadcrumbs a {
	color: var(--color-accent);
	text-decoration: none;
}
.breadcrumbs a:hover {
	text-decoration: underline;
	color: var(--color-accent-hover);
}
.breadcrumbs .sep {
	color: #ccc;
	font-size: 0.9em;
}

.site-footer {
	background: var(--color-footer);
	border-top: 1px solid var(--color-footer-border);
	padding: 3rem 0 1rem;
	color: var(--color-footer-text);
	font-size: 0.95rem;
}
.footer-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding-bottom: 1rem;
}
.footer-col {
	flex: 1 1 200px;
	min-width: 180px;
}
.footer-col h4 {
	font-size: 1.1rem;
	margin: 0 0 0.8rem 0;
	font-weight: 600;
	color: #111;
}
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-col ul li {
	margin-bottom: 0.5rem;
}
.footer-col ul li a {
	color: var(--color-accent);
	word-break: break-word;
	white-space: normal;
}
.footer-col ul li a:hover {
	text-decoration: underline;
}

.footer-bottom {
	text-align: center;
	border-top: 1px solid var(--color-footer-border);
	padding-top: 1.5rem;
	color: #777;
}

.site-title {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 1.5rem;
}

.feature-list {
	list-style: none;
	padding-left: 0;
	margin: 1rem 0 2rem;
}
.feature-list li {
	margin-bottom: 0.75rem;
	line-height: 1.5;
	font-size: 1.05rem;
	overflow-wrap: break-word;
	word-break: break-word;
}

.post-nav {
	border-top: 1px solid var(--color-border);
	padding-top: 1rem;
	font-size: 0.95rem;
}
.post-nav-inner {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}
.post-nav a {
	color: var(--color-accent);
	text-decoration: none;
}
.post-nav a:hover {
	text-decoration: underline;
	color: var(--color-accent-hover);
}

/* ───── Mobile ───── */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.menu-toggle .bar {
	width: 24px;
	height: 2px;
	background: #fff;
	display: block;
}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--color-header-bg);
		flex-direction: column;
		text-align: left;
		padding: 1rem;
		z-index: 999;
	}

	.main-nav.open {
		display: flex;
	}

	.footer-columns {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.footer-col {
		flex: unset;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.logo img {
		height: 32px;
	}
	.footer-col {
		min-width: 100%;
	}
	.feature-list li {
		font-size: 1rem;
	}
}
