.aeqn-news-list {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.aeqn-news-list *,
.aeqn-news-list *::before,
.aeqn-news-list *::after {
	box-sizing: inherit;
}

.aeqn-news-item {
	margin: 0 0 1.35rem;
}

.aeqn-layout-compact .aeqn-news-item {
	padding: 0 0 1.35rem;
	border-bottom: 1px solid rgba(127, 127, 127, 0.28);
}

.aeqn-layout-compact .aeqn-news-item:last-child {
	margin-bottom: 0;
}

.aeqn-layout-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1rem;
}

.aeqn-layout-cards .aeqn-news-item {
	height: 100%;
	margin: 0;
	padding: 1.1rem 1.2rem;
	border: 1px solid rgba(127, 127, 127, 0.28);
	border-radius: 0.35rem;
	background: rgba(127, 127, 127, 0.045);
}

.aeqn-layout-minimal .aeqn-news-item {
	margin-bottom: 0.9rem;
}

.aeqn-news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.25rem;
	font-size: 0.78em;
	line-height: 1.35;
	letter-spacing: 0.035em;
	text-transform: uppercase;
	opacity: 0.72;
}

.aeqn-news-meta a {
	color: inherit;
	text-decoration: none;
}

.aeqn-news-meta a:hover,
.aeqn-news-meta a:focus {
	text-decoration: underline;
}

.aeqn-news-title {
	margin: 0 0 0.38rem;
	padding: 0;
	font-size: 1.18em;
	line-height: 1.25;
}

.aeqn-news-title a {
	color: inherit;
	text-decoration: none;
}

.aeqn-news-title a:hover,
.aeqn-news-title a:focus {
	text-decoration: underline;
}

/* Dedicated /news/ lists: native title links, with no mouse-hover decoration.
 * The marker is added only to list/latest-item output on the News landing page.
 * Scoped overrides prevent theme link styling from changing the heading.
 */
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a,
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:link,
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:visited,
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:hover,
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:focus,
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:active {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
	text-decoration: none !important;
	text-shadow: inherit !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	animation: none !important;
	cursor: pointer !important;
}

.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a::before,
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a::after {
	display: none !important;
	content: none !important;
}

/* No click outline; retain a visible indicator for keyboard navigation only. */
.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:focus:not(:focus-visible) {
	outline: none !important;
}

.aeqn-news-list.aeqn-plain-title-links .aeqn-news-title > a:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 3px;
}

.aeqn-news-content {
	margin: 0;
}

.aeqn-news-content > :first-child {
	margin-top: 0;
}

.aeqn-news-content > :last-child {
	margin-bottom: 0;
}

.aeqn-news-source {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	margin-top: 0.55rem;
	font-size: 0.9em;
	font-weight: 600;
	text-decoration: none;
}

.aeqn-news-source:hover,
.aeqn-news-source:focus {
	text-decoration: underline;
}

.aeqn-empty {
	margin: 0;
	font-style: italic;
	opacity: 0.72;
}

.aeqn-pagination {
	display: block !important;
	clear: both !important;
	margin: 0 !important;
	padding: 2.25rem 0 0 !important;
}

.aeqn-pagination-links {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	line-height: 1;
}

.aeqn-pagination-links > .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	margin: 0 !important;
	padding: 0.5rem 0.8rem !important;
	border: 1px solid rgba(127, 127, 127, 0.35) !important;
	border-radius: 0.35rem;
	background: transparent;
	box-shadow: none !important;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none !important;
	vertical-align: middle;
}

.aeqn-pagination-links > a.page-numbers:hover,
.aeqn-pagination-links > a.page-numbers:focus {
	background: rgba(127, 127, 127, 0.09);
	border-color: rgba(127, 127, 127, 0.6) !important;
	text-decoration: none !important;
}

.aeqn-pagination-links > a.page-numbers:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.aeqn-pagination-links > .page-numbers.current {
	background: rgba(127, 127, 127, 0.15);
	border-color: currentColor !important;
	font-weight: 700;
	cursor: default;
}

.aeqn-pagination-links > .page-numbers.prev,
.aeqn-pagination-links > .page-numbers.next {
	min-width: auto;
	padding-inline: 0.95rem !important;
}

.aeqn-pagination-links > .page-numbers.dots {
	min-width: auto;
	padding-inline: 0.2rem !important;
	border-color: transparent !important;
	background: transparent !important;
}

.aeqn-pagination-links > .page-numbers::before,
.aeqn-pagination-links > .page-numbers::after {
	display: none !important;
	content: none !important;
}

@media (max-width: 480px) {
	.aeqn-layout-cards {
		display: block;
	}

	.aeqn-layout-cards .aeqn-news-item {
		margin-bottom: 1rem;
	}
}

/* Alterego Dynamic Sitemap integration. */
.aeqn-sitemap-news {
	box-sizing: border-box;
	margin-top: 2rem;
}

.aeqn-sitemap-news *,
.aeqn-sitemap-news *::before,
.aeqn-sitemap-news *::after {
	box-sizing: inherit;
}

.aeqn-sitemap-news-heading {
	margin-bottom: 1rem;
}

.aeqn-sitemap-news-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.aeqn-sitemap-news-item {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-width: 0;
	margin: 0;
	padding: 1rem;
	border: 1px solid rgba(127, 127, 127, 0.28);
	border-radius: 0.35rem;
	background: rgba(127, 127, 127, 0.045);
}

