/* =====================================================================
   Blog — single posts, the archive index, post cards and the related rail.

   Loaded alongside elite2026-specialty.css (hero, breadcrumb) and the
   strategy block's stylesheet (the Expert NOW bar), so only blog-specific
   rules live here.

   Added 28 Sep 2026 for the imported blog (234 posts). Revised same day:
   single-column reading measure, slim prev/next, pill filters, card carousel.
   ===================================================================== */

/* ---- Hero additions -------------------------------------------------- */

.elite2026-post__meta {
	margin: 20px 0 0;
	font-family: var(--elite2026-font-sans);
	font-size: 15px;
	line-height: 24px;
	color: var(--elite2026-muted-on-dark);
}

.elite2026-post .elite2026-specialty__hero .elite2026-eyebrow,
.elite2026-blogindex .elite2026-specialty__hero .elite2026-eyebrow {
	color: var(--elite2026-blue);
	margin-bottom: 14px;
}

/* ---- Single post body ------------------------------------------------ */

.elite2026-post__body {
	background: var(--elite2026-white);
	padding-block: var(--elite2026-section-pad);
}

/* One centred column. The aside was dropped in review: the Expert NOW bar
   now carries the call to action, which buys the article a proper measure. */
.elite2026-post__column {
	max-width: 760px;
	margin-inline: auto;
}

/* Featured image. Sources run 800-2560px wide at ratios from 1.25 to 1.50,
   so the box sets the ratio and the image covers it. */
.elite2026-post__figure {
	margin: 0 0 clamp(28px, 3.5vw, 44px);
	border-radius: var(--elite2026-radius-card);
	overflow: hidden;
	background: var(--elite2026-card-light);
	box-shadow: var(--elite2026-elev-1);
}
.elite2026-post__figure-img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* ---- Prose ----------------------------------------------------------- */

/* 203 of the 234 imported posts are flat paragraph runs with no headings, so
   this rhythm carries most of the reading experience on its own. */
.elite2026-post__prose {
	font-size: 17px;
	line-height: 30px;
	color: var(--elite2026-text-body);
}
.elite2026-post__prose > *:first-child { margin-top: 0; }
.elite2026-post__prose > *:last-child { margin-bottom: 0; }

.elite2026-post__prose p { margin: 0 0 24px; }

.elite2026-post__prose h2,
.elite2026-post__prose h3,
.elite2026-post__prose h4 {
	font-family: var(--elite2026-font-serif);
	font-weight: 500;
	color: var(--elite2026-text-dark);
	margin: 44px 0 16px;
	line-height: 1.22;
}
.elite2026-post__prose h2 { font-size: clamp(26px, 2.6vw, 32px); }
.elite2026-post__prose h3 { font-size: clamp(21px, 2vw, 25px); }
.elite2026-post__prose h4 { font-size: 19px; }

.elite2026-post__prose strong { font-weight: 700; color: var(--elite2026-text-dark); }

.elite2026-post__prose ul,
.elite2026-post__prose ol { margin: 0 0 24px; padding-left: 22px; }
.elite2026-post__prose li { margin-bottom: 10px; }

.elite2026-post__prose a { color: var(--elite2026-blue); }

.elite2026-post__prose blockquote {
	margin: 32px 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--elite2026-blue);
	font-family: var(--elite2026-font-serif);
	font-size: 21px;
	line-height: 1.5;
	color: var(--elite2026-text-dark);
}

/* Imported posts carry inline width/height attributes and alignment classes. */
.elite2026-post__prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--elite2026-radius);
}
.elite2026-post__prose figure { margin: 32px 0; }
.elite2026-post__prose figcaption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 22px;
	color: #5A6175;
}
.elite2026-post__prose .alignleft { float: left; margin: 6px 28px 20px 0; }
.elite2026-post__prose .alignright { float: right; margin: 6px 0 20px 28px; }
.elite2026-post__prose .aligncenter { display: block; margin-inline: auto; }
.elite2026-post__prose::after { content: ""; display: block; clear: both; }

.elite2026-post__prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 15px;
}
.elite2026-post__prose th,
.elite2026-post__prose td {
	padding: 10px 12px;
	border: 1px solid var(--elite2026-border);
	text-align: left;
}

/* ---- Prev / next ----------------------------------------------------- */

/* A slim editorial strip rather than two boxes: a hairline rule, a chevron,
   a small label and the title. */
.elite2026-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(16px, 2.4vw, 32px);
	margin-top: clamp(44px, 5vw, 68px);
	padding-top: clamp(24px, 2.6vw, 32px);
	border-top: 1px solid var(--elite2026-border);
}

