.news-page,
.news-single-page {
	padding-bottom: 0;
}

.news-listing,
.news-article {
	background: transparent;
}

.news-listing__intro,
.news-article__hero {
	display: grid;
	gap: 1.5rem;
}

.news-listing__intro {
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
	align-items: end;
}

.news-listing__intro-copy,
.news-card__excerpt,
.news-article__date,
.news-article__summary-text,
.news-article__content {
	color: var(--tw-muted);
}

.news-page .card-grid--news {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-page .card--news,
.news-listing__empty,
.news-single-page .news-article__summary,
.news-single-page .news-article__body,
.news-single-page .news-article__media {
	background: var(--tw-surface);
	border: 1px solid var(--tw-border);
	box-shadow: var(--tw-shadow);
}

.news-page .card--news {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
}

.news-page .card__media--news {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, rgba(13, 95, 99, 0.16) 0%, rgba(245, 241, 232, 0.9) 100%);
}

.news-page .card__media--news img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-page .card--news .card__content,
.news-listing__empty .card__content {
	padding: 1.5rem;
}

.news-page .card--news .card__title a:hover,
.news-page .card--news .card__title a:focus-visible {
	color: var(--tw-accent);
}

.news-listing .pagination {
	justify-content: center;
	margin-top: 0.5rem;
}

.news-listing .pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.news-listing .pagination a.page-numbers,
.news-listing .pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--tw-border);
	background: var(--tw-surface);
	box-shadow: var(--tw-shadow);
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}

.news-listing .pagination .page-numbers.current {
	background: var(--tw-accent-strong);
	border-color: var(--tw-accent-strong);
	color: #fff;
}

.news-single-page .news-article__hero {
	grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
	align-items: stretch;
}

.news-single-page .news-article__summary,
.news-single-page .news-article__body {
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.news-single-page .news-article__title {
	font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.news-single-page .news-article__summary-text {
	max-width: 58ch;
	font-size: 1.05rem;
}

.news-single-page .news-article__media {
	overflow: hidden;
	background: linear-gradient(135deg, rgba(13, 95, 99, 0.16) 0%, rgba(245, 241, 232, 0.9) 100%);
}

.news-single-page .news-article__media img,
.news-single-page .news-article__media-placeholder {
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: 4 / 3;
}

.news-single-page .news-article__media img {
	object-fit: cover;
}

.news-single-page .news-article__media-placeholder {
	display: grid;
	place-items: center;
	padding: 2rem;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 1.2rem;
	color: var(--tw-accent-strong);
}

.news-single-page .news-article__content {
	max-width: 72ch;
}

.news-single-page .news-article__content ul,
.news-single-page .news-article__content ol {
	padding-left: 1.25rem;
}

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

@media (max-width: 900px) {
	.news-listing__intro,
	.news-single-page .news-article__hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.news-page .card-grid--news {
		grid-template-columns: 1fr;
	}
}
.news-page .container,
.news-single-page .container {
	max-width: var(--tw-container);
}

.smalltit {
	margin: 0 0 2rem;
	font-size: clamp(1.75rem, 2.8vw, 2.3rem);
	text-align: center;
}

.news-listing__intro-copy {
	max-width: 48rem;
	margin: 0 auto 2rem;
	color: #666;
	text-align: center;
}

.newsBox {
	display: grid;
	gap: 1.5rem;
}

.newList {
	border: 1px solid #ececec;
	border-radius: 0.35rem;
	background: #fff;
	overflow: hidden;
	/* Card width depends on the surrounding grid (full width on /news/, ~30% in the home
	   strip), so the card adapts to its own width rather than the viewport. */
	container-type: inline-size;
}

.newLinkBox {
	display: grid;
	grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
	color: inherit;
	text-decoration: none;
}

/* Narrow card: stack the image above the copy instead of overflowing the 14rem image column. */
@container (max-width: 26rem) {
	.newLinkBox {
		grid-template-columns: 1fr;
	}
}

.newPicBox img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.newPicBox .card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: #999;
}

.centerContentBox {
	padding: 1.5rem;
}

.centerContentBox .title {
	margin-bottom: 0.85rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: #1a1a1a;
}

.centerContentBox .cont {
	margin: 0 0 0.95rem;
	color: #666;
	line-height: 1.8;
	/* Long product words would otherwise push past the stacked card's text column. */
	overflow-wrap: break-word;
}

.centerContentBox .time,
.news-single-page .date {
	color: #999;
}

.articlbox {
	max-width: 56rem;
	margin: 0 auto;
}

.articlbox .title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 3vw, 2.8rem);
	text-align: center;
}

.articlbox .date {
	margin: 0 0 2rem;
	text-align: center;
}

.articlbox .content {
	color: #555;
	line-height: 1.95;
}

.video-single-page__player {
	margin-bottom: 1.5rem;
	overflow: hidden;
	border-radius: 0.35rem;
	background: #111;
}

.video-single-page__player iframe,
.video-single-page__player video,
.video-single-page__player img {
	display: block;
	width: 100%;
	min-height: 24rem;
	object-fit: cover;
	border: 0;
}

.video-single-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.siteBox {
	max-width: 62rem;
	margin: 0 auto;
	padding: 2rem;
	border: 1px solid #ececec;
	border-radius: 0.35rem;
	background: #fff;
}

.siteBox .Title {
	margin: 0 0 1.25rem;
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
}

.news-single-page__back {
	margin-top: 2rem;
	text-align: center;
}

.news-single-page__back a {
	color: #111;
}
