/*
 * Tridev Blog – listing + article styles.
 * Everything is scoped under .tbx and uses the tbx- prefix so it cannot collide
 * with the legacy Additional CSS (.top-banner, .blog-*, .recent-*), Bootstrap
 * or Elementor styles.
 */

.tbx {
	--tbx-blue: #009ee3;
	--tbx-blue-dark: #0082ba;
	--tbx-navy: #002493;
	--tbx-ink: #0f1b33;
	--tbx-text: #2b3648;
	--tbx-muted: #5d6a80;
	--tbx-line: #e1e7f0;
	--tbx-surface: #f3f7fc;
	--tbx-white: #fff;
	--tbx-radius: 14px;
	--tbx-shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 8px 24px rgba(15, 27, 51, .06);
	--tbx-font: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	font-family: var(--tbx-font);
	color: var(--tbx-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.tbx *, .tbx *::before, .tbx *::after { box-sizing: border-box; }
.tbx a { text-decoration: none; }
.tbx img { max-width: 100%; height: auto; }
.tbx .tbx-icon { flex: none; vertical-align: -3px; }
.tbx [hidden] { display: none !important; }
.tbx p { margin: 0 0 1em; }

.tbx-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons & links ---------- */
.tbx .tbx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 24px;
	font: 700 1rem/1.2 var(--tbx-font); letter-spacing: .01em; text-align: center; white-space: normal;
	border: 2px solid transparent; border-radius: 10px;
	cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.tbx .tbx-btn:focus-visible, .tbx .tbx-link:focus-visible, .tbx a:focus-visible,
.tbx input:focus-visible, .tbx select:focus-visible, .tbx textarea:focus-visible, .tbx summary:focus-visible {
	outline: 3px solid var(--tbx-navy); outline-offset: 2px;
}
.tbx .tbx-btn--primary { background: var(--tbx-blue); color: #fff; border-color: var(--tbx-blue); }
.tbx .tbx-btn--primary:hover, .tbx .tbx-btn--primary:focus { background: var(--tbx-blue-dark); border-color: var(--tbx-blue-dark); color: #fff; box-shadow: 0 6px 16px rgba(0, 158, 227, .35); transform: translateY(-1px); }
.tbx .tbx-btn--light { background: #fff; color: var(--tbx-navy); border-color: #fff; }
.tbx .tbx-btn--light:hover, .tbx .tbx-btn--light:focus { background: #e9f6fd; color: var(--tbx-navy); border-color: #e9f6fd; }
.tbx .tbx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.tbx .tbx-btn--ghost:hover, .tbx .tbx-btn--ghost:focus { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.tbx .tbx-btn--sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.tbx .tbx-btn--block { width: 100%; }
.tbx .tbx-btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

.tbx .tbx-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .95rem; color: var(--tbx-blue-dark); }
.tbx .tbx-link:hover { color: var(--tbx-navy); }
.tbx .tbx-link .tbx-icon { transition: transform .18s; }
.tbx .tbx-link:hover .tbx-icon { transform: translateX(3px); }

.tbx .tbx-tag {
	display: inline-block; padding: 3px 11px; border-radius: 999px;
	background: #e4f4fc; color: #006a99; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.tbx .tbx-tag:hover { background: #cfeaf8; color: #00587f; }

.tbx .tbx-section-title { font: 800 1.6rem/1.2 var(--tbx-font); color: var(--tbx-ink); margin: 0 0 22px; }

/* ---------- Cards ---------- */
.tbx .tbx-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tbx-line);
	border-radius: var(--tbx-radius); overflow: hidden; box-shadow: var(--tbx-shadow); transition: transform .2s, box-shadow .2s;
}
.tbx .tbx-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 27, 51, .06), 0 16px 36px rgba(15, 27, 51, .12); }
.tbx .tbx-card__media { display: block; aspect-ratio: 16 / 9; background: var(--tbx-surface); overflow: hidden; }
.tbx .tbx-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.tbx .tbx-card:hover .tbx-card__img { transform: scale(1.04); }
.tbx .tbx-card__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #9fb4cf; background: linear-gradient(135deg, #eaf3fb, #dbe9f7); }
.tbx .tbx-card__ph .tbx-icon { width: 48px; height: 48px; }
.tbx .tbx-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.tbx .tbx-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; font-size: .82rem; color: var(--tbx-muted); }
.tbx .tbx-card__title { font: 800 1.15rem/1.35 var(--tbx-font); margin: 0 0 10px; color: var(--tbx-ink); }
.tbx .tbx-card__title a { color: inherit; }
.tbx .tbx-card__title a:hover { color: var(--tbx-blue-dark); }
.tbx .tbx-card__excerpt { color: var(--tbx-text); font-size: .95rem; margin: 0 0 16px; }
.tbx .tbx-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--tbx-line); }
.tbx .tbx-product-link { font-size: .8rem; font-weight: 700; color: var(--tbx-navy); background: var(--tbx-surface); border-radius: 6px; padding: 4px 9px; }
.tbx .tbx-product-link:hover { background: #dfeaf7; color: var(--tbx-navy); }

.tbx .tbx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tbx .tbx-grid > .tbx-cta--listing { grid-column: 1 / -1; }

/* ---------- Listing ---------- */
.tbx-listing { padding: 8px 0 56px; }
.tbx-listing__intro { max-width: 760px; margin-bottom: 22px; }
.tbx .tbx-eyebrow { margin: 0 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tbx-blue-dark); }
.tbx .tbx-lead { font-size: 1.1rem; color: var(--tbx-muted); margin: 0; }

