/**
 * Compatoz News Editorial — Single Article, Archive, Search, Author, Page & 404 (Astryx Theme Neutral)
 *
 * @package Compatoz_News_Editorial
 */

/* Single Article */
.cne-article-wrap {
	padding-top: 24px;
}

.cne-ahead {
	font-size: clamp(1.65rem, 2.9vw, 2.45rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.028em;
	margin: 10px 0 12px;
}

.cne-adek {
	font-size: 17px;
	color: var(--cne-text-secondary);
	line-height: 1.55;
	margin-bottom: 16px;
}

.cne-ameta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-block: 12px;
	border-block: 1px solid var(--cne-border);
	margin-bottom: 20px;
}

.cne-author-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.cne-author-chip img {
	width: 38px;
	height: 38px;
	border-radius: var(--radius-full);
	object-fit: cover;
}

.cne-afigure {
	margin-bottom: 20px;
}

.cne-acaption {
	font-size: 12.5px;
	color: var(--cne-muted);
	margin-top: 8px;
}

.cne-abody {
	font-size: var(--cne-body-desktop);
	line-height: var(--cne-body-lh);
	word-wrap: break-word;
	color: var(--color-text-primary);
}

.cne-abody p {
	margin-bottom: 18px;
}

.cne-abody h2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.02em;
	margin: 28px 0 12px;
}

.cne-abody h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	margin: 22px 0 10px;
}

.cne-abody a {
	color: var(--cne-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cne-abody a:hover {
	color: var(--cne-red-dark);
}

.cne-abody blockquote {
	margin: 22px 0;
	padding: 16px 20px;
	border-left: 3px solid var(--color-accent);
	border-radius: 0 var(--radius-container) var(--radius-container) 0;
	background-color: var(--cne-surface);
	font-weight: 500;
	color: var(--color-text-primary);
}

.cne-abody ul,
.cne-abody ol {
	padding-left: 22px;
	margin-bottom: 18px;
}

.cne-abody li {
	margin-bottom: 6px;
}

.cne-abody figure,
.cne-abody img {
	margin-block: 16px;
	border-radius: var(--radius-inner);
}

.cne-abody table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 18px;
	font-size: 14px;
}

.cne-abody th,
.cne-abody td {
	border: 1px solid var(--cne-border-strong);
	padding: 9px 12px;
	text-align: left;
}

/* Author Box (Astryx Card) */
.cne-author-box {
	display: flex;
	gap: 16px;
	background-color: var(--cne-surface);
	border: 1px solid var(--cne-border);
	border-radius: var(--radius-container);
	padding: 18px;
	margin-block: 24px;
	align-items: flex-start;
}

.cne-author-box img {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-full);
	flex-shrink: 0;
}

.cne-author-box-name {
	font-size: 16px;
	font-weight: 700;
	margin-top: 2px;
}

.cne-author-box-bio {
	font-size: 13.5px;
	color: var(--cne-text-secondary);
	margin-top: 4px;
}

/* Archive & Search Headers */
.cne-arch-hd {
	border-bottom: 1px solid var(--cne-border-strong);
	padding-bottom: 16px;
	margin-bottom: 22px;
}

.cne-arch-t {
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.02em;
	margin-top: 4px;
}

.cne-arch-desc {
	font-size: 14px;
	color: var(--cne-text-secondary);
	margin-top: 8px;
	max-width: 720px;
}

.cne-smark {
	background-color: var(--color-background-red);
	color: var(--color-text-red);
	font-weight: 700;
	padding: 0 3px;
	border-radius: 3px;
}

/* Comments (Astryx Form & Neutral Cards) */
.cne-comments {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--cne-border);
}

.cne-comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
}

.cne-comment-list .comment-body {
	padding: 16px;
	border: 1px solid var(--cne-border);
	border-radius: var(--radius-container);
	margin-bottom: 12px;
	background-color: var(--color-background-surface);
}

.cne-comment-list .children {
	list-style: none;
	padding-left: 20px;
}

.cne-comments .comment-form input[type="text"],
.cne-comments .comment-form input[type="email"],
.cne-comments .comment-form input[type="url"],
.cne-comments .comment-form textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--color-border-emphasized);
	border-radius: var(--radius-element);
	margin-top: 4px;
	background-color: var(--color-background-surface);
}

.cne-comments .comment-form input:focus,
.cne-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: var(--shadow-inset-focus);
}

.cne-comments .form-submit input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--size-element-md);
	background-color: var(--color-accent);
	color: var(--color-on-accent);
	border: 1px solid var(--color-accent);
	padding: 0 18px;
	font-size: 13.5px;
	font-weight: 600;
	border-radius: var(--radius-element);
	cursor: pointer;
	transition: background-color var(--duration-fast) var(--ease-standard);
}

.cne-comments .form-submit input[type="submit"]:hover {
	background-color: var(--color-accent-hover);
}

/* 404 Page */
.cne-404-box {
	max-width: 680px;
	margin: 36px auto;
	text-align: center;
	padding: 40px 28px;
	border: 1px solid var(--cne-border-strong);
	border-radius: var(--radius-container);
	background-color: var(--color-background-card);
	box-shadow: var(--shadow-low);
}

.cne-404-code {
	font-size: 56px;
	font-weight: 700;
	color: var(--color-accent);
	line-height: 1;
	letter-spacing: -0.04em;
}

@media (max-width: 768px) {
	.cne-abody {
		font-size: var(--cne-body-mobile);
	}
}
