/* ==========================================================================
   WordPress's own pages on the design system: the blog and its archives,
   posts, plain pages (legal), search results, not found.
   Templates: site/templates/{blog,single,page,search,404}.php
   Loads after site.css; uses its tokens only, so both themes just work.
   ========================================================================== */

/* ── Covers: a post's picture, or its letters drawn in outline ──────────── */

.t1 .t1-cover {
	position: relative; display: block; overflow: hidden; isolation: isolate;
	aspect-ratio: 16 / 10; border-radius: var(--t1-radius-lg);
	background: var(--t1-night); color: var(--t1-on-night);
	container-type: inline-size;
}
.t1 .t1-cover--img { background: var(--t1-bg-alt); }
.t1 .t1-cover--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--t1-ease); }
/* A glow in the tone's colour and fine lines on the site's slant. */
.t1 .t1-cover:not(.t1-cover--img)::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(70% 90% at 88% 0%, var(--t1-cover-glow, rgba(231, 84, 128, .55)) 0%, transparent 62%),
		radial-gradient(60% 70% at 0% 100%, rgba(245, 161, 6, .14) 0%, transparent 70%),
		repeating-linear-gradient(-14deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 22px);
	transition: transform 1.2s var(--t1-ease);
}
.t1 .t1-cover--gold { --t1-cover-glow: rgba(245, 161, 6, .42); }
.t1 .t1-cover--ink { --t1-cover-glow: rgba(96, 118, 220, .5); }
.t1 .t1-cover__mark {
	position: absolute; left: 7%; bottom: 4%;
	font-family: var(--t1-font-head); font-weight: 600; line-height: .9; letter-spacing: .01em;
	/* As big as fits: a short mark fills the card, a long one shrinks. */
	font-size: min(34cqi, calc(78cqi / (var(--t1-len, 3) * .74))); white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1.5px var(--t1-gold);
}
.t1 .t1-cover__mark::after {
	content: attr(data-text); position: absolute; inset: 0;
	color: var(--t1-gold); -webkit-text-stroke: 0;
	clip-path: inset(100% 0 0 0);
	transition: clip-path .7s var(--t1-ease);
}
.t1 .t1-cover__cap {
	position: absolute; right: 7%; top: 9%; width: 13cqi; min-width: 26px; height: auto;
	fill: none; stroke: var(--t1-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9;
}

/* A title line that isn't a heading (pages whose URL has no H1 today) looks like one. */
.t1 p.t1-h1 { font-family: var(--t1-font-head); font-weight: 700; color: inherit; }

/* ── Search box ─────────────────────────────────────────────────────────── */

.t1 .t1-search {
	display: flex; align-items: center; gap: 10px;
	width: 100%; max-width: 520px; padding: 5px 5px 5px 18px;
	background: var(--t1-surface); border: 1.5px solid var(--t1-line); border-radius: 999px;
	box-shadow: var(--t1-shadow);
	transition: border-color .2s, box-shadow .2s;
}
.t1 .t1-search:focus-within { border-color: var(--t1-rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t1-rose) 18%, transparent), var(--t1-shadow); }
.t1 .t1-search__icon { width: 20px; flex: none; fill: none; stroke: var(--t1-ink-2); stroke-width: 2; stroke-linecap: round; }
.t1 .t1-search input {
	flex: 1; min-width: 0; height: 44px; padding: 0; margin: 0;
	border: 0; background: transparent; box-shadow: none; outline: none;
	font: 500 1rem/1.2 var(--t1-font-body); color: var(--t1-ink);
}
.t1 .t1-search input::placeholder { color: var(--t1-ink-2); opacity: .8; }
.t1 .t1-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.t1 .t1-search .t1-btn { flex: none; min-height: 44px; padding: 10px 20px; }
.t1 .t1-search input:focus-visible { outline: none; }

/* ── Blog hero: intro on the left, the newest post big on the right ─────── */

.t1 .t1-bloghero .t1-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.t1 .t1-bloghero.t1-hero--solo .t1-hero__grid { grid-template-columns: minmax(0, 1fr); }
.t1 .t1-bloghero .t1-hero__text { gap: 20px; }
.t1 .t1-bloghero__feature { position: relative; }