.tbx-toolbar { display: grid; gap: 14px; margin-bottom: 14px; }
.tbx .tbx-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--tbx-line); border-radius: 12px; padding: 6px 6px 6px 14px; max-width: 640px; }
.tbx .tbx-search:focus-within { border-color: var(--tbx-blue); box-shadow: 0 0 0 4px rgba(0, 158, 227, .15); }
.tbx .tbx-search .tbx-icon { color: var(--tbx-muted); }
.tbx .tbx-search input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 8px 4px; font: 500 1rem var(--tbx-font); background: transparent; color: var(--tbx-ink); outline: none; box-shadow: none; }
.tbx .tbx-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.tbx .tbx-chips { display: flex; flex-wrap: wrap; gap: 8px; overflow-x: visible; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.tbx .tbx-chip {
	flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--tbx-line);
	background: #fff; color: var(--tbx-text); font-size: .88rem; font-weight: 700; white-space: nowrap; transition: all .15s;
}
.tbx .tbx-chip:hover { border-color: var(--tbx-blue); color: var(--tbx-navy); }
.tbx .tbx-chip.is-active { background: var(--tbx-navy); border-color: var(--tbx-navy); color: #fff; }
.tbx .tbx-chip__count { font-size: .72rem; font-weight: 700; opacity: .65; }

.tbx .tbx-live { min-height: 1.6em; margin-bottom: 18px; color: var(--tbx-muted); font-size: .95rem; }
.tbx .tbx-clear { margin-left: 8px; font-weight: 700; color: var(--tbx-blue-dark); }

.tbx-featured { margin-bottom: 44px; }
.tbx .tbx-featured__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tbx-featured { padding: 28px 28px 32px; background: var(--tbx-surface); border-radius: 18px; }
.tbx .tbx-card--lead { grid-row: 1 / span 2; }
.tbx .tbx-card--lead .tbx-card__media { aspect-ratio: 16 / 10; }
.tbx .tbx-card--lead .tbx-card__title { font-size: 1.6rem; line-height: 1.25; }
.tbx .tbx-card--compact { flex-direction: row; }
.tbx .tbx-card--compact .tbx-card__media { width: 38%; aspect-ratio: auto; flex: none; }
.tbx .tbx-card--compact .tbx-card__body { padding: 14px 16px; }
.tbx .tbx-card--compact .tbx-card__title { font-size: 1rem; }
.tbx .tbx-card--compact .tbx-card__foot { border: 0; padding-top: 6px; }

.tbx-latest { margin-bottom: 48px; }
.tbx .tbx-empty { text-align: center; padding: 40px 20px; background: var(--tbx-surface); border-radius: var(--tbx-radius); margin-bottom: 24px; }
.tbx-listing.is-loading .tbx-latest, .tbx-listing.is-loading .tbx-featured { opacity: .45; pointer-events: none; transition: opacity .15s; }

.tbx .tbx-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.tbx .tbx-page { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1.5px solid var(--tbx-line); border-radius: 10px; background: #fff; color: var(--tbx-text); font-weight: 700; }
.tbx a.tbx-page:hover { border-color: var(--tbx-blue); color: var(--tbx-navy); }
.tbx .tbx-page.is-current { background: var(--tbx-navy); border-color: var(--tbx-navy); color: #fff; }
.tbx .tbx-page--gap { border: 0; background: transparent; min-width: 24px; padding: 0; }

.tbx .tbx-range__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tbx .tbx-range__list a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--tbx-surface); color: var(--tbx-navy); font-weight: 700; font-size: .9rem; border: 1px solid transparent; }
.tbx .tbx-range__list a:hover { border-color: var(--tbx-blue); background: #fff; }

/* ---------- CTA blocks ---------- */
.tbx .tbx-cta { display: flex; align-items: center; gap: 20px 28px; border-radius: var(--tbx-radius); }
.tbx .tbx-cta__title { margin: 0 0 4px; font: 800 1.2rem/1.3 var(--tbx-font); color: inherit; }
.tbx .tbx-cta__sub { margin: 0; font-size: .96rem; opacity: .9; }
.tbx .tbx-cta__text { flex: 1; min-width: 0; }
.tbx .tbx-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.tbx .tbx-cta--listing, .tbx .tbx-cta--end { background: linear-gradient(120deg, var(--tbx-navy) 0%, #0a5ac2 60%, var(--tbx-blue) 120%); color: #fff; padding: 30px 34px; }
.tbx .tbx-cta--listing .tbx-cta__title, .tbx .tbx-cta--end .tbx-cta__title { font-size: 1.45rem; color: #fff; }
.tbx .tbx-cta--listing .tbx-cta__sub, .tbx .tbx-cta--end .tbx-cta__sub { color: #dbeafb; opacity: 1; }

/* In-article CTAs: kept visually quiet so they don't interrupt reading. */
.tbx .tbx-cta--intro { margin: 1.6em 0; padding: 18px 22px; background: var(--tbx-surface); border: 1px solid var(--tbx-line); border-left: 5px solid var(--tbx-blue); color: var(--tbx-ink); }
.tbx .tbx-cta--intro .tbx-cta__title { font-size: 1.1rem; }
.tbx .tbx-cta--intro .tbx-cta__sub { color: var(--tbx-muted); }
.tbx .tbx-cta--inline { margin: 2.2em 0; padding: 20px 22px; background: #fff; border: 1.5px dashed #9bd3ee; color: var(--tbx-ink); }
.tbx .tbx-cta--inline .tbx-cta__sub { color: var(--tbx-muted); }
.tbx .tbx-cta__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #e4f4fc; color: var(--tbx-blue-dark); }
.tbx .tbx-cta__icon .tbx-icon { width: 22px; height: 22px; }
.tbx .tbx-cta--end { margin-top: 48px; }

/* ---------- Article hero ---------- */
.tbx-hero {
	position: relative; color: #fff; padding: 36px 0 44px;
	background:
		linear-gradient(115deg, rgba(0, 24, 96, .96) 0%, rgba(0, 36, 147, .9) 55%, rgba(0, 120, 190, .85) 100%),
		var(--tbx-hero-img, none) center / cover no-repeat,
		var(--tbx-navy);
}
.tbx-hero .tbx-wrap { max-width: 1180px; margin: 0 auto; }
.tbx .tbx-hero__title { max-width: 900px; }
.tbx .tbx-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: .86rem; color: #cfe0f7; }
.tbx .tbx-breadcrumb li + li::before { content: "/"; margin: 0 9px; opacity: .55; }
.tbx .tbx-breadcrumb a { color: #fff; }
.tbx .tbx-breadcrumb a:hover { text-decoration: underline; }
.tbx .tbx-tag--hero { background: rgba(255, 255, 255, .16); color: #fff; margin-bottom: 14px; }
.tbx .tbx-tag--hero:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.tbx .tbx-hero__title { margin: 0 0 18px; font: 800 clamp(1.7rem, 3.6vw, 2.7rem)/1.18 var(--tbx-font); color: #fff; letter-spacing: -.01em; }
.tbx .tbx-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: .92rem; color: #d6e5fa; }
.tbx .tbx-hero__meta .tbx-icon { opacity: .85; margin-right: 2px; }

/* ---------- Article layout ---------- */
.tbx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 40px; padding-bottom: 32px; max-width: 1180px; align-items: stretch; }
.tbx .tbx-article { min-width: 0; max-width: 780px; }
.tbx .tbx-figure { margin: 0 0 28px; border-radius: var(--tbx-radius); overflow: hidden; background: var(--tbx-surface); }
.tbx .tbx-figure__img { display: block; width: 100%; height: auto; }

.tbx .tbx-prose { font-size: 1.1rem; line-height: 1.8; color: var(--tbx-text); overflow-wrap: anywhere; }
.tbx .tbx-prose > *:first-child { margin-top: 0; }
.tbx .tbx-prose h2, .tbx .tbx-prose h3, .tbx .tbx-prose h4 { font-family: var(--tbx-font); color: var(--tbx-ink); line-height: 1.28; scroll-margin-top: 24px; font-weight: 800; }
.tbx .tbx-prose h2 { font-size: 1.75rem; margin: 2.1em 0 .6em; padding-top: .4em; color: var(--tbx-navy); }
.tbx .tbx-prose h3 { font-size: 1.3rem; margin: 1.7em 0 .5em; }
.tbx .tbx-prose h4 { font-size: 1.1rem; margin: 1.5em 0 .4em; }
.tbx .tbx-prose p { margin: 0 0 1.25em; }
.tbx .tbx-prose a:not(.tbx-btn):not(.tbx-link) { color: var(--tbx-blue-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tbx .tbx-prose a:not(.tbx-btn):not(.tbx-link):hover { color: var(--tbx-navy); }
.tbx .tbx-prose .tbx-btn, .tbx .tbx-prose .tbx-link { text-decoration: none; }
.tbx .tbx-prose .tbx-btn--primary { color: #fff; }
.tbx .tbx-prose ul, .tbx .tbx-prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.tbx .tbx-prose li { margin-bottom: .45em; padding-left: .2em; }
.tbx .tbx-prose li::marker { color: var(--tbx-blue); }
.tbx .tbx-prose img { border-radius: 10px; height: auto; }
.tbx .tbx-prose figure { margin: 1.8em 0; }
.tbx .tbx-prose figcaption { font-size: .88rem; color: var(--tbx-muted); text-align: center; margin-top: 8px; font-style: normal; }
.tbx .tbx-prose blockquote { margin: 1.8em 0; padding: 14px 22px; border-left: 4px solid var(--tbx-blue); background: var(--tbx-surface); border-radius: 0 10px 10px 0; font-size: 1.05rem; }
.tbx .tbx-prose blockquote p:last-child { margin: 0; }
.tbx .tbx-prose iframe, .tbx .tbx-prose video { max-width: 100%; }
.tbx .tbx-table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--tbx-line); border-radius: 10px; -webkit-overflow-scrolling: touch; }
.tbx .tbx-table-wrap table { margin: 0; min-width: 520px; font-size: .95rem; }
.tbx .tbx-table-wrap th { background: var(--tbx-surface); color: var(--tbx-ink); }
.tbx .tbx-table-wrap th, .tbx .tbx-table-wrap td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--tbx-line); }

/* ---------- Sidebar ---------- */
.tbx .tbx-aside__inner { display: contents; }
.tbx .tbx-aside { display: grid; align-content: start; gap: 20px; min-width: 0; }
.tbx .tbx-aside__sticky { display: grid; gap: 20px; align-content: start; }
/* Only stick when the whole form + products stack fits the screen, so there is never a nested scrollbar. */
@media (min-width: 992px) and (min-height: 930px) { .tbx .tbx-aside__sticky { position: sticky; top: 24px; } }
.tbx .tbx-card-box { background: #fff; border: 1px solid var(--tbx-line); border-radius: var(--tbx-radius); padding: 20px; box-shadow: var(--tbx-shadow); }
.tbx .tbx-box-title { margin: 0 0 10px; font: 800 1.05rem/1.3 var(--tbx-font); color: var(--tbx-ink); }

.tbx .tbx-toc__list { list-style: none; margin: 0; padding: 0; }
.tbx .tbx-toc__item a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--tbx-line); color: var(--tbx-text); font-size: .92rem; line-height: 1.4; }
.tbx .tbx-toc__item a:hover { color: var(--tbx-navy); border-left-color: var(--tbx-blue); }
.tbx .tbx-toc__item a.is-active { color: var(--tbx-navy); font-weight: 800; border-left-color: var(--tbx-blue); background: linear-gradient(90deg, #e9f6fd, transparent); }
.tbx .tbx-toc__item--h3 a { padding-left: 26px; font-size: .86rem; color: var(--tbx-muted); }
.tbx .tbx-toc--mobile { display: none; margin: 0 0 24px; border: 1px solid var(--tbx-line); border-radius: 12px; background: var(--tbx-surface); }
.tbx .tbx-toc--mobile summary { cursor: pointer; padding: 14px 16px; font-weight: 800; color: var(--tbx-ink); list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; }
.tbx .tbx-toc--mobile summary::-webkit-details-marker { display: none; }
.tbx .tbx-toc--mobile summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--tbx-blue-dark); }
.tbx .tbx-toc--mobile[open] summary::after { content: "–"; }
.tbx .tbx-toc--mobile nav { padding: 0 16px 14px; }
.tbx .tbx-toc--mobile .tbx-toc__item a { padding: 9px 0 9px 12px; }

.tbx .tbx-form-box { border-top: 4px solid var(--tbx-blue); }
.tbx .tbx-form-box__sub { margin: 0 0 14px; font-size: .9rem; color: var(--tbx-muted); }
.tbx .tbx-field { margin-bottom: 12px; }
.tbx .tbx-field label { display: block; margin: 0 0 5px; font-size: .84rem; font-weight: 700; line-height: 1.3; color: var(--tbx-ink); }
.tbx .tbx-field label span { color: #c0392b; }
.tbx .tbx-field input, .tbx .tbx-field select, .tbx .tbx-field textarea {
	display: block; width: 100%; min-height: 46px; padding: 10px 12px;
	font: 500 16px/1.4 var(--tbx-font); /* 16px stops iOS zoom-on-focus */
	color: var(--tbx-ink); background: #fff; border: 1.5px solid #cdd6e4; border-radius: 9px; box-shadow: none;
}
.tbx .tbx-field textarea { min-height: 72px; resize: vertical; }
.tbx .tbx-field input:focus, .tbx .tbx-field select:focus, .tbx .tbx-field textarea:focus { border-color: var(--tbx-blue); box-shadow: 0 0 0 3px rgba(0, 158, 227, .18); outline: none; }
.tbx .tbx-field.has-error input, .tbx .tbx-field.has-error select { border-color: #c0392b; }
.tbx .tbx-field__err { display: block; min-height: 0; margin-top: 4px; font-size: .8rem; color: #b0301f; }
.tbx .tbx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tbx .tbx-form__status { margin: 12px 0 0; font-size: .92rem; font-weight: 700; }
.tbx .tbx-form__status:empty { display: none; }
.tbx .tbx-form__status.is-ok { color: #16794a; background: #e8f7ef; padding: 10px 12px; border-radius: 8px; }
.tbx .tbx-form__status.is-err { color: #b0301f; background: #fdeeec; padding: 10px 12px; border-radius: 8px; }

.tbx .tbx-products__list { list-style: none; margin: 0 0 12px; padding: 0; }
.tbx .tbx-products__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--tbx-line); color: var(--tbx-ink); font-weight: 700; font-size: .95rem; }
.tbx .tbx-products__list a:hover { color: var(--tbx-blue-dark); }
.tbx .tbx-products__list li:last-child a { border-bottom: 0; }

/* ---------- Related ---------- */
.tbx-related { background: var(--tbx-surface); padding: 52px 0 60px; margin-top: 24px; }
.tbx .tbx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Mobile sticky quote bar ---------- */
.tbx .tbx-sticky {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
	align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--tbx-line);
	box-shadow: 0 -6px 20px rgba(15, 27, 51, .12); transition: transform .25s, opacity .25s;
}
.tbx .tbx-sticky.is-away { transform: translateY(110%); opacity: 0; pointer-events: none; }
.tbx .tbx-sticky__text { font-size: .9rem; font-weight: 700; color: var(--tbx-ink); line-height: 1.3; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tbx-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
	.tbx .tbx-grid, .tbx .tbx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.tbx-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
	.tbx .tbx-article { max-width: none; }
	.tbx .tbx-toc--desktop { display: none; }
	.tbx .tbx-toc--mobile { display: block; }
	.tbx .tbx-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.tbx .tbx-chips { flex-wrap: nowrap; overflow-x: auto; }
	.tbx-featured { padding: 18px 14px 22px; }
	.tbx .tbx-grid, .tbx .tbx-grid--3, .tbx .tbx-featured__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.tbx .tbx-section-title { font-size: 1.35rem; }
	.tbx-hero { padding: 22px 0 28px; }
	.tbx .tbx-prose { font-size: 1.04rem; line-height: 1.75; }
	.tbx .tbx-prose h2 { font-size: 1.45rem; }
	.tbx .tbx-prose h3 { font-size: 1.18rem; }
	.tbx .tbx-cta { flex-direction: column; align-items: stretch; text-align: left; }
	.tbx .tbx-cta--listing, .tbx .tbx-cta--end { padding: 24px 20px; }
	.tbx .tbx-cta--inline { flex-direction: column; align-items: flex-start; }
	.tbx .tbx-cta__actions .tbx-btn { flex: 1 1 100%; }
	.tbx .tbx-cta--intro .tbx-btn { width: 100%; }
	.tbx .tbx-search .tbx-btn { padding: 9px 14px; }
	.tbx .tbx-card--compact { flex-direction: column; }
	.tbx .tbx-card--compact .tbx-card__media { width: 100%; aspect-ratio: 16 / 9; }
	/* Sticky bar only on single articles, and leave room so it never covers the footer. */
	.tbx-single .tbx-sticky { display: flex; }
	.tbx-single { padding-bottom: 72px; }
}
@media (max-width: 380px) {
	.tbx .tbx-sticky__text { display: none; }
	.tbx .tbx-sticky .tbx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.tbx *, .tbx *::before, .tbx *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.tbx-aside, .tbx .tbx-cta, .tbx .tbx-sticky, .tbx .tbx-toc, .tbx-related { display: none !important; }
}

/* ---------- Archive pages (category / tag / search) ---------- */
.tbx .tbx-hero__desc { max-width: 760px; margin: 0 0 14px; color: #d6e5fa; font-size: 1.05rem; }
.tbx .tbx-hero__desc p { margin: 0 0 .5em; }
.tbx-archive__body { padding-top: 32px; padding-bottom: 56px; }
.tbx-archive .tbx-chips { margin-bottom: 24px; }
.tbx-archive .tbx-range { margin-top: 48px; }
.tbx .tbx-pagination a.tbx-page { text-decoration: none; }