.aeqn-sitemap-news-link {
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.aeqn-sitemap-news-link:hover,
.aeqn-sitemap-news-link:focus {
	text-decoration: underline;
}

.aeqn-sitemap-news-date {
	font-size: 0.78em;
	line-height: 1.35;
	opacity: 0.68;
}

.aeqn-sitemap-pagination {
	margin: 0 !important;
	padding: 2.25rem 0 0 !important;
}

@media (max-width: 900px) {
	.aeqn-sitemap-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.aeqn-sitemap-news-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* News-only RSS shortcode. */
.aeqn-news-rss-wrap {
	display: block !important;
	clear: both !important;
	margin: 0 !important;
	padding: 2.25rem 0 0 !important;
}

.aeqn-news-rss-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin: 0;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.aeqn-news-rss-link:hover,
.aeqn-news-rss-link:focus {
	text-decoration: underline;
}

.aeqn-news-rss-icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
}

.aeqn-news-rss-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

/* Hueman/Hueman Pro: single-News context above the normal article heading. */
.single-aeqn_news .aeqn-single-context-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45em;
	margin: 0;
	font-size: 0.9em;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.single-aeqn_news .aeqn-single-context-label,
.single-aeqn_news .aeqn-single-context-date {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
}

.single-aeqn_news .aeqn-single-context-separator {
	opacity: 0.65;
}

/* Individual News pages: source attribution below the main content. */
.single-aeqn_news .aeqn-single-source {
	margin: 0.8rem 0 0;
}

.single-aeqn_news .aeqn-single-source .aeqn-news-source {
	margin-top: 0;
}


/* Conditional single-News return link. Inserted only after browser validation. */
.single-aeqn_news .aeqn-back-to-news-nav {
	display: block;
	clear: both;
	margin: 0 0 1rem;
	padding: 0;
}

.single-aeqn_news a.aeqn-back-to-news,
.single-aeqn_news a.aeqn-back-to-news:link,
.single-aeqn_news a.aeqn-back-to-news:visited,
.single-aeqn_news a.aeqn-back-to-news:hover,
.single-aeqn_news a.aeqn-back-to-news:focus,
.single-aeqn_news a.aeqn-back-to-news:active {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	max-width: 100%;
	min-height: 2.5rem;
	margin: 0 !important;
	padding: 0.5rem 0.85rem !important;
	border: 1px solid rgba(127, 127, 127, 0.5) !important;
	border-radius: 0.35rem;
	background: transparent !important;
	color: inherit !important;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: normal;
	text-align: center;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	animation: none !important;
	cursor: pointer;
}

.single-aeqn_news a.aeqn-back-to-news::before,
.single-aeqn_news a.aeqn-back-to-news::after {
	display: none !important;
	content: none !important;
}

.single-aeqn_news a.aeqn-back-to-news:focus:not(:focus-visible) {
	outline: none !important;
}

.single-aeqn_news a.aeqn-back-to-news:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 3px;
}


/* Single-News metadata: assigned topics between News and the date.
 * Keep link decoration local to the context strip; archive/list styles and
 * return-navigation styling are unchanged. Long/multiple topics may wrap.
 */
.single-aeqn_news .aeqn-single-context-topics {
	min-width: 0;
	overflow-wrap: anywhere;
}

.single-aeqn_news .aeqn-single-context-topics > a.aeqn-news-topic,
.single-aeqn_news .aeqn-single-context-topics > a.aeqn-news-topic:link,
.single-aeqn_news .aeqn-single-context-topics > a.aeqn-news-topic:visited {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.single-aeqn_news .aeqn-single-context-topics > a.aeqn-news-topic:hover,
.single-aeqn_news .aeqn-single-context-topics > a.aeqn-news-topic:focus {
	color: inherit;
	text-decoration: underline;
}

.single-aeqn_news .aeqn-single-context-topics > a.aeqn-news-topic:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}


/* Hueman/Hueman Pro News Topic archives: the topic heading already supplies
 * the context. Hide only the repeated News marker in main News cards, including
 * its spacing; leave the date, topic heading, sidebar and other pages alone.
 * Keep the standard News category assigned for search and mixed-content lists.
 */
body.tax-aeqn_topic .content article.type-aeqn_news > .post-inner > .post-meta > .post-category {
	display: none !important;
}


/* News Topic archives: static All News link above the original archive grid.
 * Inside the theme's existing content padding; no heading/sidebar changes.
 */
body.tax-aeqn_topic .content .aeqn-topic-back-nav {
	display: block;
	clear: both;
	margin: 0 0 1.5rem;
	padding: 0;
}

body.tax-aeqn_topic .content a.aeqn-topic-back-link,
body.tax-aeqn_topic .content a.aeqn-topic-back-link:link,
body.tax-aeqn_topic .content a.aeqn-topic-back-link:visited,
body.tax-aeqn_topic .content a.aeqn-topic-back-link:hover,
body.tax-aeqn_topic .content a.aeqn-topic-back-link:focus,
body.tax-aeqn_topic .content a.aeqn-topic-back-link:active {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	max-width: 100%;
	min-height: 2.5rem;
	margin: 0 !important;
	padding: 0.5rem 0.85rem !important;
	border: 1px solid rgba(127, 127, 127, 0.5) !important;
	border-radius: 0.35rem;
	background: transparent !important;
	color: inherit !important;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: normal;
	text-align: center;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	animation: none !important;
	cursor: pointer;
}

body.tax-aeqn_topic .content a.aeqn-topic-back-link::before,
body.tax-aeqn_topic .content a.aeqn-topic-back-link::after {
	display: none !important;
	content: none !important;
}

body.tax-aeqn_topic .content a.aeqn-topic-back-link:focus:not(:focus-visible) {
	outline: none !important;
}

body.tax-aeqn_topic .content a.aeqn-topic-back-link:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 3px;
}


body.tax-aeqn_topic .content .aeqn-topic-back-link > span {
	min-width: 0;
	overflow-wrap: anywhere;
}
