/*
 * AP Resource 2026: the ap26 article on flagged resources.
 *
 * Every rule sits under .ap26r (the <article>) or body.ap26r-on, so nothing
 * here reaches any other page, and the live theme's element rules (h1 900
 * weight and -1px tracking, 16px list items, Bootstrap link blue, Open Sans
 * headings from the critical CSS) are out-ranked inside the article.
 *
 * Sources:
 *   - "AP Blog 2026 Templates" (Code Snippet 6 on assetpanda1dev): its
 *     single-post rules (post header, breadcrumb, eyebrow, share bar, article
 *     typography, callout, jump button, ranked heading, tables, mini CTA),
 *     with .ap26r in front. The listing rules (hero, tabs, cards, pagination)
 *     and the sticky title bar are not used here.
 *   - The design pass (ap26-blog-design.php) prints its own stylesheet,
 *     re-scoped from .single-post to .ap26r by includes/design.php.
 *
 * House rules kept here: hover motion is never `transform` (translate/scale
 * at .3s cubic-bezier(.25,.45,.45,.95)); no gradient text; no
 * overflow:hidden around running text (superscripts on a first line would
 * be cut).
 */

/* ── Root and theme bleed ─────────────────────────────────────────────── */

.ap26r {
	--ap26r-ink: #25272c;
	--ap26r-body: #4a4e5a;
	--ap26r-indigo: #5044e1;
	--ap26r-teal: #00a991;
	--ap26r-rule: #d8dbdf;
	--ap26r-ease: cubic-bezier(.25, .45, .45, .95);
	--ap26r-sticky-top: 96px;
	/* The hero's box; on wide screens the table of contents and the body share it. */
	--ap26r-shell: 976px;
	display: block;
	font-family: Manrope, sans-serif;
	color: var(--ap26r-body);
	overflow-wrap: break-word;
}

.ap26r :where(h1, h2, h3, h4, h5, h6) {
	font-family: Manrope, sans-serif;
	letter-spacing: normal;
	text-transform: none;
}

.ap26r :where(img, video, iframe, embed, object) {
	max-width: 100%;
}

.ap26r :where(sup, sub) {
	line-height: 0;
}

/* With the sticky title bar (about 50px under the 72px header). */
.ap26r.ap26r--bar {
	--ap26r-sticky-top: 140px;
}

/*
 * The live global footer's full-width script sets `overflow-x: hidden` on
 * <html> and <body> as inline styles. On <body> that makes a scroll
 * container that never scrolls, and position:sticky stops working inside it
 * (this article's table of contents; the global header's own `sticky` too).
 * `clip` cuts the overflow the same way without making a scroll container.
 * !important is the only way past an inline style. Flagged posts only.
 */
body.ap26r-on {
	overflow-x: clip !important;
}

.ap26r-main {
	display: block;
	min-height: 0;
}

/* ── Post header (snippet 6: .ap26-post-header, .ap26-crumbs, .ap26-share) */

.ap26r .ap26-eyebrow {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .56px;
	text-transform: uppercase;
	color: var(--ap26r-indigo);
	line-height: 1.2;
	margin: 0;
	font-family: Manrope, sans-serif;
}

.ap26r .ap26-crumbs {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--ap26r-body);
	font-family: Manrope, sans-serif;
}

.ap26r .ap26-crumbs svg {
	flex: none;
}

.ap26r .ap26-crumbs a {
	color: var(--ap26r-body);
	text-decoration: none;
	transition: color .3s var(--ap26r-ease);
}

.ap26r .ap26-crumbs a:hover,
.ap26r .ap26-crumbs a:focus-visible {
	color: var(--ap26r-ink);
	text-decoration: none;
}

.ap26r .ap26-crumbs__home {
	display: flex;
	align-items: center;
}

.ap26r .ap26-crumbs__current {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 46ch;
}

.ap26r .ap26-post-header {
	max-width: var(--ap26r-shell);
	margin: 0 auto;
	padding: 48px 24px 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
	font-family: Manrope, sans-serif;
}

.ap26r .ap26-post-header__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 12px 0 32px;
	border-bottom: 1px solid var(--ap26r-rule);
}

.ap26r .ap26-post-header__title {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ap26r-ink);
	margin: 0;
	font-family: inherit;
}

.ap26r .ap26r-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #5b616e;
}