.elite2026-postnav__link {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--elite2026-text-dark);
	padding: 4px 0;
}
/* A post with no previous still puts its "Next" in the right column. */
.elite2026-postnav__link--next:only-child { grid-column: 2; }
.elite2026-postnav__link--next { justify-content: flex-end; text-align: right; }

.elite2026-postnav__arrow {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--elite2026-border);
	border-radius: 50%;
	color: var(--elite2026-blue);
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.elite2026-postnav__link:hover .elite2026-postnav__arrow,
.elite2026-postnav__link:focus .elite2026-postnav__arrow {
	background: var(--elite2026-blue);
	border-color: var(--elite2026-blue);
	color: var(--elite2026-white);
}

.elite2026-postnav__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.elite2026-postnav__label {
	font-family: var(--elite2026-font-sans);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5A6175;
}
.elite2026-postnav__title {
	font-family: var(--elite2026-font-serif);
	font-size: 18px;
	line-height: 1.32;
	color: var(--elite2026-text-dark);
	/* Titles run long; two lines keeps the strip slim. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.elite2026-postnav__link:hover .elite2026-postnav__title,
.elite2026-postnav__link:focus .elite2026-postnav__title { color: var(--elite2026-blue); }

/* ---- Expert NOW bar on posts ----------------------------------------- */

/* In the strategy block the bar is the last child of a padded section; used
   standalone it follows a section that has already closed, so drop the margin. */
.elite2026-postnow { margin-top: 0; }

/* ---- Archive index --------------------------------------------------- */

.elite2026-blogindex__body {
	background: var(--elite2026-white);
	padding-block: var(--elite2026-section-pad);
}

.elite2026-blogindex__empty {
	font-size: 17px;
	line-height: 30px;
	color: var(--elite2026-text-body);
}

/* ---- Article search -------------------------------------------------
   Reuses the specialty search engine (js/specialty-index.js) scoped to
   articles, restyled for a light surface. The result rows keep the
   elite2026-index__* class names the script emits. */

.elite2026-blogsearch { margin-bottom: clamp(24px, 3vw, 36px); }

.elite2026-blogsearch__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 6px 4px 16px;
	border: 1px solid var(--elite2026-border);
	border-radius: 999px;
	background: var(--elite2026-white);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.elite2026-blogsearch__bar:focus-within {
	border-color: var(--elite2026-blue);
	box-shadow: 0 0 0 3px var(--elite2026-blue-soft);
}
.elite2026-blogsearch__icon { flex: none; color: #5A6175; line-height: 0; }

.elite2026-blogsearch__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: none;
	padding: 13px 0;
	font-family: var(--elite2026-font-sans);
	font-size: 16px;
	color: var(--elite2026-text-dark);
}
.elite2026-blogsearch__input:focus { outline: none; }
.elite2026-blogsearch__input::-webkit-search-cancel-button { display: none; }

.elite2026-blogsearch__clear {
	flex: none;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: none;
	font-size: 22px;
	line-height: 1;
	color: #5A6175;
	cursor: pointer;
}
.elite2026-blogsearch__clear:hover { color: var(--elite2026-text-dark); }
.elite2026-blogsearch__clear:focus-visible { outline: 2px solid var(--elite2026-blue); outline-offset: 2px; }

.elite2026-blogsearch__results {
	list-style: none;
	margin: 0;
	padding: 0;
}
.elite2026-blogsearch__results:not(:empty) { margin-top: 14px; }

.elite2026-blogsearch__results .elite2026-index__result { display: flex; min-width: 0; }
.elite2026-blogsearch__results .elite2026-index__result a {
	display: block;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--elite2026-border);
	border-radius: var(--elite2026-radius);
	margin-bottom: 8px;
	text-decoration: none;
	font-weight: 600;
	color: var(--elite2026-text-dark);
	background: var(--elite2026-white);
	transition: border-color 0.18s ease, background-color 0.18s ease;
}
.elite2026-blogsearch__results .elite2026-index__result a:hover,
.elite2026-blogsearch__results .elite2026-index__result a:focus-visible {
	border-color: var(--elite2026-blue);
	background: var(--elite2026-blue-soft);
}
.elite2026-blogsearch__results .elite2026-index__result a small {
	display: block;
	margin-top: 3px;
	font-weight: 400;
	font-size: 13px;
	color: #5A6175;
}
.elite2026-blogsearch__results .elite2026-index__result.is-secondary a { color: #5A6175; }

.elite2026-blogsearch__results .elite2026-index__result-label,
.elite2026-blogsearch__results .elite2026-index__result-group {
	margin: 12px 0 6px;
	font-family: var(--elite2026-font-sans);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #5A6175;
}
.elite2026-blogsearch__results .elite2026-index__result-group { color: var(--elite2026-blue); }
.elite2026-blogsearch__results .elite2026-index__result-group:first-child { margin-top: 0; }
.elite2026-blogsearch__results .elite2026-index__result-more {
	margin: 2px 0 0;
	font-size: 13px;
	color: #5A6175;
}

.elite2026-blogsearch__empty {
	margin: 14px 0 0;
	font-size: 15px;
	color: #5A6175;
}

/* ---- Category pills -------------------------------------------------- */

.elite2026-pills { margin-bottom: clamp(28px, 3.2vw, 44px); }

.elite2026-pills__label {
	margin: 0 0 14px;
	font-family: var(--elite2026-font-sans);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5A6175;
}

/* Capped rather than left to fill the 1280 shell: across the full width the
   eight pills ran 7 + 1, leaving News orphaned on its own line. Wrapping at
   800px splits them into two balanced rows instead. */
.elite2026-pills__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 800px;
}

