/*
 * News - Article.
 *
 * Read from cp-all-designer css/news.css:600-790 (.nart__figure, .nart__video,
 * .nart__lead, .nart__body, .nart__fig, .nart__gallery, .nart__foot,
 * .nart__share) and css/app.css:304-320 (.btn--outline).
 *
 * The copy is the post's own, through the_content, so every block WordPress
 * writes is dressed here. Every selector for the copy names the band twice
 * and the copy's box three times, so it outweighs the theme's own rules for
 * the paragraphs, figures, lists and headings of a page's content
 * (.single-content p, .single-content figure.wp-block-image,
 * .single-content .wp-block-image:last-child figure) and Elementor's, which
 * comes after this sheet and sets every figure in a widget to no margin
 * (frontend.min.css, `.elementor .elementor-widget:not(…):not(…) figure`,
 * 0,4,1): a picture, a gallery, a film or a table keeps the space around it.
 */

.custom-news-article {
	--custom-article-heading: #16418C;
	--custom-article-link: #16418C;
	--custom-article-link-on: #50A3D5;
	--custom-article-space: 20px;
	--custom-article-share-ink: #16418C;
	--custom-article-share-edge: #E2E8F0;
	--custom-article-share-ink-on: #FFFFFF;
	--custom-article-share-ground-on: #16418C;
}

.custom-news-article .custom-news-article__inner {
	margin-right: auto;
	margin-left: auto;
}

/* ------------------------------------------------------------------ */
/* The picture, or the film — news.css:626-659                          */
/* ------------------------------------------------------------------ */

.custom-news-article .custom-news-article__figure {
	margin-right: 0;
	margin-left: 0;
	padding: 0;
}

.custom-news-article .custom-news-article__figure .custom-news-article__figure-box {
	display: block;
	width: 100%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
}

/* news.css:651-659 — 16 by 9 before anything has loaded in it */
.custom-news-article .custom-news-article__figure .custom-news-article__film {
	aspect-ratio: 16 / 9;
	border: 0;
	box-shadow: 0 18px 44px -14px rgba(22, 65, 140, 0.2);   /* --sh */
	background-color: #0E1729;                              /* --ink */
}

/* ------------------------------------------------------------------ */
/* The lead — news.css:700-705                                          */
/* ------------------------------------------------------------------ */

.custom-news-article .custom-news-article__lead.custom-news-article__lead {
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	padding: 0;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0;
}