.ap26r .ap26r-meta__name {
	color: var(--ap26r-ink);
	font-weight: 600;
}

.ap26r .ap26r-meta__sep {
	color: #b6bac3;
}

.ap26r .ap26-post-header__media {
	margin: 0;
}

.ap26r .ap26-post-header__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 581px;
	object-fit: cover;
	border-radius: 16px;
}

.ap26r .ap26-share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ap26r .ap26-share__label {
	font-size: 14px;
	line-height: 20px;
	color: #53585f;
}

.ap26r .ap26-share a {
	display: inline-flex;
	text-decoration: none;
	transition: opacity .3s var(--ap26r-ease);
}

.ap26r .ap26-share a:hover,
.ap26r .ap26-share a:focus-visible {
	opacity: .65;
}

.ap26r .ap26-share svg {
	display: block;
}

/* The share bar again under the body (snippet 6: .ap26-share-footer), in the body column. */
.ap26r .ap26-article > .ap26-share-footer {
	display: flex;
	max-width: 800px;
	margin: 40px auto 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--ap26r-rule);
	font-family: Manrope, sans-serif;
}

/*
 * The sticky title bar (snippet 6: .ap26-sticky): hidden above, slides in
 * once the post header has scrolled away. On the live site it sits under
 * the global header (72px, 60px below 1101px), which sticks on these pages.
 */
.ap26r .ap26-sticky {
	position: fixed;
	top: 72px;
	left: 0;
	right: 0;
	z-index: 9990;
	background: #fff;
	box-shadow: 0 2px 12px rgba(37, 39, 44, .10);
	translate: 0 -110%;
	visibility: hidden;
	transition: translate .3s var(--ap26r-ease), visibility 0s linear .3s;
	font-family: Manrope, sans-serif;
}

.ap26r .ap26-sticky.is-visible {
	translate: 0 0;
	visibility: visible;
	transition: translate .3s var(--ap26r-ease), visibility 0s;
}

.ap26r .ap26-sticky__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1360px;
	margin: 0 auto;
	padding: 8px 40px;
}

.ap26r .ap26-sticky__titles {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ap26r .ap26-sticky__eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .44px;
	text-transform: uppercase;
	color: var(--ap26r-indigo);
	line-height: 1.3;
}

.ap26r .ap26-sticky__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--ap26r-ink);
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ap26r .ap26-sticky .ap26-share__label {
	display: none;
}

@media (max-width: 1100px) {
	.ap26r .ap26-sticky {
		top: 60px;
	}
}

/* ── Layout: the body, and the table of contents beside it ────────────── */

.ap26r .ap26r-layout {
	max-width: 848px;
	margin: 0 auto;
}

.ap26r .ap26r-toc {
	max-width: 848px;
	margin: 24px auto 0;
	padding: 0 24px;
	font-family: Manrope, sans-serif;
}

.ap26r .ap26r-toc__box {
	border: 1px solid var(--ap26r-rule);
	border-radius: 12px;
	background: #fff;
}

.ap26r .ap26r-toc__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	list-style: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .56px;
	text-transform: uppercase;
	color: var(--ap26r-ink);
}

.ap26r .ap26r-toc__title::-webkit-details-marker {
	display: none;
}

.ap26r .ap26r-toc__title::after {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	border-right: 2px solid var(--ap26r-teal);
	border-bottom: 2px solid var(--ap26r-teal);
	rotate: 45deg;
	translate: 0 -2px;
	transition: rotate .3s var(--ap26r-ease);
}

.ap26r .ap26r-toc__box[open] > .ap26r-toc__title::after {
	rotate: -135deg;
	translate: 0 2px;
}

.ap26r .ap26r-toc__list {
	margin: 0;
	padding: 0 18px 16px;
	list-style: none;
	counter-reset: none;
}

.ap26r .ap26r-toc__item {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
}

.ap26r .ap26r-toc__item::before,
.ap26r .ap26r-toc__item::marker {
	content: none;
}

.ap26r .ap26r-toc__item--h3 {
	padding-left: 14px;
	font-size: 14px;
}

.ap26r .ap26r-toc__link {
	display: block;
	padding: 6px 0 6px 12px;
	border-left: 2px solid transparent;
	color: var(--ap26r-body);
	text-decoration: none;
	transition: color .3s var(--ap26r-ease), border-color .3s var(--ap26r-ease);
}