.t1 .t1-feature {
	position: relative; display: grid; gap: 18px;
	padding: 12px 12px 26px;
	background: var(--t1-surface); border: 1px solid var(--t1-line); border-radius: calc(var(--t1-radius-lg) + 8px);
	box-shadow: var(--t1-shadow-lift);
	transition: transform .5s var(--t1-ease), box-shadow .5s var(--t1-ease);
}
.t1 .t1-feature__cover { border-radius: var(--t1-radius-lg); }
.t1 .t1-feature__body { display: grid; gap: 10px; padding: 0 14px; }
.t1 .t1-feature__top { display: flex; align-items: center; gap: 10px; font-family: var(--t1-font-head); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t1-rose-text); }
.t1 .t1-feature__new { padding: 3px 10px; border-radius: 999px; background: var(--t1-rose-press); color: #fff; letter-spacing: .08em; }
.t1 .t1-feature__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.t1 .t1-feature__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--t1-ease); }
.t1 .t1-feature__excerpt { color: var(--t1-ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.t1 .t1-feature:hover { transform: translateY(-4px) rotate(-.4deg); }
.t1 .t1-feature:hover .t1-feature__title a { background-size: 100% 2px; }
.t1 .t1-feature:hover .t1-cover__mark::after, .t1 .t1-postcard:hover .t1-cover__mark::after, .t1 .t1-result:hover .t1-cover__mark::after { clip-path: inset(0 0 0 0); }
.t1 .t1-feature:hover .t1-cover::before, .t1 .t1-postcard:hover .t1-cover::before { transform: scale(1.08); }
.t1 .t1-feature:hover .t1-cover--img img, .t1 .t1-postcard:hover .t1-cover--img img { transform: scale(1.05); }
.t1 .t1-feature:has(.t1-stretch:focus-visible), .t1 .t1-postcard:has(.t1-stretch:focus-visible), .t1 .t1-result:has(.t1-stretch:focus-visible) { outline: 2px solid var(--t1-rose); outline-offset: 4px; border-radius: var(--t1-radius-lg); }

/* Topics */
.t1 .t1-catnav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.t1 .t1-catnav a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 15px; border-radius: 999px;
	background: var(--t1-surface); border: 1px solid var(--t1-line);
	font-family: var(--t1-font-head); font-weight: 500; font-size: .875rem; color: var(--t1-ink);
	transition: border-color .2s, color .2s, background-color .2s, transform .3s var(--t1-ease);
}
.t1 .t1-catnav a span { font-size: .75rem; color: var(--t1-ink-2); font-weight: 600; }
.t1 .t1-catnav a:hover { border-color: var(--t1-rose); color: var(--t1-rose-text); transform: translateY(-2px); }
.t1 .t1-catnav a[aria-current] { background: var(--t1-ink); border-color: var(--t1-ink); color: var(--t1-bg); }
.t1 .t1-catnav a[aria-current] span { color: inherit; opacity: .7; }

/* ── Post cards ─────────────────────────────────────────────────────────── */

.t1 .t1-blogroll__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.t1 .t1-blogroll__top .t1-head { margin-bottom: 0; }
.t1 .t1-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.5vw, 48px) clamp(20px, 2.4vw, 32px); }
.t1 .t1-postcard { position: relative; display: flex; flex-direction: column; gap: 16px; }
.t1 .t1-postcard__cover { box-shadow: var(--t1-shadow); transition: transform .5s var(--t1-ease), box-shadow .5s var(--t1-ease); }
.t1 .t1-postcard:hover .t1-postcard__cover { transform: translateY(-5px); box-shadow: var(--t1-shadow-lift); }
.t1 .t1-postcard__body { display: grid; gap: 8px; padding: 0 2px; }
.t1 .t1-postcard__cat { font-family: var(--t1-font-head); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t1-rose-text); }
.t1 .t1-postcard__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.t1 .t1-postcard__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--t1-ease); }
.t1 .t1-postcard:hover .t1-postcard__title a { background-size: 100% 1.5px; }
.t1 .t1-postcard__excerpt { font-size: .9375rem; color: var(--t1-ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.t1 .t1-postcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .8125rem; color: var(--t1-ink-2); }
@media (max-width: 1099px) { .t1 .t1-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.t1 .t1-postgrid { grid-template-columns: minmax(0, 1fr); }
	/* On a phone a card is a row: small cover, then the words. */
	.t1 .t1-postgrid .t1-postcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 14px; }
	.t1 .t1-postgrid .t1-postcard__cover { aspect-ratio: 1; border-radius: var(--t1-radius); }
	.t1 .t1-postgrid .t1-cover__mark { left: 9%; bottom: 8%; }
	.t1 .t1-postgrid .t1-postcard__title { font-size: 1.0625rem; }
	.t1 .t1-postgrid .t1-postcard__body { gap: 6px; padding: 2px 0 0; }
}

