/**
 * Press release index and single release.
 *
 * Sits on top of tw-legal.css and reuses its tokens (--green, --lime, --line,
 * --muted, --soft), so the press section matches the legal pages exactly.
 */

.press-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.press-item {
	padding: 2rem 0;
	border-bottom: 1px solid var(--line);
	max-width: 52rem;
}

.press-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin: 0 0 .7rem;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.press-dateline:before {
	content: "·";
	margin-right: .55rem;
}

.press-title {
	margin: 0;
	font-size: clamp(1.3rem, 2.6vw, 1.75rem);
	line-height: 1.25;
	font-weight: 500;
	color: var(--green);
}

.press-title a {
	text-decoration: none;
	color: inherit;
	background-image: linear-gradient(var(--lime), var(--lime));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 3px;
	transition: background-size .2s ease;
}

.press-title a:hover {
	background-size: 100% 3px;
}

.press-standfirst {
	margin: .7rem 0 0;
	color: var(--muted);
	font-size: 1rem;
	max-width: 44rem;
}

.press-more {
	margin: .9rem 0 0;
	font-size: .88rem;
}

.press-more a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.press-empty {
	padding: 2.5rem 0;
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.press-content {
	padding-top: 2.15rem;
	border-top: 1px solid var(--line);
}

/* Media contact, shown on the index and under every release. */
.press-contact {
	margin: 2.5rem 0 0;
	padding: 1.25rem 1.4rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(210, 231, 253, .22);
	max-width: 52rem;
}

.press-contact h2 {
	margin: 0 0 .45rem;
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--muted);
}

.press-contact p {
	margin: 0;
	color: var(--green);
	font-size: 1rem;
}

.press-contact a {
	color: var(--green);
}

.press-back {
	margin: 2.5rem 0 0;
	font-size: .88rem;
}

.press-back a {
	text-decoration: none;
	color: var(--muted);
}

.press-back a:hover {
	color: var(--green);
	text-decoration: underline;
}

/* Pagination, only shown once there are more than twenty releases. */
.press-pagination {
	margin-top: 2.5rem;
}

.press-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.press-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	padding: .5rem .7rem;
	border: 1px solid var(--line);
	border-radius: 9999px;
	color: var(--green);
	text-decoration: none;
	font-size: .85rem;
}

.press-pagination .page-numbers.current {
	background: var(--green);
	border-color: var(--green);
	color: var(--white);
}

.press-pagination .page-numbers:hover:not(.current) {
	background: var(--soft);
}

@media (max-width: 959px) {
	.press-item {
		padding: 1.5rem 0;
	}
}

/* The type tag beside the date on the index. */
.press-type {
	display: inline-block;
	padding: .18rem .55rem;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: var(--lime);
	color: var(--green);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .1em;
}

.press-type--announcement,
.press-type--update {
	background: rgba(210, 231, 253, .5);
}