.ap26r .ap26r-toc__link:hover,
.ap26r .ap26r-toc__link:focus-visible {
	color: var(--ap26r-ink);
	text-decoration: none;
}

.ap26r .ap26r-toc__link.is-current {
	color: var(--ap26r-indigo);
	border-left-color: var(--ap26r-indigo);
	font-weight: 700;
}

/*
 * Wide screens: the table of contents and the body sit in the hero's own box
 * (same width, same 24px gutters), so the contents column starts at the
 * hero image's left edge and the body ends at its right edge. The contents
 * stay in view while the body scrolls.
 */
@media (min-width: 1024px) {
	.ap26r .ap26r-layout--toc {
		display: grid;
		grid-template-columns: 232px minmax(0, 1fr);
		column-gap: 48px;
		align-items: start;
		max-width: var(--ap26r-shell);
		padding: 0 24px;
	}

	.ap26r .ap26r-layout--toc > .ap26r-toc {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 28px 0 0;
		position: sticky;
		top: var(--ap26r-sticky-top);
		max-height: calc(100vh - var(--ap26r-sticky-top) - 24px);
		overflow-y: auto;
		scrollbar-width: thin;
	}

	.ap26r .ap26r-layout--toc > .ap26r-toc .ap26r-toc__box {
		border: 0;
		background: none;
	}

	.ap26r .ap26r-layout--toc > .ap26r-toc .ap26r-toc__title {
		padding: 0 0 12px 14px;
		cursor: default;
		pointer-events: none;
	}

	.ap26r .ap26r-layout--toc > .ap26r-toc .ap26r-toc__title::after {
		display: none;
	}

	.ap26r .ap26r-layout--toc > .ap26r-toc .ap26r-toc__list {
		padding: 0;
		border-left: 1px solid var(--ap26r-rule);
	}

	.ap26r .ap26r-layout--toc > .ap26r-toc .ap26r-toc__link {
		margin-left: -1px;
	}

	.ap26r .ap26r-layout--toc > .ap26-article {
		grid-column: 2;
		grid-row: 1;
		max-width: none;
		margin: 0;
		padding: 28px 0 40px;
	}
}

/* ── The article body (snippet 6: .ap26-article) ──────────────────────── */

.ap26r .ap26-article {
	max-width: 848px;
	margin: 0 auto;
	padding: 28px 24px 40px;
	font-family: Manrope, sans-serif;
}

.ap26r .ap26-article > * {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.ap26r .ap26-article :where(h1, h2, h3, h4, h5, h6) {
	scroll-margin-top: var(--ap26r-sticky-top);
}

.ap26r .ap26-article p {
	font-size: 18px;
	line-height: 1.5;
	color: var(--ap26r-body);
	margin: 0 auto 16px;
}

.ap26r .ap26-article h2 {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ap26r-ink);
	margin: 48px auto 16px;
	font-family: inherit;
}

.ap26r .ap26-article h3 {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ap26r-ink);
	margin: 36px auto 12px;
	font-family: inherit;
}

.ap26r .ap26-article h4 {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ap26r-ink);
	margin: 28px auto 10px;
	font-family: inherit;
}

.ap26r .ap26-article h5 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--ap26r-teal);
	margin: 24px auto 8px;
	font-family: inherit;
}

.ap26r .ap26-article h6 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ap26r-ink);
	margin: 24px auto 8px;
	font-family: inherit;
}

.ap26r .ap26-article > :first-child {
	margin-top: 0;
}