/* Pages */
.t1 .t1-pager { margin-top: clamp(40px, 5vw, 64px); }
.t1 .t1-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.t1 .t1-pager a, .t1 .t1-pager span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--t1-line); background: var(--t1-surface);
	font-family: var(--t1-font-head); font-weight: 600; font-size: .9375rem; color: var(--t1-ink);
	transition: border-color .2s, color .2s;
}
.t1 .t1-pager a:hover { border-color: var(--t1-rose); color: var(--t1-rose-text); }
.t1 .t1-pager .current { background: var(--t1-ink); border-color: var(--t1-ink); color: var(--t1-bg); }
.t1 .t1-pager .dots { border: 0; background: none; min-width: 0; }

.t1 .t1-empty { display: grid; justify-items: start; gap: 22px; }
.t1 .t1-empty .t1-head { margin-bottom: 0; }

/* ── Reading progress (posts) ───────────────────────────────────────────── */

.t1 .t1-progress { position: fixed; left: 0; right: 0; top: var(--t1-adminbar); z-index: 101; height: 3px; pointer-events: none; }
.t1 .t1-progress span {
	display: block; height: 100%;
	background: linear-gradient(90deg, var(--t1-rose), var(--t1-gold));
	transform: scaleX(0); transform-origin: 0 50%;
	border-radius: 0 3px 3px 0;
}

/* ── Post hero ──────────────────────────────────────────────────────────── */

.t1 .t1-hero--page.t1-posthero { padding-bottom: calc(var(--t1-slant) + 8px); }
.t1 .t1-posthero .t1-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.t1 .t1-posthero .t1-hero__text { gap: 20px; }
.t1 .t1-posthero .t1-hero__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); text-wrap: balance; }
.t1 .t1-posthero--long .t1-hero__title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
.t1 .t1-posthero__visual { position: relative; }
.t1 .t1-posthero__cover { aspect-ratio: 5 / 4; box-shadow: var(--t1-shadow-lift); transform: rotate(1.5deg); }
/* A gold drawn frame behind the cover, offset, like a second sheet. */
.t1 .t1-posthero__visual::before {
	content: ""; position: absolute; inset: 0; border: 1.5px solid var(--t1-gold); border-radius: var(--t1-radius-lg);
	transform: translate(-14px, 14px) rotate(-2deg); opacity: .7;
}

.t1 .t1-byline { display: flex; align-items: center; gap: 12px; }
.t1 .t1-byline__avatar {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: var(--t1-rose-wash); color: var(--t1-rose-text); border: 1.5px solid var(--t1-gold);
	font-family: var(--t1-font-head); font-weight: 700;
}
.t1 .t1-byline__text { display: grid; line-height: 1.35; }
.t1 .t1-byline__who { font-family: var(--t1-font-head); font-weight: 600; font-size: .9375rem; }
.t1 .t1-byline__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; color: var(--t1-ink-2); }

@media (max-width: 960px) {
	.t1 .t1-posthero__visual { margin: 18px 10px 24px 14px; }
	.t1 .t1-posthero .t1-crumbs li:last-child { display: none; }
	.t1 .t1-posthero__cover { aspect-ratio: 16 / 9; }
	.t1 .t1-bloghero__feature { margin-top: 20px; }
}

/* ── The article: content, contents, booking card ───────────────────────── */

/* The article sits close under its hero: the band above has the same ground. */
.t1 .t1-band--rise.t1-postbody { padding-top: calc(var(--t1-slant) + clamp(16px, 2vw, 32px)); }
.t1 .t1-postbody .t1-article__grid { grid-template-columns: minmax(0, 1fr) 300px; }
.t1 .t1-postbody .t1-prose { max-width: 74ch; }
@media (max-width: 960px) { .t1 .t1-postbody .t1-article__grid { grid-template-columns: minmax(0, 1fr); } }
.t1 .t1-postbody .t1-prose > :first-child { margin-top: 0; }

