/* RESET / BASE */
* {
	/*box-sizing: border-box;*/
}

/* LAYOUT */
.layout {
	display: flex;
	gap: 24px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 24px;
}

/* SIDEBAR */
.blog-sidebar {
	width: 260px;
	background: #ffffff;
	padding: 20px;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.blog-sidebar h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
}

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

.blog-sidebar li {
	margin-bottom: 8px;
}

.blog-sidebar a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: #374151;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.blog-sidebar a:hover {
	background: #eef2ff;
	color: #4338ca;
}

/* MAIN */
.main {
	flex: 1;
	max-width: 1200px;
}

/* HEADER */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.header h1 {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
}

.header button {
	background: #eef2ff;
	border: 0;
	padding: 8px 14px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	color: #4338ca;
	transition: background .2s;
}

.header button:hover {
	background: #e0e7ff;
}

/* POSTS GRID */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 24px;
	align-items: start;
}

/* POST CARD */
.post-item {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	padding: 16px;
	min-height: 260px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 6px 20px rgba(0,0,0,.06);
	transition: transform .15s, box-shadow .15s;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.post-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05));
	z-index: 0;
}

.post-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

/* CONTENT */
.post-title,
.post-excerpt {
	position: relative;
	z-index: 1;
}

.post-title {
	font-size: 18px;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 8px;
	line-height: 1.25;
	max-height: 3.2em;
	overflow: hidden;
}

.post-excerpt {
	font-size: 14px;
	color: #e5e7eb;
	max-height: 4.2em;
	overflow: hidden;
}

/* EMPTY CARD */
.post-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 46px;
	color: #9ca3af;
	border: 2px dashed #d1d5db;
	border-radius: 16px;
	cursor: pointer;
	background: transparent;
	transition: background .2s, color .2s;
	min-height: 260px;
}

.post-empty:hover {
	background: #eef2ff;
	color: #4338ca;
}

/* DRAFT */
.post-item.is-draft {
	opacity: .55;
}

/* STATUS LABEL */
.post-status {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 999px;
	z-index: 2;
	background: rgba(255,255,255,.9);
}

.post-status.is-draft {
	color: #991b1b;
	background: #fee2e2;
}

.post-status.is-published {
	color: #065f46;
	background: #d1fae5;
}

/* UTILS */
.dragging {
	opacity: .5;
}

.section-disabled {
	opacity: .4;
	pointer-events: none;
}

.section-block
{
	display:grid;
}
@media (max-width: 995px)
{
	.navigation_line{padding: 0 0.5em 2em 1em;}
}