/* Custom NBN Element Blog Template
 * Palette taken from the Element Design logo. Edit the --ebt-* values here to adjust.
 */
.single-post,
.ebt-archive-page {
	--ebt-brand: #460e4b;          /* logo plum */
	--ebt-brand-hover: #5e1f63;
	--ebt-brand-tint: #f7f1f7;
	--ebt-brand-line: #e7dae8;
	--ebt-ink: #222326;
	--ebt-muted: #55585e;          /* logo charcoal */
	--ebt-gray: #9a9d9f;           /* logo gray */
	--ebt-line: #e3e4e5;
	--ebt-page: #f3f3f4;           /* soft panels: author box, callouts */
	--ebt-paper: #ffffff;
	--ebt-radius: 8px;
	--ebt-card-radius: 14px;
	--ebt-shadow: 0 1px 2px rgba(34, 20, 36, 0.04), 0 10px 30px rgba(34, 20, 36, 0.06), 0 30px 70px rgba(34, 20, 36, 0.04);
	--ebt-measure: 44rem;          /* reading column */
	--ebt-frame: 64rem;            /* article card + related posts */

	/* Space kept above a heading when jumping from the TOC: 98px sticky header + breathing room */
	--ebt-header-height: 98px;
	--ebt-offset: calc(var(--ebt-header-height) + 1.5rem);
}
.admin-bar.single-post { --ebt-offset: calc(var(--ebt-header-height) + 32px + 1.5rem); }
@media (max-width: 782px) {
	.admin-bar.single-post { --ebt-offset: calc(var(--ebt-header-height) + 46px + 1.5rem); }
}

/* GeneratePress already uses border-box; set it here so the template never depends on it */
.ebt-header, .ebt-hero, .ebt-toc, .ebt-cta, .ebt-author, .ebt-related, .ebt-related *, .ebt-sticky,
.ebt-template .site-main > article > .inside-article { box-sizing: border-box; }

/* ---------- Page + article card ---------- */
/* White content area */
.ebt-template .site-content,
.ebt-archive-page .site-content {
	background: #fff;
	padding-top: clamp(0.5rem, 2vw, 1.5rem);
	padding-bottom: clamp(2rem, 5vw, 4.5rem);
}
.ebt-template.one-container .container,
.ebt-archive-page.one-container .container { background-color: #fff; }

.ebt-template .site-main > article {
	max-width: var(--ebt-frame);
	margin: 0 auto;
}
.ebt-template .site-main > article > .inside-article {
	background: var(--ebt-paper);
	border-radius: var(--ebt-card-radius);
	box-shadow: var(--ebt-shadow);
	padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 6vw, 4.5rem);
}

.ebt-header,
.ebt-toc,
.ebt-template .entry-content,
.ebt-cta--end,
.ebt-author {
	max-width: var(--ebt-measure);
	margin-inline: auto;
}

/* Safety net if a GP Premium option re-adds the default pieces */
.ebt-template .page-header-image-single,
.ebt-template .inside-article > .entry-header,
.ebt-template .inside-article > footer.entry-meta { display: none; }

/* ---------- Header ---------- */
.ebt-crumbs {
	font-size: 0.875rem;
	color: var(--ebt-muted);
	margin-bottom: 1.25rem;
}
.ebt-crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
}
.ebt-crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ebt-gray); }
.ebt-crumbs a { color: inherit; text-decoration: none; }
.ebt-crumbs a:hover { color: var(--ebt-brand); text-decoration: underline; text-underline-offset: 3px; }
.ebt-crumbs [aria-current] { color: var(--ebt-ink); }

