/* Thunderbird ELEVATE Hub factory */
.tb-elevate-hub-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 24px;
	width: 100%;
}

.tb-elevate-hub-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 11px 20px;
	border: 1px solid #1b7f86;
	border-radius: 999px;
	background: #f3f9f8;
	color: #17324d;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tb-elevate-hub-link:hover,
.tb-elevate-hub-link:focus-visible {
	background: #ffffff;
	color: #0f5b61;
	border-color: #0f5b61;
	text-decoration: none;
}

.tb-elevate-hub-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.tb-elevate-hub-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 20px;
	}
}

@media (max-width: 767px) {
	.tb-elevate-hub-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.tb-elevate-hub-link {
		min-height: 52px;
		padding: 10px 12px;
		font-size: 14px;
	}
}


/* ELEVATE publication landing: all nine governed Hubs */
.tb-elevate-hub-links--all {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.tb-elevate-hub-links--all {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tb-elevate-hub-links--all {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* ELEVATE publication landing: suppress Past Issues until a prior Issue exists. */
body.tb-elevate-no-past-issues .tb-elevate-landing-past-issues {
	display: none !important;
}



/* Keep one archive pathway on the ELEVATE landing without duplication.
   The standalone fallback is visible during the first Issue cycle and hides
   automatically once the Past Issues module becomes eligible. */
body.tb-elevate-has-past-issues .tb-elevate-landing-archive-fallback {
	display: none !important;
}
