/* Amped site-wide branding v3.3. Applied to every page except the front
 * page (which uses amped-home.css). CSS ONLY: Tenku's own header and
 * footer markup stays exactly as the theme renders it, and this sheet
 * restyles it in place - black header and footer, brand fonts, yellow
 * accent, Tenku's logo capped at header size. Nothing is replaced,
 * no article content is changed, and article bylines are kept as
 * published.
 *
 * ROOT CAUSE, found 28 Nov 2026 by inspecting the live HTML of
 * /2026/11/27/within-temptation-.../ and /category/news/:
 * v3.2 targeted `.wp-block-site-logo img`. That block does NOT exist
 * anywhere on the live site (0 occurrences in either page). Tenku's
 * header logo is a plain image block:
 *   header.wp-block-template-part
 *     figure.wp-block-image.aligncenter.size-large.is-resized
 *       a > img.wp-image-2398  (headerlogo-copy-1.png, 1373x593)
 * with an INLINE style width:560px;height:auto. 560px wide is 242px
 * tall, which is the huge logo seen live. An inline style beats any
 * normal stylesheet rule, so the logo cap MUST use !important on
 * both height and width, and MUST target figure.wp-block-image img,
 * not .wp-block-site-logo. The same inline-style trap applies to the
 * post titles (article h2 has inline font-weight:400, category h2
 * has inline font-weight:700), so their weight is !important too.
 * Tenku's footer has NO logo image at all (text tagline, newsletter
 * form, social icons), so there is no footer logo to cap. v3 tried
 * replacing Tenku's template parts via render_block; that failed
 * live, so that filter is gone and must not come back. */

body.amp-sitewide {
	--amp-accent: #F2E600;
	--amp-ink: #121212;
	--amp-paper: #FFFFFF;
	--amp-alt: #F7F7F5;
	--amp-rule: #E3E3E0;
	--amp-muted: #5c5c5c;
	--amp-mast-bg: #0A0A0A;
	--amp-mast-fg: #FFFFFF;
	--amp-mast-muted: #BDBDBD;
	--amp-mast-line: #2A2A2A;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--amp-ink);
	background: var(--amp-paper);
	/* Tenku pages showed a horizontal scrollbar / white strip when
	 * scrolled sideways. Clip it here, only while site-wide is on. */
	overflow-x: hidden;
	overflow-x: clip;
}

/* Typography: NME style headings everywhere. */
body.amp-sitewide h1,
body.amp-sitewide h2,
body.amp-sitewide h3,
body.amp-sitewide h4,
body.amp-sitewide .wp-block-post-title,
body.amp-sitewide .wp-block-heading {
	font-family: "Inter Tight", Inter, system-ui, sans-serif;
	font-weight: 800;
	letter-spacing: -0.022em;
	line-height: 1.05;
	color: var(--amp-ink);
}
/* Post titles carry inline font-weight (400 on the article title,
 * 700 on archive titles), which beats a normal rule. */