.t1 .t1-toc { display: grid; gap: 12px; }
.t1 .t1-toc__title, .t1 .t1-toc-m summary {
	font-family: var(--t1-font-head); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t1-ink-2);
}
.t1 .t1-toc__list {
	display: grid; gap: 1px; padding: 0 4px 0 0;
	max-height: min(48vh, calc(100vh - var(--t1-adminbar) - 380px)); min-height: 120px;
	overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin;
}
.t1 .t1-toc__list a {
	display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--t1-line);
	font-size: .875rem; line-height: 1.4; color: var(--t1-ink-2);
	transition: color .2s, border-color .2s;
}
.t1 .t1-toc__list a:hover { color: var(--t1-ink); border-color: var(--t1-ink-2); }
.t1 .t1-toc__list a[aria-current="true"] { color: var(--t1-ink); border-color: var(--t1-rose); font-weight: 600; }

.t1 .t1-toc-m { display: none; }
@media (max-width: 960px) {
	.t1 .t1-article__aside .t1-toc { display: none; }
	.t1 .t1-toc-m { display: block; margin-bottom: 1.6em; border: 1px solid var(--t1-line); border-radius: var(--t1-radius); background: var(--t1-surface); }
	.t1 .t1-toc-m summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; color: var(--t1-ink); }
	.t1 .t1-toc-m summary::-webkit-details-marker { display: none; }
	.t1 .t1-toc-m summary span { font-size: .75rem; letter-spacing: .04em; text-transform: none; color: var(--t1-ink-2); }
	.t1 .t1-toc-m summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--t1-ease); }
	.t1 .t1-toc-m[open] summary::after { transform: rotate(-135deg); }
	.t1 .t1-toc-m .t1-toc__list { max-height: 50vh; padding: 0 18px 16px; margin: 0 !important; }
	.t1 .t1-prose .t1-toc-m li::before { display: none; }
	.t1 .t1-prose .t1-toc-m a { text-decoration: none; }
}