.ebt-cats {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.ebt-cats li { margin: 0; }
.ebt-cats a {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	background: var(--ebt-brand-tint);
	border: 1px solid var(--ebt-brand-line);
	border-radius: 999px;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--ebt-brand);
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}
.ebt-cats a:hover { background: var(--ebt-brand); border-color: var(--ebt-brand); color: #fff; }

/* ---------- Heading scale ----------
 * One scale for the blog, sized for phones first. !important because the
 * theme's heading sizes load after this file and are built for landing pages. */
.ebt-title,
.ebt-archive__title {
	margin: 0 0 1.25rem !important;
	font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.625rem) !important;   /* 28px -> 42px */
	line-height: 1.15 !important;
	letter-spacing: -0.01em !important;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: manual;
}
.single-post .entry-content h2 {
	font-size: clamp(1.375rem, 1.15rem + 0.95vw, 1.875rem) !important; /* 22px -> 30px */
	line-height: 1.25 !important;
	letter-spacing: -0.005em !important;
}
.single-post .entry-content h3 {
	font-size: clamp(1.1875rem, 1.07rem + 0.5vw, 1.4375rem) !important; /* 19px -> 23px */
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
}
.single-post .entry-content h4 {
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem) !important;   /* 17px -> 19px */
	line-height: 1.35 !important;
}
.single-post .entry-content :is(h5, h6) {
	font-size: 1rem !important;
	line-height: 1.4 !important;
}
.single-post .entry-content :is(h2, h3, h4, h5, h6) {
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: manual;
}

.ebt-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--ebt-line);
	font-size: 0.9375rem;
	color: var(--ebt-muted);
}
.ebt-meta__author { display: inline-flex; align-items: center; gap: 0.625rem; }
.ebt-meta__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ebt-meta__name { color: var(--ebt-ink); font-weight: 600; text-decoration: none; }
a.ebt-meta__name { text-decoration: underline; text-decoration-color: var(--ebt-brand-line); text-underline-offset: 3px; }
a.ebt-meta__name:hover { color: var(--ebt-brand); text-decoration-color: var(--ebt-brand); }
.ebt-meta__item--quiet { font-size: 0.875rem; color: var(--ebt-gray); }

/* ---------- Featured image ---------- */
.ebt-hero { margin: 2rem 0 2.5rem; }
.ebt-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--ebt-radius);
}
/* Portrait graphics: show the whole image on a soft panel instead of cropping */
.ebt-hero--portrait {
	background: var(--ebt-page);
	border-radius: var(--ebt-radius);
	padding: clamp(1rem, 3vw, 2rem);
}
.ebt-hero--portrait img {
	aspect-ratio: auto;
	width: auto;
	max-width: 100%;
	max-height: min(70vh, 560px);
	margin-inline: auto;
	object-fit: contain;
}

/* ---------- Table of contents ---------- */
.ebt-toc {
	margin-top: 0;
	margin-bottom: 2.75rem;
	background: var(--ebt-brand-tint);
	border-left: 3px solid var(--ebt-brand);
	border-radius: 0 var(--ebt-radius) var(--ebt-radius) 0;
}
.ebt-toc summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.25rem;
	font-weight: 600;
	color: var(--ebt-brand);
}
.ebt-toc summary::-webkit-details-marker { display: none; }
.ebt-toc summary::after {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-25%) rotate(45deg);
	transition: transform 0.2s;
}
.ebt-toc details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.ebt-toc ol,
.entry-content .ebt-toc ol {
	margin: 0;
	padding: 0 1.25rem 1.25rem 2.75rem;
	list-style: decimal;
	font-size: 0.975rem;
}
.ebt-toc li,
.entry-content .ebt-toc li { margin: 0 0 0.45rem; break-inside: avoid; }
.ebt-toc li::marker { color: var(--ebt-brand); font-weight: 600; font-variant-numeric: tabular-nums; }
.ebt-toc a,
.entry-content .ebt-toc a { color: var(--ebt-ink); text-decoration: none; }
.ebt-toc a:hover,
.entry-content .ebt-toc a:hover { color: var(--ebt-brand); text-decoration: underline; text-underline-offset: 3px; }
/* Nested sections (H3s under an H2) */
.ebt-toc ol ol,
.entry-content .ebt-toc ol ol {
	margin: 0.45rem 0 0.2rem;
	padding: 0 0 0 1.25rem;
	list-style: decimal;
	font-size: 0.9375rem;
}
.ebt-toc ol ol li::marker { font-weight: 500; color: var(--ebt-gray); }
.ebt-toc ol ol li { margin-bottom: 0.3rem; }
@media (min-width: 768px) {
	.ebt-toc--long ol,
	.entry-content .ebt-toc--long ol { columns: 2; column-gap: 2.5rem; }
}

