/* Synced posts metadata layout */
.ngital-post-meta-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid #f1f5f9;
}

.ngital-post-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: #64748b;
	background: #f8fafc;
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
}

.ngital-post-meta-item svg {
	color: #94a3b8;
}

/* Source Attribution line */
.ngital-source-attribution {
	margin-top: 3em !important;
	padding-top: 1.5em !important;
	border-top: 1px solid #e2e8f0 !important;
	font-size: 0.75rem !important;
	color: #94a3b8 !important;
	font-style: italic !important;
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
}

.ngital-source-attribution a {
	color: #475569 !important;
	text-decoration: underline !important;
	font-weight: 500 !important;
	transition: color 0.2s ease !important;
}

.ngital-source-attribution a:hover {
	color: #0284c7 !important;
}

/* Beautiful responsive tables (Tiptap styled) */
table.ngital-synced-table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-collapse: collapse;
	margin: 2em 0;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

table.ngital-synced-table th,
table.ngital-synced-table td {
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	text-align: left;
	font-size: 0.9rem;
	line-height: 1.5;
}

table.ngital-synced-table th {
	background-color: #f8fafc;
	font-weight: 600;
	color: #1e293b;
}

table.ngital-synced-table tr:nth-child(even) {
	background-color: #f8fafc;
}

/* Lists styling inside blog content */
.entry-content ul,
.post-content ul {
	list-style-type: disc !important;
	margin-left: 20px !important;
	margin-bottom: 20px !important;
}

.entry-content ol,
.post-content ol {
	list-style-type: decimal !important;
	margin-left: 20px !important;
	margin-bottom: 20px !important;
}

.entry-content li,
.post-content li {
	margin-bottom: 8px !important;
	line-height: 1.6 !important;
}

/* Content headings */
.entry-content h2,
.post-content h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-top: 1.8em;
	margin-bottom: 0.8em;
	color: #0f172a;
	line-height: 1.3;
}

.entry-content h3,
.post-content h3 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-top: 1.6em;
	margin-bottom: 0.8em;
	color: #1e293b;
	line-height: 1.3;
}

.entry-content p,
.post-content p {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #334155;
	margin-bottom: 1.5em;
}

/* Mobile responsiveness adjustments */
@media screen and (max-width: 768px) {
	.entry-content h2,
	.post-content h2 {
		font-size: 1.5rem;
	}

	.entry-content h3,
	.post-content h3 {
		font-size: 1.25rem;
	}

	.entry-content p,
	.post-content p {
		font-size: 1rem;
	}
	
	table.ngital-synced-table th,
	table.ngital-synced-table td {
		padding: 8px 12px;
	}
}