.t1 .t1-bookcard {
	position: relative; overflow: hidden;
	display: grid; gap: 10px; justify-items: start;
	padding: 22px; border-radius: var(--t1-radius-lg);
	background: var(--t1-night); color: var(--t1-on-night);
	box-shadow: var(--t1-shadow);
}
.t1 .t1-bookcard::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(80% 70% at 100% 0%, rgba(231, 84, 128, .35), transparent 70%);
}
.t1 .t1-bookcard > * { position: relative; }
.t1 .t1-bookcard__faces { display: flex; }
.t1 .t1-bookcard__faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--t1-night); }
.t1 .t1-bookcard__faces img + img { margin-left: -10px; }
.t1 .t1-bookcard__title { font-family: var(--t1-font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
.t1 .t1-bookcard__text { font-size: .9375rem; color: var(--t1-on-night-2); }
.t1 .t1-bookcard .t1-btn { margin-top: 4px; }

/* Content written in the block editor or the classic one, as it comes. */
.t1 .t1-prose :where(table) { overflow-y: hidden; }
.t1 .t1-prose :where(.wp-block-table) { overflow-x: auto; overflow-y: hidden; }
.t1 .t1-prose :where(.wp-block-table table) { display: table; min-width: 560px; table-layout: auto; }
.t1 .t1-prose .wp-block-table :is(td, th) { border: 0; border-bottom: 1px solid var(--t1-line); padding: 10px 12px; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.t1 .t1-prose .wp-block-table thead { border-bottom: 2px solid var(--t1-gold); }
.t1 .t1-prose .wp-block-table th { background: var(--t1-bg-alt); }
.t1 .t1-prose .wp-block-table :where(figcaption) { color: var(--t1-ink-2); }
.t1 .t1-prose :where(td, th) { color: inherit; }
.t1 .t1-prose :where(table[style], td[style], th[style], tr[style]) { background-color: transparent !important; color: inherit !important; }
.t1 .t1-prose .has-background:not(.wp-block-button__link) { padding: 1em 1.2em; border-radius: var(--t1-radius); background: var(--t1-bg-alt) !important; color: var(--t1-ink) !important; }
/* Colours picked in the editor were picked for a white page: the text follows the theme instead. */
.t1 .t1-prose :where(p[style*="color"], span[style*="color"], li[style*="color"], h2[style*="color"], h3[style*="color"]) { color: inherit !important; }
.t1 .t1-prose .has-text-color:not(.wp-block-button__link) { color: inherit !important; }
.t1 .t1-prose mjx-container[display="true"], .t1 .t1-prose .MathJax_Display { display: block; max-width: 100%; overflow-x: auto; overflow-y: hidden; }
.t1 .t1-prose mjx-container { color: inherit; }
.t1 .t1-prose :where(figure.wp-block-image img) { margin-inline: auto; }
.t1 .t1-prose :where(.wp-block-separator) { border: 0; height: 1px; background: var(--t1-line); }
.t1 .t1-prose :where(.wp-block-file) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--t1-line); border-radius: var(--t1-radius); background: var(--t1-surface); }
.t1 .t1-prose .wp-block-file__button {
	display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px;
	background: var(--t1-rose-press); color: #fff !important; text-decoration: none !important;
	font-family: var(--t1-font-head); font-weight: 600; font-size: .875rem;
}
.t1 .t1-prose :where(.wp-block-buttons) { display: flex; flex-wrap: wrap; gap: 10px; }
.t1 .t1-prose .wp-block-button__link { color: #fff !important; }
.t1 .t1-prose :where(.wp-block-quote) { margin-inline: 0; }
.t1 .t1-prose :where(.wp-block-embed iframe, .wp-block-video video) { width: 100%; }
/* Rank Math's contents block inside some posts. */
.t1 .t1-prose .wp-block-rank-math-toc-block {
	padding: 18px 22px; border-radius: var(--t1-radius-lg);
	background: var(--t1-bg-alt); border: 1px solid var(--t1-line);
	font-size: .9375rem;
}
.t1 .t1-prose .wp-block-rank-math-toc-block :where(h2, h3, h4) { margin-top: 0; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t1-ink-2); }
.t1 .t1-prose .wp-block-rank-math-toc-block nav { margin-top: .6em; max-height: 340px; overflow-y: auto; overflow-x: hidden; }
.t1 .t1-prose .wp-block-rank-math-toc-block :where(a) { text-decoration: none; }
/* A practice test embedded in a post (inc/practice-tests-render.php) keeps its own lists. */
.t1 .t1-prose .pt :where(ul, ol) { padding-left: 0; list-style: none; }
.t1 .t1-prose .pt li::before { content: none; }
.t1 .t1-prose .pt li::marker { content: none; }
.t1 .t1-prose .pt :where(a) { text-decoration: none; }
/* The old ad banners in some posts: keep them, quietly. */
.t1 .t1-prose img[src*="Ad_3_970x90"] { border-radius: 10px; }

/* Related links (Contextual Related Posts), folded at the end. */
.t1 .t1-prose .t1-related-links { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--t1-line); }
.t1 .t1-related-links summary {
	display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
	font-family: var(--t1-font-head); font-weight: 600; font-size: 1rem; color: var(--t1-ink);
}
.t1 .t1-related-links summary::-webkit-details-marker { display: none; }
.t1 .t1-related-links summary::before {
	content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	border: 1.5px solid var(--t1-line); font-size: 1.1rem; line-height: 1; color: var(--t1-rose-text);
	transition: transform .3s var(--t1-ease);
}
.t1 .t1-related-links[open] summary::before { transform: rotate(45deg); }
.t1 .t1-prose .t1-related-links ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-top: 1em; }
.t1 .t1-prose .t1-related-links li { margin: 0; }
.t1 .t1-prose .t1-related-links li::before { display: none; }
.t1 .t1-prose .t1-related-links a {
	display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--t1-line);
	font-size: .8125rem; line-height: 1.3; color: var(--t1-ink-2); text-decoration: none;
	transition: border-color .2s, color .2s;
}
.t1 .t1-prose .t1-related-links a:hover { border-color: var(--t1-rose); color: var(--t1-rose-text); }
.t1 .t1-related-links .crp_clear { display: none; }

/* ── Plain pages (legal) ────────────────────────────────────────────────── */

.t1 .t1-pagehero .t1-hero__actions:not(:has(*)) { display: none; }
.t1 .t1-hero--page.t1-pagehero, .t1 .t1-hero--page.t1-searchhero { padding-bottom: calc(var(--t1-slant) + 8px); }
.t1 .t1-pagehero--legal .t1-hero__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.t1 .t1-postbody--legal .t1-prose { font-size: 1rem; }
.t1 .t1-postbody--legal .t1-prose :where(h2) { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); padding-top: 1.2em; border-top: 1px solid var(--t1-line); }
.t1 .t1-postbody--legal .t1-article__grid { grid-template-columns: 260px minmax(0, 1fr); }
.t1 .t1-postbody--legal .t1-article__aside { order: -1; }
@media (max-width: 960px) {
	.t1 .t1-postbody--legal .t1-article__grid { grid-template-columns: minmax(0, 1fr); }
	.t1 .t1-postbody--legal .t1-article__aside { display: none; }
}