/* ---------- Body ---------- */
.ebt-template .entry-content { font-size: 1.0625rem; line-height: 1.7; }
.single-post .entry-content :is(h2, h3)[id] { scroll-margin-top: var(--ebt-offset); }
.ebt-template .entry-content h2 { margin-top: 2.75rem; margin-bottom: 0.875rem; }
.ebt-template .entry-content h3 { margin-top: 2rem; margin-bottom: 0.625rem; }
.ebt-template .entry-content h4 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.ebt-template .entry-content img { border-radius: var(--ebt-radius); }
.ebt-template .entry-content figcaption { font-size: 0.875rem; color: var(--ebt-muted); }

/* Tables: scroll sideways on phones instead of breaking the layout */
.ebt-template .entry-content .wp-block-table { overflow-x: auto; margin: 2rem 0; }
.ebt-template .entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.ebt-template .entry-content th,
.ebt-template .entry-content td {
	padding: 0.7rem 0.9rem;
	border: 0;
	border-bottom: 1px solid var(--ebt-line);
	text-align: left;
	vertical-align: top;
}
.ebt-template .entry-content thead th,
.ebt-template .entry-content tr:first-child th {
	background: var(--ebt-brand-tint);
	color: var(--ebt-brand);
	font-weight: 600;
	border-bottom-color: var(--ebt-brand-line);
}

/* Callouts: plain quotes, the "Pro tip" quote style and the "Callout" group style */
.ebt-template .entry-content blockquote,
.ebt-template .entry-content .is-style-ebt-tip {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--ebt-brand-tint);
	border: 0;
	border-left: 3px solid var(--ebt-brand);
	border-radius: 0 var(--ebt-radius) var(--ebt-radius) 0;
	font-style: normal;
	font-size: 1rem;
	color: var(--ebt-ink);
}
.ebt-template .entry-content blockquote p:last-child { margin-bottom: 0; }
.ebt-template .entry-content .is-style-ebt-callout {
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid var(--ebt-line);
	border-radius: var(--ebt-radius);
	background: var(--ebt-page);
}
.ebt-template .entry-content .is-style-ebt-callout > :last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.ebt-btn,
.entry-content .ebt-btn {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	background: var(--ebt-brand);
	color: #fff;
	border-radius: var(--ebt-radius);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s, color 0.15s;
}
.ebt-btn:hover,
.ebt-btn:focus,
.entry-content .ebt-btn:hover { background: var(--ebt-brand-hover); color: #fff; }

/* ---------- CTAs ---------- */
.ebt-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	padding: 1.5rem 1.75rem;
	border-radius: var(--ebt-radius);
}
.ebt-cta__body { flex: 1 1 18rem; position: relative; }
.ebt-cta .ebt-cta__title { margin: 0 0 0.3rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.ebt-cta .ebt-cta__text { margin: 0; font-size: 0.975rem; }

/* Mid-article: light plum panel */
.ebt-cta--mid {
	background: var(--ebt-brand-tint);
	border: 1px solid var(--ebt-brand-line);
}
.ebt-cta--mid .ebt-cta__title { color: var(--ebt-brand); }
.ebt-cta--mid .ebt-cta__text { color: var(--ebt-muted); }

/* End of article: solid plum with the logo's diamond motif */
.ebt-cta--end {
	position: relative;
	overflow: hidden;
	margin-top: 3.5rem;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	background: var(--ebt-brand);
	color: #fff;
}
.ebt-cta--end::before,
.ebt-cta--end::after {
	content: "";
	position: absolute;
	transform: rotate(45deg);
	border-radius: 12px;
	pointer-events: none;
}
.ebt-cta--end::before { width: 11rem; height: 11rem; right: -4.5rem; top: -3.5rem; background: rgba(255, 255, 255, 0.07); }
.ebt-cta--end::after { width: 4.5rem; height: 4.5rem; right: 6.5rem; bottom: -2.75rem; border: 1px solid rgba(255, 255, 255, 0.16); }
.ebt-cta--end .ebt-cta__title { color: #fff; font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.375rem); }
.ebt-cta--end .ebt-cta__text { color: rgba(255, 255, 255, 0.82); }
.ebt-cta--end .ebt-btn { position: relative; background: #fff; color: var(--ebt-brand); }
.ebt-cta--end .ebt-btn:hover,
.ebt-cta--end .ebt-btn:focus { background: var(--ebt-brand-tint); color: var(--ebt-brand); }

/* ---------- Author box ---------- */
.ebt-author {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem 1.5rem;
	margin-top: 2.5rem;
	margin-bottom: 0;
	padding: 1.75rem;
	background: var(--ebt-page);
	border-radius: var(--ebt-radius);
	scroll-margin-top: var(--ebt-offset);
}
.ebt-author--no-photo { grid-template-columns: 1fr; }
.ebt-author:target { outline: 2px solid var(--ebt-brand); outline-offset: 4px; }
.ebt-author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(34, 20, 36, 0.12); }
.ebt-author .ebt-author__label { margin: 0 0 0.125rem; font-size: 0.8125rem; color: var(--ebt-muted); }
.ebt-author .ebt-author__name { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--ebt-ink); }
.ebt-author .ebt-author__role { margin: 0 0 0.75rem; color: var(--ebt-brand); font-size: 0.9375rem; }
.ebt-author__bio { font-size: 0.975rem; color: var(--ebt-muted); }
.ebt-author__bio p { margin: 0 0 0.75rem; }
.ebt-author__link { font-weight: 600; color: var(--ebt-brand); text-underline-offset: 3px; }
.ebt-author__link:hover { color: var(--ebt-brand-hover); }

/* ---------- Related posts + card grid ----------
 * Sizes use !important because the site's own heading styles load after this file. */
.ebt-related {
	max-width: var(--ebt-frame);
	margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.ebt-related__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-bottom: 1.5rem;
}
.ebt-related .ebt-related__title {
	margin: 0 !important;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem) !important;
	line-height: 1.25 !important;
	color: var(--ebt-ink);
}
.ebt-related__all {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ebt-brand);
	text-decoration: none;
}
.ebt-related__all:hover { text-decoration: underline; text-underline-offset: 3px; }

