/*! news overview template */
.categories {
	display: table;
	margin-bottom: 1.5em;
	margin-bottom: 1lh;
	position: relative;
	font-family: Arial, sans-serif;
}

/* Link-style News category filter (match Videos look) */
.categories.links { display: block; }
.news-categories-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.news-categories-list::-webkit-scrollbar { display: none; }
.news-categories-list li { display: inline-block; }
.news-categories-list li:not(:last-child)::after {
    content: "|";
    margin: 0 1rem;
    color: var(--text-muted);
    font-weight: normal;
}
.news-categories-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.news-categories-list a:hover { color: var(--text-black); }
.news-categories-list a.active {
    color: var(--orange-accent);
    border-radius: 4px;
    padding: 6px 12px;
}
.news-categories-list a.active:hover { color: var(--blue-inky); text-decoration: underline; }
/* Link-style category filter (no dropdown) */
.categories.links {
    display: block;
}
.categories.links p {
    margin: 0;
}
.categories.links a {
    text-decoration: none;
    font-weight: 700;
}
.categories.links a.active {
    text-decoration: underline;
}

.categories h2 {
	font-weight: normal;
	font-size: inherit;
	margin: 0;
}
.categories.js h2 {
	border: 1px solid rgb(0 0 0 / .3);
	border-radius: .188em;
	padding: .5em 3em .5em 1em;
	cursor: pointer;
	position: relative;
}
.categories.js h2:after {
	content: '';
	border: solid currentcolor;
	border-width: 0 1px 1px 0;
	position: absolute;
	width: .75em;
	height: .75em;
	right: .75em;
	top: 50%;
	transform: translateY(-75%) rotate(45deg);
}
.categories.js ul {
	list-style: none;
	margin: 0;
	padding: .25em;
	border: 1px solid rgb(0 0 0 / .1);
	border-radius: .25em;
	box-shadow: 0 .25em 1em rgb(0 0 0 / .25);
	position: absolute;
	left: -9999em;
	top: 0;
	min-width: 100%;
	z-index: 100;
	background-color: var(--white);
}
.categories.active ul {
	left: auto;
}
.categories.js li a {
	text-decoration: none;
	display: block;
	padding: .25em .5em .25em 2em;
	position: relative;
	white-space: nowrap;
}
.categories.js li a:hover {
	background-color: var(--blue-primary);
	color: var(--white);
}
.blog .categories.js .cat-item-all a:before,
.blog .categories.js .cat-item-all a:after,
.categories.js .current-cat a:before,
.categories.js .current-cat a:after
{
	content: '';
	position: absolute;
	background-color: currentcolor;
	width: .188em;
	height: 1em;
	border-radius: 1em;
	left: .75em;
	top: .5em;
	transform: rotate(35deg);
	transform-origin: 50% .938em;
}
.blog .categories.js .cat-item-all a:after,
.categories.js .current-cat a:after {
	height: .5em;
	top: 1em;
	transform: rotate(-35deg);
	transform-origin: 50% .438em;
}
.posts, .single .site-main {
	padding: clamp(2em, 8.533vw, 6.25em) 3.2%;
	max-width: 75em;
	margin: 0 auto;
	font-family: Arial, sans-serif;
}
.post img {
	max-width: 100%;
	width: auto;
	height: auto;
}
.post {
	display: grid;
	grid-template: repeat(2, auto) 1fr / 33% 66%;
	gap: 0 3.2%;
	margin-bottom: 2em;
	border-bottom: 1px solid black;
    padding-bottom: 2em;
}
.post.post-detail {
	border-bottom: none;
	padding-bottom: 0;
}
.post.no-image {
    grid-template: repeat(2, auto) 1fr / 1fr 1fr;
}
.post.no-image .post--image { display: none; }
.post.no-image .post--excerpt { grid-column: 1 / -1; }
.post.no-image .post--header { grid-column: 1 / -1; }
.post.no-image .post--footer { grid-column: 1 / -1; }
.post .accessibility {
	position: absolute;
	left: -9999em;
	top: -9999em;
}
.post--header {
	margin-bottom: 1.5em;
	margin-bottom: 1lh;
	order: 1;
}
.post--header > * {display: inline;}
.post--category {
	font-weight: bold;
	font-size: 1.5em;
}
.post--date {display: block;}
.post--image {
	grid-area: 1 / 1 / span 3 / 1;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaH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z48cGF0aCBkPSJNMjkuNDE1LDEzLjFjNC41LDAuMSA2LjMsLTMuMiA2LjQsLTYuM2MwLjIsLTQuOCAtMi44LC02LjggLTYuNCwtNi44Yy0zLjYsMCAtNi41LDIuMSAtNi4zLDYuOGMwLjEsMi43IDEuMiw2LjIgNi4zLDYuMyIvPjwvc3ZnPg==) center center / 50% auto no-repeat, linear-gradient(135deg, rgb(13 28 61 / .1), rgb(13 28 61 / .05));
	aspect-ratio: 4/3;
	position: relative;
	margin-bottom: 1.5em;
	margin-bottom: 1lh;
}
.post--image img {
	object-fit: cover;
	position: absolute;
	width: 100%;
	height: 100%;
}
.post--title {margin: 0;}
.post--title a {text-decoration: none;}
.post--title a:hover {text-decoration: underline;}
.post--excerpt {order: 2;}
.post--excerpt p {margin-top: 0;}
.post--footer {order: 3;}
.post--more {font-weight: bold;}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 1em;
}
.pagination .page-numbers {
	display: flex;
	width: 2em;
	height: 2em;
	border: 1px solid rgb(0 0 0 / .3);
	padding: .5em;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	overflow: hidden;
}
.pagination .page-numbers:hover,
.pagination .page-numbers:focus-visible
{
	background-color: rgba(0 0 0 / .05);
	border-color: var(--steelblue);
}
.pagination .page-numbers.current {
	background-color: var(--steelblue);
	color: white;
	font-weight: bold;
}
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
	position: relative;
	color: rgb(255 255 255 / .01);
}
.pagination .page-numbers.prev:hover,
.pagination .page-numbers.prev:focus-visible,
.pagination .page-numbers.next:hover,
.pagination .page-numbers.next:focus-visible
	{color: rgb(0 0 0 / .01);}
