/**
 * Grant Gazette front-end styles. Adapted from legacy page-grant-gazette.php inline CSS,
 * plus the navy banner and shortcuts patterns lifted from the prod /alberta-grant-gazette/ page.
 */

.gazette-banner {
	background-color: #0f446d;
	padding: 0;
	margin: 0 0 0 0;
	width: 100%;
}
.gazette-banner img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.gazette-wrap {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	color: #303030;
	line-height: 1.7;
}
.gazette-wrap h1,
.gazette-wrap h2,
.gazette-wrap h3 {
	color: #10446d;
}
.gazette-wrap h1 {
	font-size: 32px;
	margin-bottom: 10px;
}
.gazette-wrap a {
	color: #0066ff;
	text-decoration: none;
}
.gazette-wrap a:hover {
	text-decoration: underline;
}

.gazette-date {
	font-size: 15px;
	color: #666;
	margin-bottom: 30px;
}

.gazette-shortcuts {
	background: #f8f8f8;
	padding: 18px 32px 25px;
	margin: 20px 0 30px;
	border-radius: 6px;
}
.gazette-shortcuts h4 {
	margin: 0 0 14px;
	color: #10446d;
	font-size: 18px;
}
.gazette-shortcuts-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px 24px;
}
.gazette-shortcut-link {
	color: #3b92cd;
	font-size: 16px;
	text-decoration: none;
	flex: 0 0 auto;
}
.gazette-shortcut-link:hover {
	text-decoration: underline;
}

.gazette-video {
	margin: 20px 0 30px;
}
.gazette-video iframe {
	max-width: 100%;
}

.gazette-hot-grants {
	background: #fff4e6;
	border-left: 4px solid #f39c12;
	padding: 20px 25px;
	border-radius: 6px;
	margin: 30px 0;
}
.gazette-hot-grants h3 {
	margin-top: 0;
	color: #c45a00;
}

.gazette-quote {
	background: #f0f5fa;
	border-left: 4px solid #10446d;
	padding: 20px 25px;
	margin: 30px 0;
	font-style: italic;
	font-size: 18px;
	color: #333;
}
.gazette-quote-author {
	display: block;
	margin-top: 10px;
	font-style: normal;
	font-size: 14px;
	color: #666;
	font-weight: 600;
}

.gazette-editorial {
	margin: 30px 0;
	padding: 0;
}

.gazette-takeaways {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 20px 25px;
	margin: 30px 0;
}
.gazette-takeaways h2 {
	font-size: 20px;
	margin-top: 0;
}

.gazette-section {
	margin: 40px 0;
	padding-top: 30px;
	border-top: 2px solid #eaeaea;
}
.gazette-section:first-of-type {
	border-top: none;
	padding-top: 0;
}

.gazette-pro-corner {
	background: linear-gradient(135deg, #10446d 0%, #1a5a8a 100%);
	color: #fff;
	padding: 25px 30px;
	border-radius: 8px;
	margin: 30px 0;
}
.gazette-pro-corner h2,
.gazette-pro-corner h3 {
	color: #fff;
}
.gazette-pro-corner a {
	color: #f39c12;
	font-weight: 600;
}

.gazette-grants h2 {
	font-size: 22px;
	border-bottom: 2px solid #10446d;
	padding-bottom: 8px;
}
.gazette-grants h3 {
	font-size: 18px;
	margin-top: 25px;
	color: #10446d;
}
.gazette-grants p {
	margin: 8px 0;
}

.gazette-gov-updates {
	background: #f5f8fc;
	padding: 20px 25px;
	border-radius: 6px;
	margin: 30px 0;
}
.gazette-gov-updates h2 {
	margin-top: 0;
}

.gazette-footer {
	background: #333;
	color: #ccc;
	padding: 25px 30px;
	border-radius: 6px;
	margin-top: 40px;
	font-size: 14px;
}
.gazette-footer a {
	color: #f39c12;
}

/* ----------------------------------------------------------------------------
   Province archive — visual parity with single-gazette.php
   ---------------------------------------------------------------------------- */

.province-archive {
	/* Reuses .gazette-wrap max-width/padding/font from earlier in this file */
}

.province-archive-header {
	margin: 0 0 32px;
	padding-bottom: 24px;
	border-bottom: 2px solid #eaeaea;
}
.province-archive-header h1 {
	color: #10446d;
	font-size: 36px;
	margin: 0 0 12px;
	line-height: 1.2;
}
.province-archive .province-description {
	color: #555;
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.6;
}
.province-archive-meta {
	color: #888;
	font-size: 14px;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.province-archive-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	counter-reset: issue;
}
.province-archive-item {
	margin: 0 0 18px;
}
.province-archive-card {
	display: flex;
	gap: 24px;
	align-items: stretch;
	padding: 24px 28px;
	background: #fff;
	border: 1px solid #e5e9ef;
	border-left: 4px solid #10446d;
	border-radius: 8px;
	text-decoration: none !important;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.province-archive-card:hover {
	border-color: #c9d4e2;
	border-left-color: #3b92cd;
	box-shadow: 0 6px 18px rgba(16, 68, 109, 0.08);
	transform: translateY(-1px);
}

/* Date tile on the left — three-line stack like a calendar page */
.province-archive-date {
	flex: 0 0 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 14px 0;
	background: #f0f5fa;
	border-radius: 6px;
	color: #10446d;
	font-family: 'Poppins', sans-serif;
	line-height: 1;
}
.province-archive-month {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #3b92cd;
}
.province-archive-day {
	font-size: 30px;
	font-weight: 700;
	color: #10446d;
}
.province-archive-year {
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}

.province-archive-body {
	flex: 1 1 auto;
	min-width: 0;
}
.province-archive-title {
	font-size: 20px;
	color: #10446d;
	margin: 0 0 8px;
	line-height: 1.3;
	border-bottom: none;
	padding-bottom: 0;
}
.province-archive-excerpt {
	font-size: 15px;
	color: #4a5b6b;
	margin: 0 0 12px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.province-archive-cta {
	display: inline-block;
	font-size: 14px;
	color: #3b92cd;
	font-weight: 600;
	letter-spacing: 0.2px;
}
.province-archive-card:hover .province-archive-cta {
	color: #10446d;
}

@media (max-width: 600px) {
	.province-archive-card {
		flex-direction: column;
		gap: 14px;
		padding: 18px 20px;
	}
	.province-archive-date {
		flex: 0 0 auto;
		flex-direction: row;
		gap: 10px;
		padding: 10px 14px;
		justify-content: flex-start;
	}
	.province-archive-month,
	.province-archive-day,
	.province-archive-year {
		margin: 0;
		font-size: 14px;
	}
	.province-archive-day {
		font-size: 18px;
	}
}

/* Pagination */
.province-archive-pagination {
	margin: 32px 0 0;
	display: flex;
	justify-content: center;
}
.province-archive-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 4px;
	color: #10446d;
	border: 1px solid #d6dde6;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
}
.province-archive-pagination .page-numbers.current {
	background: #10446d;
	color: #fff;
	border-color: #10446d;
}
.province-archive-pagination .page-numbers:hover {
	background: #f0f5fa;
}

/* Empty state */
.province-archive-empty {
	background: #f8f8f8;
	border-radius: 8px;
	padding: 40px 28px;
	color: #666;
	text-align: center;
}
.province-archive-empty p {
	margin: 0 0 8px;
	font-size: 16px;
}
.province-archive-empty p:last-child {
	margin: 0;
	font-size: 14px;
	color: #888;
}