.ebt-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
.ebt-cards .ebt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--ebt-paper);
	border-radius: var(--ebt-card-radius);
	box-shadow: 0 1px 2px rgba(34, 20, 36, 0.04), 0 6px 20px rgba(34, 20, 36, 0.06);
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
}
.ebt-cards .ebt-card:hover { box-shadow: 0 2px 4px rgba(34, 20, 36, 0.05), 0 14px 34px rgba(34, 20, 36, 0.1); transform: translateY(-2px); }
.ebt-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ebt-brand-tint); }
.ebt-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ebt-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.125rem 1.25rem 1.25rem; }
.ebt-cards .ebt-card__cat {
	margin: 0 0 0.4rem !important;
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ebt-brand);
}
.ebt-cards .ebt-card__title {
	margin: 0 0 0.5rem !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
.ebt-cards .ebt-card__title a {
	color: var(--ebt-ink) !important;
	text-decoration: none !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ebt-cards .ebt-card__title a::after { content: ""; position: absolute; inset: 0; }
.ebt-cards .ebt-card:hover .ebt-card__title a { color: var(--ebt-brand) !important; }
.ebt-cards .ebt-card__excerpt {
	margin: 0 0 1rem !important;
	font-size: 0.875rem !important;
	line-height: 1.55 !important;
	color: var(--ebt-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ebt-cards .ebt-card__date {
	margin: auto 0 0 !important;
	padding-top: 0.875rem;
	border-top: 1px solid var(--ebt-line);
	font-size: 0.8125rem !important;
	color: var(--ebt-gray);
}
@media (max-width: 900px) {
	.ebt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ebt-cards { grid-template-columns: 1fr; }
}

/* ---------- Category / tag archive ---------- */
.ebt-archive-page .site-content .content-area { width: 100% !important; max-width: none; flex: 1 1 100%; }
.ebt-archive {
	max-width: var(--ebt-frame);
	margin: 0 auto !important;
	padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 1.25rem) 0;
	box-sizing: border-box;
}
.ebt-archive__head { max-width: var(--ebt-measure); margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.ebt-archive__title { margin-bottom: 0.75rem !important; }
.ebt-archive__desc { color: var(--ebt-muted); font-size: 1.0625rem; }
.ebt-archive__desc p:last-child { margin-bottom: 0; }
.ebt-archive__empty { padding: 2.5rem; background: var(--ebt-page); border-radius: var(--ebt-card-radius); text-align: center; }

.ebt-pagination,
.ebt-archive .navigation.pagination { margin-top: clamp(2rem, 5vw, 3rem); }
.ebt-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}
.ebt-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.9rem;
	border: 1px solid var(--ebt-line);
	border-radius: var(--ebt-radius);
	background: #fff;
	color: var(--ebt-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.ebt-archive a.page-numbers:hover { border-color: var(--ebt-brand); color: var(--ebt-brand); }
.ebt-archive .page-numbers.current { background: var(--ebt-brand); border-color: var(--ebt-brand); color: #fff; }
.ebt-archive .page-numbers.dots { border-color: transparent; background: transparent; min-width: 1.5rem; padding: 0; }
@media (max-width: 480px) {
	/* Phones: Previous [current] Next */
	.ebt-archive .page-numbers:not(.prev):not(.next):not(.current) { display: none; }
}

/* ---------- Sticky CTA bar ---------- */
.ebt-sticky {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	z-index: 99;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: min(40rem, calc(100% - 2rem));
	padding: 0.625rem 0.625rem 0.625rem 1.25rem;
	background: var(--ebt-paper);
	border: 1px solid var(--ebt-brand-line);
	border-left: 4px solid var(--ebt-brand);
	border-radius: calc(var(--ebt-radius) + 4px);
	box-shadow: 0 10px 30px rgba(34, 20, 36, 0.14);
	transform: translate(-50%, calc(100% + 1.5rem));
	visibility: hidden;
	transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.ebt-sticky.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform 0.3s ease; }
.ebt-sticky[hidden] { display: none; }
.ebt-sticky .ebt-sticky__text { margin: 0; flex: 1; font-weight: 600; font-size: 0.95rem; color: var(--ebt-ink); }
.ebt-sticky__close {
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ebt-muted);
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
}
.ebt-sticky__close:hover,
.ebt-sticky__close:focus { background: var(--ebt-brand-tint); color: var(--ebt-brand); }

/* ---------- Focus, motion, small screens ---------- */
:is(.single-post, .ebt-archive-page) :is(.ebt-header, .ebt-toc, .ebt-cta, .ebt-author, .ebt-related, .ebt-sticky, .ebt-archive) :is(a, button, summary):focus-visible {
	outline: 2px solid var(--ebt-brand);
	outline-offset: 3px;
}
.ebt-cta--end .ebt-btn:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
	html:has(.ebt-toc) { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	.ebt-sticky, .ebt-sticky.is-visible, .ebt-toc summary::after, .ebt-cards .ebt-card { transition: none; }
	.ebt-cards .ebt-card:hover { transform: none; }
}
@media (max-width: 600px) {
	.ebt-template .site-main > article > .inside-article { border-radius: 10px; padding: 1.5rem 1.125rem; }
	.ebt-crumbs ol { flex-wrap: nowrap; }
	.ebt-crumbs li { flex: none; }
	.ebt-crumbs li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.ebt-meta { gap: 0.375rem 1rem; font-size: 0.875rem; }
	.ebt-toc summary { padding: 0.875rem 1rem; }
	.ebt-toc ol, .entry-content .ebt-toc ol { padding: 0 1rem 1rem 2.25rem; }
	.ebt-author { grid-template-columns: 1fr; padding: 1.25rem; }
	.ebt-author__photo { width: 72px; height: 72px; }
	.ebt-cta { padding: 1.25rem; }
	.ebt-sticky {
		bottom: 0;
		width: 100%;
		border-radius: 0;
		border-width: 1px 0 0;
		padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
	}
	.ebt-sticky .ebt-sticky__text { font-size: 0.875rem; }
	.ebt-sticky .ebt-btn { padding: 0.7rem 1rem; }
}