.pagination .page-numbers.next:before,
.pagination .page-numbers.prev:before {
	content: '';
	width: .75em;
	height: .75em;
	border: solid var(--steelblue);
	border-width: 3px 3px 0 0;
	opacity: .3;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-75%, -50%) rotate(45deg);
}
.pagination .page-numbers.prev:before {
	transform: translate(-25%, -50%) rotate(-135deg);
}
/* end news overview template */

/* news detail template */
.post-detail {display: block;}
.post-detail .post--header {
	display: flex;
	flex-direction: column;
}
.post-detail .post--header > * {order: 1;}
.post-detail .post--image {
	order: 0;
	margin: 0 auto 2em;
	width: 100%;
	background: transparent;
	display: flex;
	justify-content: center;
}
.post-detail .post--image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

.post-detail .post--title {margin-bottom: 1em;}
.post-detail .post--meta {
	border: solid rgb(0 0 0 / .3);
	border-width: 1px 0;
	padding: 1em 0;
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}
.post-detail .post--category {
	font-weight: normal;
	font-size: inherit;
}
.post .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 5%;
	margin-top: 3em;
}
.post .nav-links > * {display: flex;}
.post .nav-links .nav-next {grid-column-start: 2;}
.post .nav-links a {
	border: 1px solid rgb(0 0 0 / .2);
	padding: 2em;
	text-align: center;
	flex: 1 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	position: relative;
}
.post .nav-links .nav-previous a {padding-left: 15%;}
.post .nav-links .nav-next a {padding-right: 15%;}
.post .nav-links a:hover {text-decoration: underline;}
.post .nav-links a:before {
	content: '';
	width: clamp(1em, 3.125vw, 2em);
	height: clamp(1em, 3.125vw, 2em);
	border: solid currentcolor;
	border-width: 0 5px 5px 0;
	opacity: .25;
	position: absolute;
	left: 5%;
	top: 50%;
}
.post .nav-links .nav-previous a:before {transform: translateY(-50%) rotate(135deg);}
.post .nav-links .nav-next a:before {
	transform: translateY(-50%) rotate(-45deg);
	right: 5%;
	left: auto;
}
/* end news detail template */
/* Gallery and image sizing for single posts */
.post-detail .wp-block-gallery,
.post-detail .gallery,
.post-detail figure {
  max-width: 60%;
  margin: 1.5em auto;
  text-align: center;
}

.post-detail .wp-block-gallery img,
.post-detail .gallery img,
.post-detail figure img {
  width: 100%;
  height: auto;
}

/* Multiple consecutive images in content */
.post-detail p img:only-child {
  max-width: 60%;
  display: block;
  margin: 1.5em auto;
}

.post-detail .wp-caption {
  max-width: 60%;
  margin: 1.5em auto;
}

@media screen and (max-width: 34em) {
  .post,
  .post .nav-links {
    display: block;
  }
  .post .nav-links .nav-previous {
    margin-bottom: 1.5em;
  }

  /* Full width galleries on mobile */
  .post-detail .wp-block-gallery,
  .post-detail .gallery,
  .post-detail figure,
  .post-detail p img:only-child,
  .post-detail .wp-caption {
    max-width: 100%;
  }
}
