/* Content-height cards; the small script packs rows without reordering the DOM. */
.tx-news-masonry .wp-block-post-template {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 2.5rem 0;
	padding: 0;
}
.tx-news-masonry .wp-block-post-template.is-masonry-ready { grid-auto-rows: 4px; row-gap: 0; }
.tx-news-masonry .wp-block-post-template > li { align-self: start; margin: 0; min-width: 0; }
.tx-news-masonry .tx-card { box-sizing: border-box; height: auto; padding: 1.4rem; border-radius: 1rem; }
.tx-news-masonry .wp-block-post-featured-image { margin: 0 0 1.2rem; }
.tx-news-masonry .wp-block-post-featured-image img { border-radius: .65rem; display: block; height: auto; max-height: 420px; object-fit: cover; width: 100%; }
.tx-news-masonry .wp-block-post-title { font-size: 1.4rem; line-height: 1.18; margin: .75rem 0; }
.tx-news-masonry .wp-block-post-title a { color: #15565e; text-decoration: none; }
.tx-news-masonry .wp-block-post-excerpt { color: #496468; font-size: .94rem; line-height: 1.65; }
.tx-news-masonry .wp-block-read-more { color: #15565e; display: inline-block; font-size: .88rem; font-weight: 700; margin-top: 1rem; min-height: 32px; text-decoration: none; }
.tx-news-masonry .wp-block-query-pagination { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 3rem; }
.tx-news-masonry .wp-block-query-pagination a, .tx-news-masonry .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.tx-news-reading { padding-top: 4rem; }
.tx-news-adjacent { border-block: 1px solid #ccd8d5; display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 1.8rem; }
.tx-news-adjacent__link { color: #15565e; display: block; text-decoration: none; }
.tx-news-adjacent__link--next { grid-column: 2; text-align: right; }
.tx-news-adjacent__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .7rem; text-transform: uppercase; }
.tx-news-adjacent__title { display: block; font-family: Outfit, Arial, sans-serif; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.3; }
.tx-news-adjacent a:hover .tx-news-adjacent__title { text-decoration: underline; text-underline-offset: .2em; }
.tx-news-back { margin: 1.5rem 0 0; text-align: center; }
.tx-news-back a { color: #15565e; display: inline-block; font-size: .9rem; font-weight: 700; padding: .6rem; }
.tx-related { margin-top: 3rem; }
.tx-related h2 { font-size: clamp(2rem, 3vw, 3rem); margin: .4rem 0 1.75rem; }
.tx-related__grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tx-related__card a { color: #15565e; display: block; text-decoration: none; }
.tx-related__card img { aspect-ratio: 4 / 3; border-radius: .8rem; display: block; height: auto; object-fit: cover; width: 100%; }
.tx-related__card time { color: #496468; display: block; font-size: .75rem; margin: 1rem 0 .7rem; }
.tx-related__card h3 { font-size: 1.35rem; line-height: 1.22; margin: 0 0 1rem; }
.tx-related__read { font-size: .86rem; font-weight: 700; }
.tx-related__card a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.tx-news-reading a:focus-visible, .tx-news-masonry a:focus-visible, .tx-client-carousel button:focus-visible { outline: 2px solid #15565e; outline-offset: 5px; }
/* All eight marks are readable without scripting; enhanced to a seamless loop. */
.tx-client-carousel { border-top: 1px solid rgba(8,44,49,.16); padding-top: 1.5rem; }
.tx-client-carousel .tx-client-logos { border: 0; grid-template-columns: repeat(4, minmax(0,1fr)); padding-top: 0; }
.tx-client-carousel .tx-client-logo:last-child { grid-column: auto; }
.tx-client-carousel .tx-client-logos[hidden] { display: none; }
.tx-client-carousel__toggle { align-items: center; background: transparent; border: 0; border-radius: 50%; color: #858b8e; cursor: pointer; display: flex; justify-content: center; margin: .5rem 0 0 auto; height: 44px; width: 44px; padding: 11px; transition: color .15s ease, background-color .15s ease; }
.tx-client-carousel__toggle svg { display: block; fill: currentColor; height: 22px; width: 22px; }
.tx-client-carousel__toggle:hover, .tx-client-carousel__toggle:focus-visible { background: #f2f4f3; color: #15565e; }
.tx-client-carousel__toggle[hidden] { display: none; }
.tx-client-carousel.is-animated .tx-client-carousel__viewport { overflow: hidden; }
.tx-client-carousel.is-animated .tx-client-carousel__track { animation: tx-client-loop 54s linear infinite; display: flex; width: max-content; }
.tx-client-carousel.is-animated .tx-client-logos { display: flex; flex: 0 0 auto; gap: 2rem; padding-right: 2rem; }
.tx-client-carousel.is-animated .tx-client-logo { box-sizing: border-box; flex: 0 0 220px; min-height: 8rem; width: 220px; }
.tx-client-carousel.is-animated .tx-client-logo img { height: 6rem; width: 12rem; }
.tx-client-carousel.is-paused .tx-client-carousel__track, .tx-client-carousel:focus-within .tx-client-carousel__track { animation-play-state: paused; }
@media (hover: hover) { .tx-client-carousel:hover .tx-client-carousel__track { animation-play-state: paused; } }
@keyframes tx-client-loop { to { transform: translateX(-50%); } }
@media (max-width: 1000px) { .tx-news-masonry .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
	.tx-news-masonry .wp-block-post-template { grid-template-columns: 1fr; }
	.tx-related__grid, .tx-news-adjacent { grid-template-columns: 1fr; }
	.tx-news-adjacent__link--next { grid-column: 1; text-align: left; }
	.tx-client-carousel .tx-client-logos { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.tx-client-carousel.is-animated .tx-client-logo { flex-basis: 180px; width: 180px; }
	.tx-client-carousel.is-animated .tx-client-logo img { height: 5.5rem; width: 10rem; }
}
@media (prefers-reduced-motion: reduce) {
	.tx-client-carousel.is-animated .tx-client-carousel__track { animation: none; display: block; width: auto; }
	.tx-client-carousel.is-animated .tx-client-logos { display: grid; padding-right: 0; }
	.tx-client-carousel .tx-client-logos[aria-hidden="true"], .tx-client-carousel__toggle { display: none; }
	.tx-client-carousel.is-animated .tx-client-logo { width: auto; }
}