.ap26r .ap26-article a {
	color: var(--ap26r-teal);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ap26r .ap26-article a:hover {
	color: #04c8a8;
}

/* The design pass's own links keep its look (the rule above out-ranks its single-class rules). */
.ap26r .ap26-article .ap26x-rating a {
	color: var(--ap26r-indigo);
	text-decoration: none;
}

.ap26r .ap26-article ul,
.ap26r .ap26-article ol {
	font-size: 18px;
	line-height: 1.5;
	color: var(--ap26r-body);
	margin: 0 auto 16px;
	padding-left: 24px;
}

.ap26r .ap26-article ul {
	list-style: disc;
}

.ap26r .ap26-article ol {
	list-style: decimal;
}

.ap26r .ap26-article li {
	margin-bottom: 8px;
	font-size: inherit;
	line-height: inherit;
}

.ap26r .ap26-article li > :is(ul, ol) {
	margin-top: 8px;
	margin-bottom: 0;
}

.ap26r .ap26-article strong,
.ap26r .ap26-article b {
	color: var(--ap26r-ink);
	font-weight: 700;
}

.ap26r .ap26-article img {
	border-radius: 8px;
	height: auto;
}

.ap26r .ap26-article figure {
	margin: 28px auto;
}

.ap26r .ap26-article figure img {
	display: block;
	margin: 0 auto;
}

.ap26r .ap26-article figcaption {
	font-size: 14px;
	color: #6b7280;
	text-align: center;
	margin-top: 8px;
}

.ap26r .ap26-article .aligncenter {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ap26r .ap26-article :where(iframe, video) {
	display: block;
	width: 100%;
	border: 0;
}

.ap26r .ap26-article :where(.wp-block-embed__wrapper) iframe {
	aspect-ratio: 16 / 9;
	height: auto;
}

.ap26r .ap26-article pre {
	overflow-x: auto;
	padding: 16px;
	border-radius: 8px;
	background: #f7f9fb;
	font-size: 14px;
}

/* Listicle furniture (snippet 6, 2026-09-24). */
.ap26r .ap26-article .ap26-callout {
	background: #f7f7fe;
	border: 1px solid #d8d5f7;
	border-radius: 16px;
	padding: 32px 36px;
	margin: 28px auto;
}

.ap26r .ap26-article .ap26-callout > *:first-child {
	margin-top: 0;
}

.ap26r .ap26-article .ap26-callout > *:last-child {
	margin-bottom: 0;
}

.ap26r .ap26-article .ap26-callout__title {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--ap26r-teal);
	margin: 0 0 12px;
	font-family: inherit;
}

.ap26r .ap26-article .ap26-callout p {
	font-size: 18px;
	line-height: 1.5;
	color: var(--ap26r-body);
	margin: 0 0 8px;
}

.ap26r .ap26-article .ap26-callout strong {
	color: var(--ap26r-ink);
	font-weight: 700;
}

.ap26r .ap26-article .ap26-jump {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 16px;
	margin: 16px 0 0;
	border: 1px solid var(--ap26r-teal);
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ap26r-teal);
	text-decoration: none;
	transition: background .3s var(--ap26r-ease);
}

.ap26r .ap26-article .ap26-jump:hover {
	background: #eaf7f4;
}

.ap26r .ap26-article .ap26-jump::after {
	content: "\2193";
	font-size: 15px;
	line-height: 1;
}

.ap26r .ap26-article .ap26-rank {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ap26r-ink);
	margin: 40px auto 12px;
	font-family: inherit;
}

.ap26r .ap26-article .ap26-rank__n {
	color: var(--ap26r-ink);
}

.ap26r .ap26-article .ap26-rank__name {
	color: var(--ap26r-indigo);
}

.ap26r .ap26-article blockquote {
	border: 0;
	border-left: 3px solid var(--ap26r-indigo);
	margin: 24px auto;
	padding: 4px 0 4px 20px;
	font-style: normal;
}

.ap26r .ap26-article blockquote p {
	color: var(--ap26r-ink);
	font-weight: 500;
}

.ap26r .ap26-article hr {
	height: 0;
	border: 0;
	border-top: 1px solid var(--ap26r-rule);
	margin: 40px auto;
	opacity: 1;
}

.ap26r .ap26-article table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ap26r-body);
	margin: 24px auto;
}

.ap26r .ap26-article th {
	font-weight: 700;
	color: var(--ap26r-ink);
	text-align: left;
	background: #f6f7f9;
	padding: 12px 16px;
	border: 1px solid var(--ap26r-rule);
}

.ap26r .ap26-article td {
	padding: 12px 16px;
	border: 1px solid var(--ap26r-rule);
	vertical-align: top;
}

.ap26r .ap26-article .wp-block-table {
	overflow-x: auto;
}

/* The mini CTA card (snippet 6: .ap26-cta-mini; drawn by this plugin's ap26/cta-mini). */
.ap26r .ap26-cta-mini {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 800px;
	margin: 32px auto;
	padding: 20px 24px;
	background: #edecfb;
	border: 1px solid var(--ap26r-rule);
	border-radius: 8px;
	font-family: Manrope, sans-serif;
}

.ap26r .ap26-cta-mini__logo {
	width: 48px;
	height: auto;
	flex: none;
}