body.amp-sitewide .wp-block-post-title,
body.amp-sitewide h1.wp-block-query-title {
	font-weight: 800 !important;
}
body.amp-sitewide .wp-block-post-title { text-transform: none; }
body.amp-sitewide a { color: var(--amp-ink); }
body.amp-sitewide a:hover { text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.amp-sitewide .wp-block-button__link,
body.amp-sitewide button,
body.amp-sitewide input[type="submit"] {
	font-family: "Inter Tight", Inter, system-ui, sans-serif;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 0;
}
body.amp-sitewide .wp-block-button__link { background: var(--amp-ink); color: #FFFFFF; }
body.amp-sitewide .wp-block-button__link:hover { background: var(--amp-accent); color: var(--amp-ink); }
body.amp-sitewide input:focus-visible,
body.amp-sitewide a:focus-visible,
body.amp-sitewide button:focus-visible { outline: 3px solid var(--amp-accent); outline-offset: 2px; }

/* Tenku header, restyled in place. Header markup, verified live:
 * header.wp-block-template-part > div.wp-block-group (contrast bg,
 * inline padding-top) > search columns row, then
 * figure.wp-block-image.aligncenter.size-large.is-resized (the logo),
 * then ul.wp-block-social-links, then a bordered group holding
 * nav.wp-block-navigation. */
body.amp-sitewide header.wp-block-template-part,
body.amp-sitewide header.wp-block-template-part > div.wp-block-group:first-child {
	background: #0A0A0A;
	color: #FFFFFF;
}
body.amp-sitewide header.wp-block-template-part a { color: #FFFFFF; }
/* Shrink the tall header: less top padding, tight logo/social spacing,
 * tighter nav band (its inline margin-top:1.5rem and 1rem padding). */
body.amp-sitewide header.wp-block-template-part > div.wp-block-group:first-child {
	padding-top: 12px !important;
}
body.amp-sitewide header.wp-block-template-part figure.wp-block-image {
	margin-top: 6px !important;
	margin-bottom: 6px !important;
}
body.amp-sitewide header.wp-block-template-part ul.wp-block-social-links {
	margin-top: 6px !important;
	margin-bottom: 2px !important;
}
body.amp-sitewide header.wp-block-template-part .wp-block-group:has(> nav.wp-block-navigation),
body.amp-sitewide header.wp-block-template-part div.wp-block-group[style*="border-top"] {
	margin-top: 12px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
/* THE LOGO FIX. Verified live: img.wp-image-2398, inline
 * style="width:560px;height:auto". Only !important height AND width
 * on figure.wp-block-image img beats that inline width. 104px, the
 * same as the homepage header logo; width auto keeps the ratio. */
body.amp-sitewide header.wp-block-template-part figure.wp-block-image img.wp-image-2398,
body.amp-sitewide header.wp-block-template-part figure.wp-block-image.aligncenter img,
body.amp-sitewide header.wp-block-template-part figure.wp-block-image img {
	height: 104px !important;
	width: auto !important;
	max-width: 272px !important;
}
/* Fallback only, in case the theme ever switches to a site-logo block:
 * .wp-block-site-logo does not exist in the live HTML (0 occurrences). */
body.amp-sitewide .wp-block-site-logo img,
body.amp-sitewide header.wp-block-template-part .wp-block-site-logo img {
	height: 104px !important;
	width: auto !important;
	max-width: 272px !important;
}
/* Tenku nav: capitals, tight, white, accent on hover. Nav links are
 * a.wp-block-navigation-item__content with a <strong> label inside;
 * there is no current-menu-item class in the live HTML. */
body.amp-sitewide header.wp-block-template-part .wp-block-navigation a,
body.amp-sitewide .wp-block-navigation a,
body.amp-sitewide header.wp-block-template-part .wp-block-navigation-item__content {
	color: #FFFFFF;
	font-family: "Inter Tight", Inter, sans-serif;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 15px;
}
body.amp-sitewide header.wp-block-template-part .wp-block-navigation a:hover,
body.amp-sitewide header.wp-block-template-part .wp-block-navigation .current-menu-item > a {
	color: var(--amp-accent);
}
/* Tenku header search and social icons: keep them, make them white. */
body.amp-sitewide header.wp-block-template-part .wp-block-search__input {
	background: transparent;
	color: #FFFFFF;
	border-color: #2A2A2A;
}
body.amp-sitewide header.wp-block-template-part .wp-block-social-links a,
body.amp-sitewide header.wp-block-template-part .wp-block-social-link {
	color: #FFFFFF;
}

/* Tenku footer, restyled in place: black, white text, brand type.
 * Verified live: footer.wp-block-template-part > div.wp-block-group
 * (contrast bg) with a text tagline, Jetpack newsletter form and
 * social icons. There is no logo image in the footer to cap. */
body.amp-sitewide footer.wp-block-template-part {
	background: #000000;
	color: #FFFFFF;
}
body.amp-sitewide footer.wp-block-template-part a { color: #FFFFFF; }
body.amp-sitewide footer.wp-block-template-part a:hover { color: var(--amp-accent); }
body.amp-sitewide footer.wp-block-template-part h1,
body.amp-sitewide footer.wp-block-template-part h2,
body.amp-sitewide footer.wp-block-template-part h3,
body.amp-sitewide footer.wp-block-template-part .wp-block-heading {
	color: #FFFFFF;
	font-family: "Inter Tight", Inter, sans-serif;
}
body.amp-sitewide footer.wp-block-template-part .wp-block-social-links a,
body.amp-sitewide footer.wp-block-template-part .wp-block-social-link {
	color: #FFFFFF;
}

/* Archive cards: headline only, like the homepage. Verified live, the
 * category list is ul.columns-4.wp-block-post-template.is-layout-grid
 * > li.wp-block-post, each with figure.wp-block-post-featured-image,
 * div.wp-block-post-date and h2.wp-block-post-title. Hide the date
 * only inside the query list, so nothing else loses its date. There
 * is no post-author block in the category list (0 occurrences). */
body.amp-sitewide .wp-block-post-template .wp-block-post-date,
body.amp-sitewide .wp-block-query .wp-block-post-date,
body.amp-sitewide .wp-block-post-template .wp-block-post-author,
body.amp-sitewide .wp-block-query .wp-block-post-author { display: none !important; }
body.amp-sitewide .wp-block-post-template .wp-block-post-title a { text-decoration: none; }
body.amp-sitewide .wp-block-post-template .wp-block-post-title a:hover { color: var(--amp-ink); text-decoration: underline; text-decoration-color: var(--amp-accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
/* No photo titles or captions anywhere on the site. */
body.amp-sitewide figcaption,
body.amp-sitewide .wp-element-caption,
body.amp-sitewide .wp-block-image figcaption,
body.amp-sitewide .wp-block-gallery figcaption { display: none !important; }

/* Article pages: keep the byline and content as published (the byline
 * is a plain paragraph, "Words by Felix Bartlett | Nov 27, 2026", not
 * a post-date/author block, so the rules above do not touch it), but
 * use the brand type and hide image captions. */
body.amp-sitewide.single .wp-block-post-content { font-size: 18px; line-height: 1.65; }
body.amp-sitewide.single .wp-block-post-content a { text-decoration: underline; text-decoration-color: var(--amp-accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
body.amp-sitewide.single .wp-block-post-content blockquote { border-left: 4px solid var(--amp-accent); padding-left: 20px; font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; }
/* Article hero title: h2.wp-block-post-title with inline
 * font-weight:400, handled by the !important rule above. Category
 * term links above it stay white on the black hero band. */
body.amp-sitewide.single .wp-block-post-terms a { color: #FFFFFF; }

/* Archive headings and pagination. Verified live: h1.wp-block-query-title
 * with inline text-transform:uppercase, inside a group with a 3px
 * border-bottom. */
body.amp-sitewide .wp-block-query-title,
body.amp-sitewide .wp-block-archive-title {
	font-family: "Inter Tight", Inter, sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	border-top: 3px solid var(--amp-ink);
	padding-top: 14px;
}
body.amp-sitewide .wp-block-query-pagination a { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
body.amp-sitewide .wp-block-query-pagination .current { background: var(--amp-accent); color: var(--amp-ink); }

@media (max-width: 700px) {
	body.amp-sitewide header.wp-block-template-part figure.wp-block-image img.wp-image-2398,
	body.amp-sitewide header.wp-block-template-part figure.wp-block-image img {
		height: 72px !important;
		max-width: 190px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.amp-sitewide * { scroll-behavior: auto; animation: none; }
}

/* -------------------------------------------------------------------------
 * Kerrang-style archive / category / tag pages (v3.5)
 * -------------------------------------------------------------------------
 * Felix's reference, 28 Nov 2026: a screenshot of the Kerrang Music
 * category page. In order: black header, a large white section title,
 * an ad banner, a FEATURES lead (very large photo, big bold headline,
 * short standfirst, centred FIND US ON social row), then 4-column rows
 * of cards (small kicker label, photo, bold headline, short excerpt),
 * another ad banner, more rows, BACK / NEXT pagination at the bottom.
 * Clean white background, black text, bold headlines, lots of
 * breathing room.
 *
 * What was verified live before writing this (28 Nov 2026, raw HTML of
 * /category/news/, /category/reviews/, /category/interviews/,
 * /category/features/, /tag/new-noise/, /tag/reviews/ and
 * /tag/live-music/): every archive uses the same Tenku query template:
 *   main.wp-block-group.is-layout-constrained
 *     div.wp-block-query.alignwide
 *       div.wp-block-group (border-bottom 3px) > h1.wp-block-query-title
 *       ul.columns-4.wp-block-post-template.is-layout-grid
 *         > li.wp-block-post
 *             figure.wp-block-post-featured-image (img, inline
 *               aspect-ratio 3/2, width 100%, object-fit cover)
 *             div.wp-block-group > div.wp-block-post-date
 *               + h2.wp-block-post-title > a
 *       nav.wp-block-query-pagination > .wp-block-query-pagination-numbers
 *         + a.wp-block-query-pagination-next ("Next Page", and a
 *           "Previous Page" link on page 2+)
 * That markup decides what CSS alone can and cannot do:
 * - Lead feature: YES. li:first-child can span the full row.
 * - 4-column grid with gaps: YES. The template is already columns-4;
 *   this restyles its gaps and card spacing.
 * - Kicker label: YES, but only as a CSS ::before on each card, with
 *   the label taken from the page's body class (see the mapping below).
 *   There is NO terms/kicker element inside the li to style.
 * - Excerpt under each card: NO. There is no excerpt element inside
 *   the li (0 wp-block-post-excerpt occurrences in any archive), and
 *   CSS cannot invent post text. Cards are photo + kicker + bold
 *   headline only. Adding real excerpts needs a template change, not
 *   CSS. The Live page is the exception: its cards are plugin markup,
 *   so the shortcode now outputs the excerpt when one exists.
 * - Lead standfirst: NO, for the same reason (no excerpt element in
 *   the lead li either). The lead gets the large photo and a big bold
 *   headline, but no standfirst line.
 * - Centred FIND US ON social row under the lead: NO. There is no
 *   social block inside the archive main content to style, and CSS
 *   cannot add links. The social icons stay in the black header.
 * - Ad banners: NOT ADDED. Kerrang's page has ad slots between rows;
 *   AMPED already has its own pre-existing ads and this plugin must
 *   not invent new ad slots.
 * The Tenku header (black, logo capped 104px) and footer stay as in
 * v3.3, and the site-wide fonts (Inter Tight / Inter, yellow accent)
 * stay, so archives still feel like AMPED, laid out like Kerrang. */

/* Archive base: white page, generous top space, no grey washes. */
body.amp-sitewide.archive,
body.amp-sitewide.archive main.wp-block-group {
	background: var(--amp-paper);
}
body.amp-sitewide.archive .wp-block-query {
	background: transparent;
}

/* Large section title, Kerrang style: huge, black, tight, no rule
 * above it (the wrapper group already has the 3px border below it).
 * Overrides the v3.3 border-top + padding on .wp-block-query-title. */
body.amp-sitewide.archive h1.wp-block-query-title,
body.amp-sitewide.archive h1.wp-block-archive-title {
	font-family: "Inter Tight", Inter, sans-serif;
	font-weight: 800 !important;
	font-size: clamp(56px, 9vw, 96px) !important;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	border-top: 0 !important;
	padding-top: 0 !important;
	margin: 0 0 8px !important;
}
body.amp-sitewide.archive .wp-block-query > .wp-block-group:first-child {
	margin-bottom: 48px !important;
	padding-bottom: 24px !important;
}

/* The 4-column grid: wider gaps for breathing room between cards
 * and rows. !important beats the theme's generated layout style. */
body.amp-sitewide.archive ul.wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 36px 28px !important;
}
body.amp-sitewide.archive ul.wp-block-post-template > li.wp-block-post {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
}
/* Card photo: clear space under it, no caption. The img already
 * carries inline aspect-ratio 3/2 and object-fit cover. */
body.amp-sitewide.archive ul.wp-block-post-template figure.wp-block-post-featured-image {
	margin: 0 0 16px !important;
}
body.amp-sitewide.archive ul.wp-block-post-template figure.wp-block-post-featured-image img {
	display: block;
	width: 100%;
}
/* Card text block: kicker sits above the photo via li::before (see
 * below), so the text group just needs room under the photo. */
body.amp-sitewide.archive ul.wp-block-post-template li.wp-block-post > div.wp-block-group {
	margin: 0 !important;
	padding: 0 !important;
}
/* Card headline: bold, tight, Kerrang size. The date stays hidden
 * (v3.3 rule above). */
body.amp-sitewide.archive ul.wp-block-post-template .wp-block-post-title {
	font-family: "Inter Tight", Inter, sans-serif;
	font-size: 21px !important;
	font-weight: 800 !important;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 !important;
}
body.amp-sitewide.archive ul.wp-block-post-template .wp-block-post-title a {
	text-decoration: none;
}
body.amp-sitewide.archive ul.wp-block-post-template .wp-block-post-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--amp-accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}

/* Kicker label above each card photo, Kerrang style: small caps,
 * bold, black, letterspaced. There is no kicker element in the li,
 * so this is a ::before on the card, with the label taken from the
 * archive's body class (verified live for every archive below).
 * Archives with no mapping below simply get no kicker. */
body.amp-sitewide.archive ul.wp-block-post-template > li.wp-block-post::before {
	display: block;
	font-family: "Inter Tight", Inter, sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--amp-ink);
	margin-bottom: 12px;
}
body.amp-sitewide.archive.category-news ul.wp-block-post-template > li.wp-block-post::before { content: "News"; }
body.amp-sitewide.archive.category-new-noise ul.wp-block-post-template > li.wp-block-post::before { content: "New Noise"; }
body.amp-sitewide.archive.category-reviews ul.wp-block-post-template > li.wp-block-post::before { content: "Reviews"; }
body.amp-sitewide.archive.category-interviews ul.wp-block-post-template > li.wp-block-post::before { content: "Interviews"; }
body.amp-sitewide.archive.category-features ul.wp-block-post-template > li.wp-block-post::before { content: "Features"; }
body.amp-sitewide.archive.category-photos ul.wp-block-post-template > li.wp-block-post::before { content: "Photos"; }
body.amp-sitewide.archive.category-videos ul.wp-block-post-template > li.wp-block-post::before { content: "Videos"; }
body.amp-sitewide.archive.tag-new-noise ul.wp-block-post-template > li.wp-block-post::before { content: "New Noise"; }
body.amp-sitewide.archive.tag-reviews ul.wp-block-post-template > li.wp-block-post::before { content: "Reviews"; }
body.amp-sitewide.archive.tag-live-music ul.wp-block-post-template > li.wp-block-post::before { content: "Live Review"; }

/* Lead feature: the first card on every archive page spans the full
 * row, photo left, headline right, with a rule underneath, like
 * Kerrang's FEATURES lead. The kicker ::before spans both columns;
 * the figure and text group fall into the row below it. */
body.amp-sitewide.archive .wp-block-query > ul.wp-block-post-template > li.wp-block-post:first-child {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	column-gap: 40px;
	row-gap: 0;
	align-items: center;
	padding-bottom: 48px !important;
	margin-bottom: 48px !important;
	border-bottom: 3px solid var(--amp-ink);
}
body.amp-sitewide.archive .wp-block-query > ul.wp-block-post-template > li.wp-block-post:first-child::before {
	grid-column: 1 / -1;
	margin-bottom: 16px;
}
body.amp-sitewide.archive .wp-block-query > ul.wp-block-post-template > li.wp-block-post:first-child figure.wp-block-post-featured-image {
	margin: 0 !important;
}
body.amp-sitewide.archive .wp-block-query > ul.wp-block-post-template > li.wp-block-post:first-child .wp-block-post-title {
	font-size: clamp(30px, 4vw, 54px) !important;
	line-height: 1.02;
	letter-spacing: -0.025em;
}
/* No standfirst exists in the lead card to show (see the note at the
 * top of this section), so nothing is faked in its place. */

/* Pagination, Kerrang style: centred BACK / NEXT at the bottom, with
 * the page numbers kept and styled the same way. */
body.amp-sitewide.archive nav.wp-block-query-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 28px;
	margin-top: 64px !important;
	padding-top: 32px;
	border-top: 3px solid var(--amp-ink);
	text-align: center;
}
body.amp-sitewide.archive .wp-block-query-pagination a,
body.amp-sitewide.archive .wp-block-query-pagination .page-numbers {
	font-family: "Inter Tight", Inter, sans-serif;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--amp-ink);
}
body.amp-sitewide.archive .wp-block-query-pagination a:hover {
	text-decoration: underline;
	text-decoration-color: var(--amp-accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}
body.amp-sitewide.archive .wp-block-query-pagination .page-numbers.current {
	background: var(--amp-accent);
	color: var(--amp-ink);
	padding: 4px 10px;
}
body.amp-sitewide.archive .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px 16px;
}

/* v3.6 pagination root cause, 28 Nov 2026 (Felix, live): on News,
 * Reviews and Interviews the page numbers sat at the far left and
 * NEXT PAGE at the far right, instead of centred. The v3.5 centred
 * rule did not take because Tenku's pagination nav carries
 * is-content-justification-space-between, and core block CSS gives
 * the Next link margin-inline-start:auto (and the Previous link
 * margin-inline-end:auto). In a flex row an auto margin absorbs all
 * free space, so it shoves the numbers left and NEXT PAGE right no
 * matter what justify-content the nav has. Zero those auto margins
 * with !important and force the nav to centre. The bare selectors
 * (no body prefix) are a fallback: this sheet only loads while
 * site-wide branding is on. */
body.amp-sitewide.archive nav.wp-block-query-pagination.is-content-justification-space-between,
nav.wp-block-query-pagination.is-content-justification-space-between {
	justify-content: center !important;
}
body.amp-sitewide.archive nav.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type,
nav.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
	margin-inline-start: 0 !important;
}
body.amp-sitewide.archive nav.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child,
nav.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
	margin-inline-end: 0 !important;
}
body.amp-sitewide.archive nav.wp-block-query-pagination .wp-block-query-pagination-numbers,
nav.wp-block-query-pagination .wp-block-query-pagination-numbers {
	flex: 0 1 auto;
}

/* Archive breakpoints: 3 columns on tablet, 2 on small tablets,
 * 1 on phones. The lead stacks to photo over headline. */
@media (max-width: 1100px) {
	body.amp-sitewide.archive ul.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 860px) {
	body.amp-sitewide.archive ul.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 32px 24px !important;
	}
	body.amp-sitewide.archive .wp-block-query > ul.wp-block-post-template > li.wp-block-post:first-child {
		grid-template-columns: 1fr;
		row-gap: 20px;
		padding-bottom: 32px !important;
		margin-bottom: 32px !important;
	}
	body.amp-sitewide.archive .wp-block-query > ul.wp-block-post-template > li.wp-block-post:first-child .wp-block-post-title {
		font-size: clamp(28px, 6vw, 40px) !important;
	}
}
@media (max-width: 560px) {
	body.amp-sitewide.archive ul.wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr !important;
	}
	body.amp-sitewide.archive h1.wp-block-query-title,
	body.amp-sitewide.archive h1.wp-block-archive-title {
		font-size: clamp(44px, 13vw, 64px) !important;
	}
}

/* v3.9: hide the Jetpack subscription block's default heading
   ("Subscribe to Blog via Email") and description ("Enter your email
   address to subscribe to this blog and receive notifications of new
   posts by email.") in Tenku's footer on article, archive and other
   pages. That block is theme markup, not the plugin's newsletter
   shortcode, so CSS is the only way to remove its text without a
   dashboard widget change. The email field and Subscribe button stay
   visible. */
body.amp-sitewide .wp-block-jetpack-subscriptions__title,
body.amp-sitewide .wp-block-jetpack-subscriptions__subtext,
body.amp-sitewide #subscribe-text,
body.amp-sitewide .jetpack_subscription_widget .widgettitle,
body.amp-sitewide .jetpack-subscribe-form > h2,
body.amp-sitewide .jetpack-subscribe-form > p#subscribe-text { display: none !important; }