.custom-news-article .custom-news-article__lead a {
	color: inherit;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* The copy — news.css:715-760                                          */
/* ------------------------------------------------------------------ */

.custom-news-article .custom-news-article__body {
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0;
	overflow-wrap: break-word;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body p,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body ul,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body ol,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body blockquote,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body table,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body pre {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: var(--custom-article-space);
	margin-left: 0;
	font-size: inherit;
	line-height: inherit;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body ul,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body ol {
	padding-left: 24px;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body li {
	margin: 0 0 8px;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body li > ul,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body li > ol {
	margin: 8px 0 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body strong,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body b {
	font-weight: 600;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body a {
	color: var(--custom-article-link);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 200ms ease;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body a:hover {
	color: var(--custom-article-link-on);
}

/* news.css:722 (.nart__sub) — 48.96 capped at 46 · 31.28 · 30 above, 18 under */
.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h2,
.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h3,
.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h4,
.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h5,
.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h6 {
	margin: 46px 0 18px;
	padding: 0;
	color: var(--custom-article-heading);
	font-family: inherit;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h2 { font-size: 26px; }
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h3 { font-size: 22px; }
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h4 { font-size: 20px; }
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h5,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h6 { font-size: 18px; }

/* news.css:724-731 (.nart__fig) — a picture in the copy keeps the leaf corner
   and the deep drop; 43.2 capped at 40 · 27.6 · 26 above and under */
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image {
	display: block;                         /* WordPress's aligncenter makes it a table the size of its picture; news.css:727 fills the column */
	width: auto;
	margin: 40px 0;
	padding: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image figure {
	margin: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image img,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body p > img,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure > img,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure > a > img {
	width: 100%;
	border-radius: 48px 0 48px 0;          /* --curl-sm */
	box-shadow: 0 18px 44px -14px rgba(22, 65, 140, 0.2);   /* --sh */
	background-color: #F0F4FA;             /* --g150 */
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figcaption {
	margin: 12px 0 0;
	color: #64748B;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.6;
	text-align: left;
}

/* news.css:742-758 (.nart__gallery) — a set of photographs, three to a row:
   the old site's columns and galleries both */
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-columns,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-gallery,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 44px 0 var(--custom-article-space);
	padding: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-gallery > figure,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .gallery-item {
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column > :last-child,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column figure {
	margin-bottom: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column figure,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column .wp-block-image {
	margin-top: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column img,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-gallery img,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .gallery img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 14px;                   /* --r */
	box-shadow: 0 6px 18px -6px rgba(22, 65, 140, 0.14);   /* --sh-sm */
}

/* a film the copy still holds plays at the column's width, 16 by 9 */
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-embed__wrapper::before {
	display: none;                          /* WordPress's own ratio box, which the frame no longer needs */
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body blockquote {
	padding: 4px 0 4px 20px;
	border-left: 4px solid #50A3D5;
	color: #16418C;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body table {
	width: 100%;
	border-collapse: collapse;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body th,
.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body td {
	padding: 10px 12px;
	border: 2px solid #E2E8F0;
	text-align: left;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body > :first-child {
	margin-top: 0;
}

.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body > :last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Share and the way back — news.css:760-778                            */
/* ------------------------------------------------------------------ */

/* the way back on the left, the share row on the right; the share row
   still comes first to a keyboard */
.custom-news-article .custom-news-article__foot {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	border-top-width: 2px;                 /* news.css:766 measures 1px */
	border-top-style: solid;
}

.custom-news-article .custom-news-article__share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.custom-news-article .custom-news-article__share-words {
	margin-right: 2px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0;
}

/* the ringed circle the navbar's search wears */
.custom-news-article .custom-news-article__share-link {
	--custom-press-ink: var(--custom-article-share-ink);
	--custom-press-ground: transparent;
	--custom-press-edge: var(--custom-article-share-edge);
	display: grid;
	place-items: center;
	box-sizing: border-box;
	border-width: 2px;                     /* news.css:775 measures 1px */
	border-style: solid;
	border-radius: 50%;
	transition: color 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            background-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-news-article .custom-news-article__share-link:hover {
	--custom-press-ink: var(--custom-article-share-ink-on);
	--custom-press-ground: var(--custom-article-share-ground-on);
	--custom-press-edge: var(--custom-article-share-ground-on);
}

.custom-news-article .custom-news-article__share-link:focus-visible {
	outline: 2px solid #50A3D5;
	outline-offset: 2px;
}

.custom-news-article .custom-news-article__share-link svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.custom-news-article .custom-news-article__back {
	gap: 8px;
	line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Tablet — 768px to 1024px (news.css:757, drawn at 991)                */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h2,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h3,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h4,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h5,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h6 {
		margin-top: 32px;
	}
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image {
		margin-top: 28px;
		margin-bottom: 28px;
	}
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-columns,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-gallery,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		margin-top: 30px;
	}
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column figure,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-column .wp-block-image {
		margin-top: 0;
		margin-bottom: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Mobile — up to 767px (news.css:758, 795-796)                          */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h2,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h3,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h4,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h5,
	.custom-news-article.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body h6 {
		margin-top: 30px;
	}
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image {
		margin-top: 26px;
		margin-bottom: 26px;
	}
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image img,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body p > img,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure > img,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure > a > img {
		border-radius: 30px 0 30px 0;      /* --curl-sm */
	}
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-columns,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-gallery,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .gallery {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 28px;
	}
	.custom-news-article .custom-news-article__foot {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body .wp-block-image img,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body p > img,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure > img,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body figure > a > img {
		border-radius: 30px 0 30px 0;      /* --curl-sm */
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-news-article .custom-news-article__share-link,
	.custom-news-article.custom-news-article .custom-news-article__body.custom-news-article__body.custom-news-article__body a {
		transition: none;
	}
}