.ap26r .ap26-cta-mini__copy {
	flex: 1;
	min-width: 0;
}

.ap26r .ap26-cta-mini__heading {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ap26r-ink);
	margin: 0 0 2px;
}

.ap26r .ap26-cta-mini__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--ap26r-body);
	margin: 0;
}

.ap26r .ap26-cta-mini__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(90deg, #5044e1 0%, #00a991 100%);
	transition: opacity .3s var(--ap26r-ease), translate .3s var(--ap26r-ease);
}

.ap26r .ap26-cta-mini__btn:hover,
.ap26r .ap26-cta-mini__btn:focus-visible {
	opacity: .9;
	color: #fff;
	text-decoration: none;
	translate: 0 -2px;
}

/* A popup button's wrapper (the theme binds .hubs-form-popup-btn a): no box of its own. */
.ap26r .ap26r-popup-trigger {
	display: contents;
}

/*
 * The demo popup (the theme styles it: backdrop, box, close). Here the global
 * header sticks (see body.ap26r-on above) at z-index 100000, so the popup
 * goes over it, as it does on pages where the header has scrolled away.
 */
body.ap26r-on .ap26r-popup #popup-form-modal {
	z-index: 100001;
}

/* ── Related resources: the live .bs-post cards, under the article ────── */

.ap26r .ap26r-related.bs-section--post-block {
	max-width: 1168px;
	margin: 24px auto 0;
	padding: 56px 24px 8px;
	border-top: 1px solid var(--ap26r-rule);
}

.ap26r .ap26r-related .container {
	max-width: none;
	padding: 0;
}

.ap26r .ap26r-related .bs-post__category span {
	color: var(--ap26r-indigo);
}

.ap26r .ap26r-related .bs-post__lear-more--text {
	color: var(--ap26r-teal);
	font-weight: 700;
}

.ap26r .ap26r-related .ap26r-related__title {
	font: 800 32px/1.3 Manrope, sans-serif;
	color: var(--ap26r-ink);
	margin: 0 0 32px;
	text-align: left;
}

.ap26r .ap26r-related .bs-post__trigger,
.ap26r .ap26r-related .bs-post__trigger:hover {
	color: inherit;
	text-decoration: none;
}

.ap26r .ap26r-related .bs-post__inner {
	border-radius: 16px;
	transition: box-shadow .3s var(--ap26r-ease);
}

.ap26r .ap26r-related .bs-common-image {
	border-radius: 16px 16px 0 0;
	overflow: hidden;
}

/* ── Related resources, snippet 6's ap26 cards (setting "2026 cards") ── */

.ap26r .ap26-related {
	max-width: 1168px;
	margin: 0 auto;
	padding: 40px 24px 40px;
	font-family: Manrope, sans-serif;
	border-top: 1px solid var(--ap26r-rule);
}

.ap26r .ap26-related .ap26-related__heading {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ap26r-ink);
	margin: 16px 0 40px;
	font-family: inherit;
}

.ap26r .ap26-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 64px 28px;
}

.ap26r .ap26-card {
	display: flex;
	flex-direction: column;
}

.ap26r .ap26-card__media {
	display: block;
	height: 222px;
	border-radius: 8px;
	overflow: hidden;
}

.ap26r .ap26-card__img {
	display: block;
	width: 100%;
	height: 222px;
	object-fit: cover;
	transition: scale .3s var(--ap26r-ease);
}

.ap26r .ap26-card__media:hover .ap26-card__img {
	scale: 1.04;
}

.ap26r .ap26-card__img--placeholder {
	background: radial-gradient(420px 260px at 15% 110%, rgba(80, 68, 225, .35), transparent 70%), radial-gradient(420px 260px at 90% 0%, rgba(0, 169, 145, .3), transparent 70%), #eef0f4;
}

.ap26r .ap26-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px 8px 0;
}

.ap26r .ap26-card__tag {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ap26r-indigo);
	text-decoration: none;
	margin-bottom: 4px;
}

.ap26r .ap26-card__title {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ap26r-ink);
	margin: 8px 0;
	font-family: inherit;
}

.ap26r .ap26-card__title a {
	color: inherit;
	text-decoration: none;
}

.ap26r .ap26-card__excerpt {
	font-size: 16px;
	line-height: 1.5;
	color: var(--ap26r-body);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ap26r .ap26-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ap26r-ink);
	text-decoration: none;
}