.elite2026-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border: 1px solid var(--elite2026-border);
	border-radius: 999px;
	background: var(--elite2026-white);
	font-family: var(--elite2026-font-sans);
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	color: var(--elite2026-text-dark);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.elite2026-pill:hover,
.elite2026-pill:focus {
	border-color: var(--elite2026-blue);
	color: var(--elite2026-blue);
}

.elite2026-surface-light a.elite2026-pill,
.elite2026-surface-light a.elite2026-pill:visited { color: var(--elite2026-text-dark); }
.elite2026-surface-light a.elite2026-pill:hover,
.elite2026-surface-light a.elite2026-pill:focus { color: var(--elite2026-blue); }

.elite2026-pill--active,
.elite2026-surface-light a.elite2026-pill--active,
.elite2026-surface-light a.elite2026-pill--active:visited {
	background: var(--elite2026-blue);
	border-color: var(--elite2026-blue);
	color: var(--elite2026-white);
}

.elite2026-pill__count {
	font-size: 12px;
	font-weight: 700;
	color: #5A6175;
}
.elite2026-pill--active .elite2026-pill__count { color: rgba(255, 255, 255, 0.78); }

/* ---- Post card (archive grid + related rail) ------------------------- */

.elite2026-postgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 28px);
	align-items: stretch;
}

.elite2026-postcard {
	display: flex;
	flex-direction: column;
	background: var(--elite2026-white);
	border: 1px solid var(--elite2026-border);
	border-radius: var(--elite2026-radius-card);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.elite2026-postcard:hover,
.elite2026-postcard:focus {
	transform: translateY(-3px);
	border-color: var(--elite2026-blue-border);
	box-shadow: var(--elite2026-elev-2);
}

.elite2026-postcard__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 24px;
	flex: 1 1 auto;
}

.elite2026-postcard__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	font-family: var(--elite2026-font-sans);
	font-size: 12px;
	line-height: 18px;
}
.elite2026-postcard__cat {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--elite2026-blue);
}
.elite2026-postcard__date { color: #5A6175; }

.elite2026-postcard__title {
	margin: 0;
	font-family: var(--elite2026-font-serif);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.28;
	color: var(--elite2026-text-dark);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.elite2026-postcard__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 23px;
	color: var(--elite2026-text-body);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Matches a.elite2026-btn--blue in style.css. It stays a <span> because the
   whole card is already one link — a nested <a> would be invalid markup and a
   keyboard trap — so the hover is driven from the card instead. */
.elite2026-postcard__more {
	align-self: flex-start;
	/* auto pushes it to the card's base; the body's 10px gap is the floor when
	   a short card leaves no slack. */
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var(--elite2026-radius);
	background: var(--elite2026-blue);
	color: var(--elite2026-white);
	font-family: var(--elite2026-font-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 21px;
	letter-spacing: 0.42px;
	white-space: nowrap;
	transition: background 0.18s ease;
}
@media (hover: hover) {
	.elite2026-postcard:hover .elite2026-postcard__more {
		background: #2c79e8;
	}
}
.elite2026-postcard:focus-visible .elite2026-postcard__more { background: #2c79e8; }

/* ---- Thumbnail + brand fallback -------------------------------------- */

/* Every card image is boxed to 3:2 because the imported sources vary from
   1.25 to 1.50. 14 of the 234 posts have no featured image and get the navy
   panel with the white logo instead — the logo is white with alpha, so it
   needs a dark ground to be visible at all. */
.elite2026-postthumb {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--elite2026-card-light);
	flex: none;
}
.elite2026-postthumb__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.elite2026-postthumb--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--elite2026-navy);
}
.elite2026-postthumb__logo {
	width: 58%;
	max-width: 220px;
	height: auto;
	opacity: 0.92;
}

/* ---- Related rail ---------------------------------------------------- */

.elite2026-related {
	background: var(--elite2026-card-light);
	padding-block: var(--elite2026-section-pad);
	border-top: 1px solid var(--elite2026-border);
}

.elite2026-related__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(22px, 2.6vw, 32px);
}
.elite2026-related__heading { min-width: 0; }
.elite2026-related__head .elite2026-eyebrow { margin: 0 0 8px; }

