/* Cacio 2 News archive and standard News posts only. */
.category-news #content,
.cacio-news-single #content {
	background: var(--cacio-global-paper, #f5f3ec);
}

/* Archive heading */
.category-news #primary {
	padding-block: clamp(40px, 6vw, 80px);
}

body.category-news.ast-separate-container .ast-archive-description {
	max-width: none;
	margin: 0 0 clamp(32px, 5vw, 64px);
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
}

#content p.cacio-news-eyebrow {
	margin: 0 0 12px;
	color: var(--cacio-global-clay, #795f49);
	font-size: 11px;
	letter-spacing: .16em;
	line-height: 1.4;
}

#content h1.ast-archive-title {
	margin: 0;
	font-family: var(--cacio-global-serif, Georgia, serif);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 400;
	line-height: 1.2;
}

/* Responsive editorial archive cards */
.category-news #main {
	display: block;
}

.category-news #main > .ast-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(28px, 3vw, 48px);
	width: 100%;
	margin: 0;
}

.category-news article.ast-article-post {
	float: none;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.category-news .ast-article-inner {
	display: flex;
	height: 100%;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.category-news .ast-article-inner .post-content {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
}

.category-news .ast-no-thumb .ast-blog-featured-section {
	display: none;
}

.category-news .ast-blog-featured-section {
	width: 100%;
	margin: 0 0 20px;
}

.category-news .ast-blog-featured-section img {
	display: block;
	width: 100%;
	height: auto;
}

.category-news .ast-article-inner .cat-links {
	display: none;
}

#content .ast-article-inner .entry-title {
	margin: 0 0 14px;
	font-family: var(--cacio-global-serif, Georgia, serif);
	font-size: clamp(23px, 2.1vw, 32px);
	font-weight: 400;
	line-height: 1.4;
}

.category-news .ast-article-inner .entry-title a {
	color: inherit;
	text-decoration: none;
}

.category-news .ast-article-inner .entry-title a:hover {
	text-decoration: underline;
	text-underline-offset: .18em;
}

.category-news .ast-article-inner .entry-title a:focus-visible {
	outline: 2px solid var(--cacio-global-green, #50604d);
	outline-offset: 4px;
}

#content .cacio-news-meta {
	margin: 0 0 14px;
	color: var(--cacio-global-clay, #795f49);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}

#content .cacio-news-meta .posted-on,
#content .cacio-news-meta .published {
	color: var(--cacio-global-clay, #795f49) !important;
	font-weight: 400;
}

.category-news .ast-excerpt-container {
	max-width: 58ch;
	color: var(--cacio-global-ink, #1d211d);
	font-size: 16px;
	line-height: 1.8;
}

.category-news #main > .ast-row > .ast-article-post:only-child {
	grid-column: 1 / -1;
	width: min(100%, 780px) !important;
	justify-self: center;
}

.category-news #main > .ast-row > .ast-article-post:only-child .post-content {
	align-items: center;
	text-align: center;
}

.category-news #main > .ast-row > .ast-article-post:only-child .ast-excerpt-container {
	margin-inline: auto;
}

/* Single News article */
.cacio-news-single #primary {
	width: 100%;
	margin: 0;
	padding-block: clamp(44px, 6vw, 84px);
}

body.cacio-news-single.ast-separate-container .ast-article-single {
	max-width: 920px;
	margin-inline: auto;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.cacio-news-single .ast-article-single .entry-header,
.cacio-news-single .ast-article-single .entry-content {
	max-width: 760px;
	margin-inline: auto;
}

.cacio-news-single .ast-article-single .entry-header {
	max-width: 920px;
	margin-bottom: clamp(32px, 5vw, 56px);
	text-align: center;
}

body.cacio-news-single #content .ast-article-single .entry-header > :not(h1.entry-title) {
	max-width: 760px;
	margin-inline: auto;
}

body.cacio-news-single #content .ast-article-single h1.entry-title {
	max-width: 1000px;
	margin: 0 auto 18px;
	font-family: var(--cacio-global-serif, Georgia, serif);
	font-size: clamp(32px, 4.2vw, 52px);
	font-weight: 400;
	line-height: 1.25;
}

@media (min-width: 681px) {
	.cacio-news-single .ast-article-single .entry-header {
		position: relative;
		left: 50%;
		width: min(1000px, calc(100vw - 55px));
		max-width: none;
		margin-right: 0;
		margin-left: 0;
		transform: translateX(-50%);
	}
}

#content .cacio-news-meta {
	color: var(--cacio-global-clay, #795f49);
	font-size: 12px;
	line-height: 1.5;
}

body.cacio-news-single #content .ast-article-single .entry-content {
	font-size: 16px;
	line-height: 1.95;
}

.cacio-news-single .entry-content img,
.cacio-news-single .entry-content video,
.cacio-news-single .entry-content iframe {
	max-width: 100%;
}

body.cacio-news-single #content .ast-article-single .entry-content p {
	line-height: 1.95;
}

.cacio-news-single .entry-content iframe {
	width: 100%;
	 aspect-ratio: 16 / 9;
}

.cacio-news-single .entry-content p.cacio-news-backlink-wrap {
	margin: clamp(32px, 4vw, 48px) 0 0;
	text-align: left;
}

.cacio-news-backlink {
	display: inline-block;
	padding: 12px 20px;
	border: 1px solid var(--cacio-global-ink, #1d211d);
	background: transparent;
	color: var(--cacio-global-ink, #1d211d) !important;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

#content .cacio-news-backlink:hover,
#content .cacio-news-backlink:focus-visible {
	background: var(--cacio-global-ink, #1d211d);
	color: var(--cacio-global-milk, #fffefa) !important;
}

#content .cacio-news-backlink:focus-visible {
	outline: 2px solid var(--cacio-global-green, #50604d);
	outline-offset: 4px;
}

#content .cacio-news-backlink:hover,
#content .cacio-news-backlink:focus,
#content .cacio-news-backlink:focus-visible,
#content .cacio-news-backlink:active {
	text-decoration: none !important;
}

@media (max-width: 1100px) {
	.category-news #main > .ast-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.category-news #primary {
		padding-block: 40px 56px;
	}

	.category-news #main {
		display: block;
	}

	.category-news #main > .ast-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.category-news #main > .ast-row > .ast-article-post:only-child {
		width: 100% !important;
	}

	.cacio-news-single #content > .ast-container {
		padding-inline: 20px;
	}

	.cacio-news-single #primary {
		padding-block: 40px 56px;
	}

	body.cacio-news-single #content .ast-article-single h1.entry-title {
		font-size: clamp(30px, 8vw, 38px);
	}
}

/* Hide Astra adjacent-post navigation only on News single posts. */
body.cacio-news-single #primary nav.navigation.post-navigation {
	display: none;
}

/* Keep archive title rows visually aligned without constraining natural wrapping. */
@media (min-width: 681px) {
	.category-news #main > .ast-row > .ast-article-post:not(:only-child) .ast-article-inner .entry-title {
		min-block-size: 2lh;
	}
}