.ap26r .ap26-card__more svg {
	transition: translate .3s var(--ap26r-ease);
}

.ap26r .ap26-card__more:hover svg {
	translate: 4px 0;
}

@media (max-width: 1023px) {
	.ap26r .ap26-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 24px;
	}
}

@media (max-width: 767px) {
	.ap26r .ap26-cards__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ap26r .ap26-related .ap26-related__heading {
		font-size: 26px;
		margin-bottom: 24px;
	}
}

/* ── The site footer's demo band on these pages (1.1.2, includes/footer.php) ──
   The band keeps the global footer's own design (#ap-final-footer-v1, its rules
   use !important); these add the popup button's wrapper and the phone link. */
#ap-final-footer-v1 .ap-btn-group.ap26r-band-actions {
	flex-wrap: wrap !important;
	row-gap: 14px !important;
	column-gap: 24px !important;
}

#ap-final-footer-v1 .ap26r-band-trigger {
	display: contents !important;
}

#ap-final-footer-v1 .ap-btn-group a.ap26r-band-phone {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 47px !important;
	padding: 0 !important;
	font-family: Manrope, Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: rgba(255, 255, 255, .88) !important;
	text-decoration: underline !important;
	text-decoration-color: rgba(255, 255, 255, .45) !important;
	text-underline-offset: 4px !important;
	white-space: nowrap !important;
	background: none !important;
	border: 0 !important;
}

#ap-final-footer-v1 .ap-btn-group a.ap26r-band-phone:is(:hover, :focus-visible) {
	color: #fff !important;
	text-decoration-color: #fff !important;
}

/* The closing demo prompt boxed as a mini CTA (includes/body.php): no empty line. */
.ap26r .ap26-cta-mini__text:empty {
	display: none;
}

/* ── Easy TOC and AddToAny: hidden here should any box still be printed ─ */

body.ap26r-on #ez-toc-container,
body.ap26r-on .ez-toc-sticky,
body.ap26r-on .ez-toc-widget-sticky,
body.ap26r-on .a2a_floating_style,
body.ap26r-on .addtoany_content,
body.ap26r-on .addtoany_shortcode {
	display: none !important;
}

/* ── Smaller screens ──────────────────────────────────────────────────── */

@media (max-width: 1023px) {
	.ap26r .ap26-post-header__title {
		font-size: 40px;
	}

	.ap26r .ap26-article h2 {
		font-size: 32px;
	}
}

@media (max-width: 767px) {
	.ap26r {
		--ap26r-sticky-top: 80px;
	}

	.ap26r.ap26r--bar {
		--ap26r-sticky-top: 120px;
	}

	.ap26r .ap26-sticky__inner {
		padding: 8px 16px;
	}

	.ap26r .ap26-sticky .ap26-share {
		display: none;
	}

	.ap26r .ap26-post-header {
		padding-top: 28px;
		gap: 20px;
	}

	.ap26r .ap26-post-header__head {
		padding-bottom: 24px;
	}

	.ap26r .ap26-post-header__title {
		font-size: 30px;
	}

	.ap26r .ap26-post-header__img {
		border-radius: 12px;
	}

	.ap26r .ap26-crumbs__current {
		max-width: 18ch;
	}

	.ap26r .ap26-article h2 {
		font-size: 26px;
		margin-top: 40px;
	}

	.ap26r .ap26-article h3 {
		font-size: 22px;
	}

	.ap26r .ap26-article h4 {
		font-size: 20px;
	}

	.ap26r .ap26-article p,
	.ap26r .ap26-article ul,
	.ap26r .ap26-article ol {
		font-size: 16px;
	}

	.ap26r .ap26-article .ap26-callout {
		padding: 24px 22px;
	}

	.ap26r .ap26-article .ap26-callout__title {
		font-size: 18px;
	}

	.ap26r .ap26-article .ap26-callout p {
		font-size: 16px;
	}

	.ap26r .ap26-article .ap26-rank {
		font-size: 22px;
	}

	.ap26r .ap26-cta-mini {
		flex-direction: column;
		align-items: flex-start;
	}

	.ap26r .ap26r-related .ap26r-related__title {
		font-size: 26px;
		margin-bottom: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ap26r *,
	.ap26r *::before,
	.ap26r *::after {
		transition: none !important;
	}
}