.elite2026-related__all {
	font-family: var(--elite2026-font-sans);
	font-weight: 700;
	font-size: 15px;
	color: var(--elite2026-blue);
	text-decoration: none;
}
.elite2026-related__all:hover,
.elite2026-related__all:focus { text-decoration: underline; }

/* Hidden until the script confirms there is something to scroll. Without JS
   the track is still usable by drag, wheel, trackpad and keyboard. */
.elite2026-related__controls { display: none; gap: 10px; flex: none; }
.elite2026-related.is-ready .elite2026-related__controls { display: flex; }

.elite2026-railbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--elite2026-border);
	border-radius: 50%;
	background: var(--elite2026-white);
	color: var(--elite2026-text-dark);
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.elite2026-railbtn:hover:not(:disabled),
.elite2026-railbtn:focus:not(:disabled) {
	background: var(--elite2026-blue);
	border-color: var(--elite2026-blue);
	color: var(--elite2026-white);
}
.elite2026-railbtn:disabled { opacity: 0.35; cursor: default; }

.elite2026-rail__track {
	display: flex;
	gap: clamp(16px, 2.2vw, 28px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	/* Room for the card lift and its shadow, which would otherwise be clipped. */
	padding: 6px 0 14px;
	margin: -6px 0 -14px;
	scrollbar-width: thin;
}
.elite2026-rail__track > .elite2026-postcard {
	flex: 0 0 calc((100% - 2 * clamp(16px, 2.2vw, 28px)) / 3);
	scroll-snap-align: start;
}
.elite2026-rail__track:focus-visible {
	outline: 2px solid var(--elite2026-blue);
	outline-offset: 4px;
}

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

.elite2026-pagination {
	margin-top: clamp(36px, 4vw, 56px);
	padding-top: clamp(24px, 2.6vw, 32px);
	border-top: 1px solid var(--elite2026-border);
}
.elite2026-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.elite2026-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--elite2026-border);
	border-radius: var(--elite2026-radius);
	font-family: var(--elite2026-font-sans);
	font-weight: 700;
	font-size: 15px;
	color: var(--elite2026-text-dark);
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.elite2026-pagination a.page-numbers:hover,
.elite2026-pagination a.page-numbers:focus {
	border-color: var(--elite2026-blue);
	color: var(--elite2026-blue);
}
.elite2026-pagination .page-numbers.current {
	background: var(--elite2026-blue);
	border-color: var(--elite2026-blue);
	color: var(--elite2026-white);
}
.elite2026-pagination .page-numbers.dots { border-color: transparent; }

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

@media (max-width: 1024px) {
	.elite2026-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elite2026-rail__track > .elite2026-postcard {
		flex-basis: calc((100% - clamp(16px, 2.2vw, 28px)) / 2);
	}
}

@media (max-width: 720px) {
	.elite2026-post__prose { font-size: 16px; line-height: 28px; }
	.elite2026-postgrid { grid-template-columns: 1fr; }
	.elite2026-rail__track > .elite2026-postcard { flex-basis: 86%; }

	.elite2026-postnav { grid-template-columns: 1fr; gap: 20px; }
	.elite2026-postnav__link--next:only-child { grid-column: 1; }
	.elite2026-postnav__link--next { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }

	.elite2026-related__head { flex-direction: column; align-items: flex-start; gap: 16px; }

	.elite2026-post__prose .alignleft,
	.elite2026-post__prose .alignright { float: none; margin: 0 0 20px; }

	/* Pills scroll horizontally rather than stacking into a tall block. */
	.elite2026-pills__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
		scrollbar-width: none;
	}
	.elite2026-pills__list::-webkit-scrollbar { display: none; }
}
