/* ─── AL Blog templates — shared by blog.html (index) and post.html (single) ───
   Everything else comes from base.css, page.css, blog.css and contact.css.
   Only genuinely new components live here. */

/* ── Featured post — the .al-post treatment, laid on its side ── */
.al-featured { margin-bottom: 56px; }
.al-featured .al-post { display: grid; grid-template-columns: 1.05fr .95fr; }
.al-featured .al-post > * { min-width: 0; }
.al-featured .al-post__media { aspect-ratio: auto; height: 100%; min-height: 320px; position: relative; }
.al-featured .al-post__body { padding: 40px 44px 42px; justify-content: center; }
.al-featured .al-post h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.al-featured .al-post p { font-size: 16.5px; color: var(--ink-3); margin: 0 0 20px; }

.al-ftag {
	position: absolute; top: 18px; left: 18px; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display); font-size: 11.5px; font-weight: 800;
	letter-spacing: .14em; text-transform: uppercase;
	padding: 8px 14px; border-radius: var(--r-pill);
	background: #fff; color: var(--ink); box-shadow: var(--shadow-1);
}

/* ── Post card extras used by both templates ── */
.al-post__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	font-size: 13.5px; color: var(--ink-3); margin: 0 0 12px;
}
.al-post__meta span + span::before { content: "·"; margin-right: 10px; color: var(--line); }
.al-postgrid .al-post h3 { font-size: 20px; line-height: 1.32; }
.al-postgrid .al-post__body { padding: 22px 24px 24px; }
.al-postgrid .al-post p { font-size: 15px; color: var(--ink-3); margin: 0 0 18px; }

.al-post:focus-visible, .al-spost:focus-visible, .al-sidechips a:focus-visible,
.al-close__cta a:focus-visible {
	outline: 3px solid var(--red); outline-offset: 3px; border-radius: var(--r);
}

/* ── Wide dark call panel — the one dark anchor, on both templates ── */
.al-panel--wide { padding: 44px 48px 46px; }
.al-panel--wide .al-panel__in {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.al-panel--wide .al-panel__in > * { min-width: 0; }
.al-panel--wide h3 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 12px; }
.al-panel--wide p { font-size: 16.5px; margin: 0; }
.al-panel__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
/* page.css gives the phone a stacked-panel margin — it decentres it in this row */
.al-panel__act .al-combo__phone { margin-bottom: 0; }
/* 520 is where phone + gap + button stop fitting one line and the button strands */
@media (max-width: 520px) { .al-panel__act .al-btn { width: 100%; } }

/* ── Single post: head meta ── */
.al-pcat {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display); font-size: 11.5px; font-weight: 800;
	letter-spacing: .14em; text-transform: uppercase; color: var(--red);
	padding: 7px 14px; border-radius: var(--r-pill);
	background: var(--red-soft); text-decoration: none; margin-bottom: 16px;
}
.al-ptitle { font-size: clamp(31px, 3.9vw, 46px); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.al-pmeta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.al-pmeta__when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.al-pmeta__mark {
	width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden;
	background: var(--bone); display: block;
}
/* no mark file — crop to the mascot, which measures x1-66 of the 274px wordmark */
.al-pmeta__mark img { width: 100%; height: 100%; object-fit: cover; object-position: 3px center; }
.al-pmeta__by { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); }
.al-pmeta__sep { width: 1px; height: 20px; background: var(--line); flex: none; }
.al-pmeta__item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-3); }
.al-pmeta__item svg { width: 14px; height: 14px; stroke: var(--ink-3); stroke-width: 2; flex: none; }

.al-plead { margin: 36px 0; }
.al-plead img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-1); aspect-ratio: 16 / 9; object-fit: cover; }
.al-plead figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* ── Closing conversion block (white — depth from shadow) ── */
.al-close {
	background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-1);
	padding: 44px 48px 46px;
	display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.al-close > * { min-width: 0; }
.al-close h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 10px; }
.al-close p { margin: 0; font-size: 16.5px; color: var(--ink-3); max-width: 56ch; }
.al-close__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Responsive — breakpoints match page.css ── */
@media (max-width: 1080px) {
	.al-panel--wide .al-panel__in { grid-template-columns: 1fr; gap: 28px; }
	.al-featured .al-post__body { padding: 32px 34px 34px; }
}
@media (max-width: 900px) {
	.al-featured .al-post { grid-template-columns: 1fr; }
	.al-featured .al-post__media { aspect-ratio: 16/9; height: auto; min-height: 0; }
	.al-close { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	/* second line aligns under the name: 40px mark + 14px gap */
	.al-pmeta__when { width: 100%; margin-left: 54px; }
	.al-pmeta__sep { display: none; }
}
@media (max-width: 720px) {
	.al-featured { margin-bottom: 36px; }
	.al-featured .al-post__body { padding: 26px 24px 28px; }
	.al-panel--wide { padding: 30px 24px 32px; }
	.al-close { padding: 30px 24px 32px; }
	.al-close__cta a { width: 100%; }
}

/* ── Blog index sidebar ── */
.al-sidelist--num { counter-reset: al-n; }
.al-sidelist--num a::before {
	counter-increment: al-n; content: "0" counter(al-n);
	font-family: var(--font-display); font-weight: 800; font-size: 13px;
	color: var(--red); margin-right: 12px; flex: none;
}
/* space-between would centre the title between number and arrow on one-line items */
.al-sidelist--num a { align-items: flex-start; justify-content: flex-start; line-height: 1.4; }
.al-sidelist--num a svg { margin-top: 3px; margin-left: auto; }

.al-sidechips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.al-sidechips a {
	display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill);
	background: var(--bone); color: var(--ink-2); text-decoration: none;
	font-size: 14px; font-weight: 600;
	transition: background .16s ease, color .16s ease;
}
.al-sidechips a:hover { background: var(--ink); color: #fff; }

/* ── Index post list — one column of rows, thumbnail left ── */
.al-postgrid--rows { display: grid; gap: 20px; }
.al-postgrid--rows .al-post { flex-direction: row; align-items: stretch; }
.al-postgrid--rows .al-post__media { flex: none; width: 264px; aspect-ratio: auto; }
.al-postgrid--rows .al-post__body { padding: 26px 30px 26px 28px; }
.al-postgrid--rows .al-post h3 { font-size: 22px; margin-bottom: 10px; }
.al-postgrid--rows .al-post p { margin-bottom: 16px; }
.al-postgrid--rows .al-post:hover { transform: translateY(-3px); }
@media (max-width: 620px) {
	.al-postgrid--rows .al-post { flex-direction: column; }
	.al-postgrid--rows .al-post__media { width: auto; aspect-ratio: 16/9; }
	.al-postgrid--rows .al-post__body { padding: 22px 24px 24px; }
}
