/* LNTA News Archive — the News/Blog listing.

   The card anatomy deliberately matches the homepage news strip (white
   card, 16:9 image, green title, gold "Read more", date on its own
   footer row) so the two read as one family. Two-class selectors
   throughout, because of the site-wide `.elementor * { color:#fff }`
   rule in so-css-tourm.css, which beats any single-class rule and loads
   after plugin stylesheets. */

.lna-archive {
	width: 100%;
}

.lna-archive .lna-count {
	margin: 0 0 22px;
	color: #6b7280 !important;
	font-size: 0.92rem;
}

.lna-archive .lna-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

/* ---------- Card ---------- */

.lna-archive .lna-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e6e8de;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(15, 47, 15, 0.07);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.lna-archive .lna-card:hover {
	box-shadow: 0 12px 32px rgba(15, 47, 15, 0.13);
	transform: translateY(-6px);
}

.lna-archive .lna-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f7f8f3;
}

.lna-archive .lna-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.lna-archive .lna-card:hover .lna-card__media img {
	transform: scale(1.06);
}

/* Not every story has a featured image; a flat tint reading as a
   deliberate blank beats a broken-image frame or a collapsed card. */
.lna-archive .lna-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(34, 83, 33, 0.10), rgba(240, 168, 24, 0.12)),
		#f1f5ef;
}

.lna-archive .lna-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 20px 20px 16px;
}

.lna-archive .lna-card__title {
	margin: 0 0 10px;
	font-size: 1.1rem;
	line-height: 1.35;
	font-weight: 700;
}

.lna-archive .lna-card__title a {
	color: #225321 !important;
	text-decoration: none;
}

.lna-archive .lna-card__title a:hover {
	text-decoration: underline;
}

/* Clamped so uneven story lengths can't make one card tower over its
   neighbours in the same row. */
.lna-archive .lna-card__excerpt {
	margin: 0 0 16px;
	color: #4b5563 !important;
	font-size: 0.95rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* margin-top:auto pins the read-more and date to the foot of the card,
   so they line up across a row whatever the title and excerpt do. */
.lna-archive .lna-card__more {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #b8790b !important;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.lna-archive .lna-card__more:hover {
	color: #8f5d07 !important;
}

.lna-archive .lna-card__arrow {
	transition: transform 0.2s ease;
}

.lna-archive .lna-card__more:hover .lna-card__arrow {
	transform: translateX(3px);
}

.lna-archive .lna-card__date {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid #eef0e8;
	color: #6b7280 !important;
	font-size: 0.85rem;
}

/* ---------- Pagination ---------- */

.lna-archive .lna-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 44px;
}

.lna-archive .lna-pager__numbers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.lna-archive .lna-pager__num,
.lna-archive .lna-pager__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	/* 44px is the smallest comfortable fingertip target. */
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #dfe4da;
	border-radius: 999px;
	background: #ffffff;
	color: #225321 !important;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lna-archive .lna-pager__num:hover,
.lna-archive .lna-pager__step:hover {
	background: #f3f7f1;
	border-color: #225321;
}

.lna-archive .lna-pager__num.is-current {
	background: #225321;
	border-color: #225321;
	color: #ffffff !important;
}

.lna-archive .lna-pager__gap {
	padding: 0 2px;
	color: #9ca3af !important;
}

.lna-archive .lna-empty {
	margin: 0;
	padding: 48px 0;
	text-align: center;
	color: #4b5563 !important;
}

.lna-archive .lna-empty a {
	color: #b8790b !important;
	font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	/* The theme widget this replaces brought its own .container padding;
	   below the desktop breakpoint the Elementor column has none, so the
	   cards would otherwise run hard into both screen edges. */
	.lna-archive {
		padding-left: 16px;
		padding-right: 16px;
	}

	.lna-archive .lna-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}
}

@media (max-width: 575px) {
	.lna-archive .lna-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.lna-archive .lna-pager {
		margin-top: 32px;
		gap: 8px;
	}

	/* Prev/Next get their own full-width row on a phone; the numbers
	   between them stay centred underneath. */
	.lna-archive .lna-pager__step {
		flex: 1 1 100%;
	}

	/* A 26px line of text is a poor touch target, so the read-more link
	   gets a fingertip's worth of height without changing how it looks. */
	.lna-archive .lna-card__more {
		min-height: 44px;
		align-items: center;
	}
}
