/**
 * Shared landing-template styles (service + route/lane pages): real
 * (crawlable) hero image, freshness line, secondary-keyphrase chips and
 * related-card spacing. Loaded after aver-sections.css so it can lean on the
 * shared design tokens.
 */

/* --- Route: answer-first summary (extractable one-liner) --- */
.aver-answer {
	max-width: 70ch;
	margin: 0 auto;
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.6;
	font-weight: 500;
	color: var(--aver-ink, #0f2540);
}
.aver-answer strong { font-weight: 700; }

/* --- Article: key-takeaways callout --- */
.aver-takeaways {
	background: rgba(15, 37, 64, 0.04);
	border-left: 4px solid var(--aver-red, #e1121a);
	border-radius: 10px;
	padding: 1.1rem 1.4rem;
	margin: 0 0 1.75rem;
}
.aver-takeaways__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}
.aver-takeaways__title .aver-icon { width: 1.1em; height: 1.1em; color: var(--aver-red, #e1121a); }
.aver-takeaways ul { margin: 0; padding-left: 1.2rem; }
.aver-takeaways li { margin: 0.3rem 0; }

/* --- Article: table of contents (jump links) --- */
.aver-toc {
	background: #fff;
	border: 1px solid rgba(15, 37, 64, 0.1);
	border-radius: 10px;
	padding: 1rem 1.25rem;
	margin: 0 0 1.75rem;
}
.aver-toc__title {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #565c66;
	margin-bottom: 0.5rem;
}
.aver-toc ol { margin: 0; padding-left: 1.2rem; }
.aver-toc li { margin: 0.3rem 0; }
.aver-toc a { text-decoration: none; }
.aver-toc a:hover { text-decoration: underline; }

/* --- Article: source attribution + share row --- */
.aver-article__source { margin-top: 2rem; font-size: 0.9rem; color: #565c66; }

/* --- Article: first-hand note + author box (E-E-A-T, #109/#111) --- */
.aver-experience {
	margin: 0 0 1.75rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--aver-red);
	background: var(--aver-bg-alt);
	border-radius: 0 var(--aver-radius-sm) var(--aver-radius-sm) 0;
}
.aver-experience__label,
.aver-author-box__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aver-red-dark);
}
.aver-experience__note { margin: 0.4rem 0; font-style: italic; color: var(--aver-ink); }
.aver-experience__by { font-size: 0.85rem; font-weight: 600; color: #565c66; }
.aver-author-box {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin: 2rem 0 1rem;
	padding: 1.25rem;
	border: 1px solid var(--aver-line);
	border-radius: var(--aver-radius);
}
.aver-author-box__photo { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.aver-author-box__body { min-width: 0; }
.aver-author-box__name { display: inline-block; margin-top: 0.2rem; font-weight: 700; font-size: 1.05rem; color: var(--aver-ink); }
.aver-author-box__role { display: block; font-size: 0.85rem; color: #565c66; }
.aver-author-box__bio { margin: 0.5rem 0 0; font-size: 0.92rem; }
@media (max-width: 520px) {
	.aver-author-box { flex-direction: column; }
}
.aver-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0;
}
.aver-share__label { font-weight: 700; font-size: 0.85rem; }
.aver-share__btn {
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(15, 37, 64, 0.15);
	background: #fff;
	color: var(--aver-ink, #0f2540);
	text-decoration: none;
	cursor: pointer;
	line-height: 1.4;
}
.aver-share__btn:hover { background: rgba(15, 37, 64, 0.05); }

/* --- Article: two-column layout with a sticky left-hand ToC --- */
.aver-article-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 720px);
	gap: 3rem;
	max-width: 1020px;
	margin: 0 auto;
	align-items: start;
}
.aver-article-main { min-width: 0; }
.aver-toc--side { position: sticky; top: 110px; }

/* --- Article: in-body images --- */
.aver-article__figure { margin: 2rem 0; }
.aver-article__figure img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}
.aver-article__figure figcaption {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #565c66;
	text-align: center;
}

@media (max-width: 960px) {
	.aver-article-layout {
		grid-template-columns: 1fr;
		gap: 0;
		max-width: 760px;
	}
	.aver-toc--side { position: static; margin-bottom: 1.75rem; }
}

/* --- Real hero image (replaces the CSS background so it is indexable) --- */
.aver-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}
.aver-hero--page .aver-hero__overlay { z-index: 1; }
.aver-hero--page .aver-hero__inner   { position: relative; z-index: 2; }

/* --- Freshness / last-updated line (E-E-A-T + AI recency signal) --- */
.aver-meta-updated {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
}
.aver-meta-updated .aver-icon { width: 1em; height: 1em; }

/* --- Secondary keyphrase chips (topical coverage, scannable) --- */
.aver-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
.aver-tags li {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--aver-ink, #0f2540);
	background: rgba(15, 37, 64, 0.06);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
}

/* --- Related cards (services / lanes): reuse .aver-services__grid, just
       space the section. --- */
.aver-related .aver-head { margin-bottom: 2rem; }

/* --- Route trade-lane two-column card grid --- */
.aver-grid { display: grid; gap: 1.5rem; }
.aver-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .aver-grid--2 { grid-template-columns: 1fr; } }

/* --- Cross-mode link banner (sea <-> air paired page) --- */
.aver-crossmode {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
	padding: 1rem 1.25rem;
	background: rgba(15, 37, 64, 0.05);
	border-radius: 12px;
	font-size: 0.95rem;
}
.aver-crossmode .aver-icon { width: 1.4rem; height: 1.4rem; flex: 0 0 auto; }
.aver-crossmode a { font-weight: 600; text-decoration: underline; }

/* --- Inline cross-links to core services (descriptive internal linking) --- */
.aver-crosslink {
	margin-top: 1.25rem;
	font-size: 0.95rem;
	color: var(--aver-ink, #0f2540);
}
.aver-crosslink a { font-weight: 600; text-decoration: underline; }

/* Keep the section styles honest on very small screens. */
@media (max-width: 600px) {
	.aver-meta-updated { font-size: 0.8rem; }
}

/* --- Route/commodity: sources behind the page's figures --- */
.aver-sources__title { font-size: 1rem; margin: 0 0 0.5rem; color: var(--aver-ink, #0f2540); }
.aver-sources__list { margin: 0; padding-left: 1.25rem; font-size: 0.875rem; line-height: 1.6; }
