  /* ==========================================================================
   Tag archive (taxonomy: context_tag)
   ========================================================================== */

/* Title bar
   ========================================================================== */

.ctx-tag-archive__title-bar {
	width: 100%;
	background-color: var(--ctx-blue-band, #004371);
	border-top: 1px solid var(--ctx-navy-mid, #042d52);
}

.ctx-tag-archive__title-inner {
	display: flex;
	align-items: center;
	max-width: 1440px;
	height: 55px;
	margin: 0 auto;
	padding: 0 15px;
}

.ctx-tag-archive__title {
	margin: 0;
	padding-top: 3px;
	color: #ffffff;
	font-size: 17px;
	line-height: 27px;
	font-weight: 600;
}

@media (min-width: 640px) {

	.ctx-tag-archive__title-bar {
		background-color: var(--ctx-blue-accent-hover, #005e93);
	}

	.ctx-tag-archive__title-inner {
		height: 72px;
		padding: 0 30px;
	}

	.ctx-tag-archive__title {
		padding-top: 7px;
		font-size: 21px;
		line-height: 33px;
	}
}

@media (min-width: 1200px) {

	.ctx-tag-archive__title-inner {
		height: 77px;
	}

	.ctx-tag-archive__title {
		padding-top: 8px;
		font-size: 22px;
		line-height: 34px;
	}
}

/* Layout
   ========================================================================== */

.ctx-tag-archive__main {
	background-color: #f6f6f6;
}

.ctx-tag-archive__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 15px 40px;
}

@media (min-width: 640px) {

	.ctx-tag-archive__container {
		padding: 25px 30px 50px;
	}
}

@media (min-width: 1200px) {

	.ctx-tag-archive__container {
		padding: 30px 30px 60px;
	}
}

.ctx-tag-archive__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1200px) {

	.ctx-tag-archive__layout {
		grid-template-columns: minmax(0, 1fr) 373px;
		column-gap: 60px;
	}
}

.ctx-tag-archive__content {
	min-width: 0;
}

.ctx-tag-archive__rail {
	min-width: 0;
}

/* Item count and divider
   ========================================================================== */

.ctx-tag-archive__count {
	margin: 0;
	color: #000000;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}

@media (min-width: 1200px) {

	.ctx-tag-archive__count {
		margin-bottom: -5px;
	}
}

.ctx-tag-archive__divider {
	height: 1px;
	margin: 20px 0;
	background-color: #dddddd;
	border: none;
	opacity: 1;
}

@media (min-width: 1200px) {

	.ctx-tag-archive__divider {
		margin: 30px 0;
	}
}

.ctx-tag-archive__no-results {
	margin: 0;
	color: #000000;
	font-size: 16px;
	line-height: 25px;
}

/* Feed item
   ========================================================================== */

.ctx-tag-archive__feed {
	display: flex;
	flex-direction: column;
}

.ctx-feed-item {
	display: flex;
	flex-direction: row;
	margin: 0 0 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #dddddd;
}

@media (min-width: 640px) {

	.ctx-feed-item {
		margin-bottom: 25px;
		padding-bottom: 0;
		border-bottom: none;
	}

	.ctx-feed-item:last-child {
		margin-bottom: 0;
		padding-bottom: 25px;
		border-bottom: 1px solid #dddddd;
	}
}

@media (min-width: 1200px) {

	.ctx-feed-item {
		margin-bottom: 30px;
	}

	.ctx-feed-item:last-child {
		padding-bottom: 30px;
	}
}

.ctx-feed-item__media {
	flex: 0 0 40%;
	min-width: 40%;
	max-width: 40%;
	aspect-ratio: 100 / 70;
}

.ctx-feed-item__media-inner {
	position: relative;
	width: 100%;
	aspect-ratio: 100 / 70;
	overflow: hidden;
	background-color: #e9e9e9;
}

@media (min-width: 640px) {

	.ctx-feed-item__media {
		aspect-ratio: 100 / 62;
	}

	.ctx-feed-item__media-inner {
		aspect-ratio: 100 / 58;
	}
}

.ctx-feed-item__media-inner a {
	display: block;
	width: 100%;
	height: 100%;
}

.ctx-feed-item__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.ctx-feed-item__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding-left: 15px;
}

@media (min-width: 640px) {

	.ctx-feed-item__info {
		padding-left: 20px;
	}
}

/* Kicker
   ========================================================================== */

.ctx-feed-item__kicker {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 8px;
	background-color: var(--ctx-blue-accent, #006daa);
	border-radius: 4px;
	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ctx-tag-archive a.ctx-feed-item__kicker,
.ctx-tag-archive a.ctx-feed-item__kicker:visited,
.ctx-tag-archive a.ctx-feed-item__kicker:hover,
.ctx-tag-archive a.ctx-feed-item__kicker:focus {
	color: #ffffff;
	text-decoration: none !important;
}

.ctx-tag-archive span.ctx-feed-item__kicker {
	color: #ffffff;
}

.ctx-tag-archive a.ctx-feed-item__kicker:hover {
	text-decoration: underline !important;
}

.ctx-tag-archive a.ctx-feed-item__kicker:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}

/* Headline
   ========================================================================== */

.ctx-feed-item__headline {
	display: block;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

.ctx-tag-archive a.ctx-feed-item__headline,
.ctx-tag-archive a.ctx-feed-item__headline:visited,
.ctx-tag-archive a.ctx-feed-item__headline:focus {
	color: #000000;
	text-decoration: none !important;
}

.ctx-tag-archive a.ctx-feed-item__headline:hover {
	color: #000000;
	text-decoration: underline !important;
}

.ctx-tag-archive a.ctx-feed-item__headline:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}

@media (min-width: 640px) {

	.ctx-feed-item__headline {
		margin-bottom: 13px;
		font-size: 20px;
		line-height: 28px;
	}
}

@media (min-width: 1200px) {

	.ctx-feed-item__headline {
		margin-bottom: 10px;
	}
}

.ctx-feed-item__headline.is-opinion,
.ctx-feed-item__headline.is-video,
.ctx-feed-item__headline.is-podcast {
	position: relative;
}

.ctx-feed-item__headline.is-opinion::before,
.ctx-feed-item__headline.is-video::before,
.ctx-feed-item__headline.is-podcast::before {
	content: "";
	position: absolute;
	left: 0;
	background-position: 50%;
	background-repeat: no-repeat;
}

.ctx-feed-item__headline.is-opinion {
	text-indent: 13px;
}

.ctx-feed-item__headline.is-opinion::before {
	top: 2px;
	width: 12px;
	height: 12px;
	background-image: url("/wp-content/themes/trust/image/icon-double-quote.svg");
	background-size: 9px 9px;
}

.ctx-feed-item__headline.is-video {
	text-indent: 16px;
}

.ctx-feed-item__headline.is-video::before {
	top: 6px;
	width: 12px;
	height: 12px;
	background-image: url("/wp-content/themes/trust/image/icon-triangle-right.svg");
	background-size: 12px 12px;
}

.ctx-feed-item__headline.is-podcast {
	text-indent: 17px;
}

.ctx-feed-item__headline.is-podcast::before {
	top: 6px;
	width: 12px;
	height: 12px;
	background-image: url("/wp-content/themes/trust/image/icon-audio-blue.svg");
	background-size: 12px 12px;
}

@media (min-width: 640px) {

	.ctx-feed-item__headline.is-opinion {
		text-indent: 18px;
	}

	.ctx-feed-item__headline.is-opinion::before {
		top: 3px;
		width: 14px;
		height: 14px;
		background-size: 14px 14px;
	}

	.ctx-feed-item__headline.is-podcast,
	.ctx-feed-item__headline.is-video {
		text-indent: 22px;
	}

	.ctx-feed-item__headline.is-podcast::before,
	.ctx-feed-item__headline.is-video::before {
		top: 6px;
		width: 16px;
		height: 16px;
		background-size: 16px 16px;
	}
}

/* Description
   ========================================================================== */

.ctx-feed-item__description {
	display: none;
	margin-bottom: 10px;
	color: #000000;
	font-size: 16px;
	line-height: 25px;
	font-weight: 400;
}

@media (min-width: 640px) {

	.ctx-feed-item__description {
		display: block;
	}
}

/* Authors
   ========================================================================== */

.ctx-feed-item__authors {
	margin-bottom: 6px;
}

@media (min-width: 640px) {

	.ctx-feed-item__authors {
		margin-bottom: 10px;
	}
}

.ctx-feed-item__author {
	margin-right: 5px;
	color: #000000;
	font-size: 12px;
	line-height: 17px;
	font-weight: 600;
}

@media (min-width: 640px) {

	.ctx-feed-item__author {
		font-size: 15px;
		line-height: 21px;
		font-weight: 500;
	}
}

.ctx-tag-archive a.ctx-feed-item__author-link,
.ctx-tag-archive a.ctx-feed-item__author-link:visited,
.ctx-tag-archive a.ctx-feed-item__author-link:hover,
.ctx-tag-archive a.ctx-feed-item__author-link:focus {
	color: inherit;
	text-decoration: underline !important;
}

.ctx-tag-archive a.ctx-feed-item__author-link:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}

/* Date
   ========================================================================== */

.ctx-feed-item__date {
	margin: 0;
	color: #666666;
	font-size: 11px;
	line-height: 15px;
	font-weight: 400;
}

@media (min-width: 640px) {

	.ctx-feed-item__date {
		font-size: 13px;
		line-height: 21px;
	}
}

/* Pagination
   ========================================================================== */

.ctx-pagination {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-top: 20px;
	margin-bottom: -10px;
}

@media (min-width: 640px) {

	.ctx-pagination {
		margin-top: 30px;
		margin-bottom: 0;
	}
}

.ctx-pagination__pages {
	display: flex;
	flex-direction: row;
}

.ctx-pagination__pages--desktop {
	display: none;
}

@media (min-width: 768px) {

	.ctx-pagination__pages--desktop {
		display: flex;
	}

	.ctx-pagination__pages--mobile {
		display: none;
	}
}

.ctx-pagination__item {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 43px;
	max-width: 43px;
	min-height: 43px;
	max-height: 43px;
	margin: 0 3.5px;
	background-color: var(--ctx-navy-mid, #042d52);
	border: none;
	border-radius: 5px;
	color: #ffffff;
	font-size: 17px;
	line-height: 17px;
	font-weight: 500;
}

@media (min-width: 640px) {

	.ctx-pagination__item {
		min-width: 50px;
		max-width: 50px;
		min-height: 50px;
		max-height: 50px;
		margin: 0 5px;
		font-size: 22px;
		line-height: 22px;
	}
}

.ctx-tag-archive a.ctx-pagination__item,
.ctx-tag-archive a.ctx-pagination__item:visited,
.ctx-tag-archive a.ctx-pagination__item:focus {
	color: #ffffff;
	text-decoration: none !important;
}

.ctx-tag-archive a.ctx-pagination__item:hover {
	color: #ffffff;
	text-decoration: underline !important;
}

.ctx-tag-archive a.ctx-pagination__item:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}

.ctx-pagination__item.is-active {
	background-color: var(--ctx-blue-accent, #006daa);
	cursor: default;
}

.ctx-pagination__item.is-disabled {
	background-color: #dddddd;
	cursor: default;
}