/* ── Search results ─────────────────────────────────────────────────────── */

.t1 .t1-searchhero .t1-hero__text { gap: 20px; }
.t1 .t1-resultlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.t1 .t1-result {
	position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start;
	padding: 14px; border-radius: var(--t1-radius-lg);
	background: var(--t1-surface); border: 1px solid var(--t1-line); box-shadow: var(--t1-shadow);
	transition: transform .4s var(--t1-ease), box-shadow .4s var(--t1-ease), border-color .3s;
}
.t1 .t1-result:hover { transform: translateY(-3px); box-shadow: var(--t1-shadow-lift); border-color: color-mix(in srgb, var(--t1-gold) 45%, var(--t1-line)); }
.t1 .t1-result__cover { aspect-ratio: 1; border-radius: var(--t1-radius); }
.t1 .t1-result__cover .t1-cover__mark { left: 10%; bottom: 8%; -webkit-text-stroke-width: 1.2px; }
.t1 .t1-result__body { display: grid; gap: 4px; min-width: 0; }
.t1 .t1-result__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.t1 .t1-result__text { font-size: .875rem; color: var(--t1-ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.t1 .t1-result__url { font-size: .8125rem; color: var(--t1-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
	.t1 .t1-resultlist { grid-template-columns: minmax(0, 1fr); }
	.t1 .t1-result { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
}

/* ── Not found ──────────────────────────────────────────────────────────── */

.t1 .t1-404__num {
	position: relative; display: inline-block;
	font-family: var(--t1-font-head); font-weight: 600; line-height: .85; letter-spacing: .02em;
	font-size: clamp(5.5rem, 3rem + 10vw, 10rem);
	color: transparent; -webkit-text-stroke: 2px var(--t1-gold);
}
.t1 .t1-404__num::after {
	content: attr(data-text); position: absolute; inset: 0;
	color: var(--t1-gold); -webkit-text-stroke: 0;
	clip-path: inset(100% 0 0 0);
}
.t1 .t1-404__pills a { padding: 8px 15px; font-size: .875rem; }

/* ── Motion ─────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
	/* The search box and topics follow the lead in, in the hero's order. */
	.t1 .t1-hero__text > :nth-child(5) { animation-delay: .72s; }
	.t1 .t1-hero__text > :nth-child(6) { animation-delay: .82s; }
	/* The newest post rises in after the headline; its cover wipes in on the slant. */
	.t1 .t1-bloghero__feature, .t1 .t1-posthero__visual { animation: t1-rise 1s .35s var(--t1-ease) both; }
	.t1 .t1-feature__cover, .t1 .t1-posthero__cover { animation: t1b-wipe 1.1s .45s var(--t1-ease) both; }
	.t1 .t1-posthero__visual::before { animation: t1b-frame 1.2s .7s var(--t1-ease) both; }
	/* Cards: the cover wipes in as the card rises. */
	.t1-js .t1 .t1-postcard[data-reveal] .t1-postcard__cover { clip-path: polygon(-20% 100%, 120% 100%, 120% 100%, -20% 100%); transition: clip-path 1s var(--t1-ease), transform .5s var(--t1-ease), box-shadow .5s var(--t1-ease); transition-delay: calc(var(--t1-i, 0) * 80ms), 0s, 0s; }
	.t1-js .t1 .t1-postcard[data-reveal].is-in .t1-postcard__cover { clip-path: polygon(-20% -20%, 120% -20%, 120% 120%, -20% 120%); }
	/* 404: the gold fills the number from below, once. */
	.t1 .t1-404__num::after { animation: t1b-fill 1.6s .5s var(--t1-ease) forwards; }
	.t1 .t1-progress span { transition: transform .12s linear; }
}
@media (prefers-reduced-motion: reduce) {
	.t1 .t1-404__num::after { clip-path: none; }
}
@keyframes t1b-wipe { from { clip-path: polygon(-20% 100%, 120% 100%, 120% 100%, -20% 100%); } to { clip-path: polygon(-20% -20%, 120% -20%, 120% 120%, -20% 120%); } }
@keyframes t1b-frame { from { opacity: 0; transform: translate(0, 0) rotate(1.5deg); } }
@keyframes t1b-fill { to { clip-path: inset(0 0 0 0); } }
