/*
 * Law firm palette for the sections, plus the compliance elements (PLBK Law;
 * the brass palette was carried over from the SMN Law estate site)
 * (required disclosure, disclaimers, recognition list, contact form).
 *
 * Navy ink and harbor blue for text and buttons (AA contrast on white and
 * parchment); brass only as an accent on dark backgrounds.
 */

:root:root {
	--txc-ink: #13233F;
	--txc-muted: #4A5568;
	--txc-surface-alt: #F6F3EC;
	--txc-border: #E3DED2;
	--txc-accent: #1F4E8C;
	--txc-accent-2: #C8A15A;
	--txc-accent-ink: #FFFFFF;
	--txc-focus: #1F4E8C;
	--txc-star: #B7862B;
	--txc-glass-border: rgba(19, 35, 63, .10);
	--txc-radius: 14px;
	--txc-radius-sm: 10px;
	--txc-law-brass: #C8A15A;
}

html .is-light {
	--txc-ink: #13233F;
	--txc-muted: #4A5568;
	--txc-surface-alt: #F6F3EC;
	--txc-border: #E3DED2;
}

html .is-dark {
	--txc-ink: #F5F2EA;
	--txc-muted: rgba(245, 242, 234, .78);
	--txc-accent: #D9B56E;
	--txc-accent-ink: #13233F;
	--txc-star: #E2C27F;
}

/* Section titles in the theme's display face (set in Customize → Typography). */
.txc-sec__title,
.txc-hero__title,
.txc-ctabox .txc-sec__title {
	font-family: var(--wp--preset--font-family--display, inherit);
	letter-spacing: -0.01em;
}

/* ------------------------------------------------------------ disclosure */

.txc-disclosure {
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.txc-disclosure__inner {
	width: min(100% - 2 * var(--txc-gutter, 1.5rem), 80rem);
	margin-inline: auto;
	padding-block: 1.25rem;
}

.txc-disclosure p {
	margin: 0 0 0.35rem;
	max-width: 70rem;
}

.txc-disclosure__label {
	display: inline-block;
	margin-right: 0.35rem;
	padding: 0.05rem 0.5rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: 0.1em;
}

.txc-disclosure__extra {
	opacity: 0.85;
}

.txc-disclosure a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Fallback placement (theme without a footer slot): readable on white. */
.txc-disclosure.is-fallback {
	background: #13233F;
	color: #F5F2EA;
}

/* ------------------------------------------------------------ disclaimers */

.txc-disclaimer {
	margin: 1.25rem 0 0;
	max-width: 60rem;
	color: var(--txc-muted, #4A5568);
	font-size: 0.875rem;
	line-height: 1.5;
}

.is-dark .txc-disclaimer {
	color: var(--txc-muted);
}

.txc-reviews2 + .txc-disclaimer,
.txc-reviews + .txc-disclaimer,
.txc-bento + .txc-disclaimer {
	margin-top: 1rem;
}

/* ------------------------------------------------------------ recognition */

.txc-awards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: var(--txc-gap, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.txc-awards__item {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--txc-border);
	border-radius: var(--txc-radius-sm);
	background: var(--txc-surface, #fff);
}

.txc-awards__item.is-award {
	border-top: 3px solid var(--txc-law-brass);
}

.txc-awards__kind {
	color: var(--txc-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.txc-awards__title a {
	color: inherit;
}

.txc-awards__org,
.txc-awards__basis {
	color: var(--txc-muted);
	font-size: 0.9375rem;
}

.txc-awards__who {
	color: var(--txc-ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* ------------------------------------------------------------ attorney cards (PLBK) */

/* The photo links to the profile, like the name. */
.txc-tile__medialink {
	display: block;
	color: inherit;
}

.txc-attorneys .txc-tile__medialink img {
	transition: transform 0.3s ease;
}

.txc-attorneys .txc-tile:hover .txc-tile__medialink img {
	transform: scale(1.03);
}

.txc-attorneys .txc-tile__media {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.txc-attorneys .txc-tile__medialink img {
		transition: none;
	}
}

/* Square photos, matching the profile pages. Cropped from the upper part so faces stay in frame. */
.txc-attorneys .txc-tile__media img {
	aspect-ratio: 1 / 1;
	object-position: center 20%;
}

.txc-attorneys .txc-tile__text {
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------ contact form */

.txc-form-wrap {
	max-width: 46rem;
}

.txc-form {
	display: grid;
	gap: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--txc-border);
	border-radius: var(--txc-radius);
	background: var(--txc-surface, #fff);
}

.txc-form p {
	margin: 0;
}

.txc-form__notice {
	padding: 0.85rem 1rem;
	border-left: 4px solid var(--txc-law-brass);
	border-radius: 4px;
	background: var(--txc-surface-alt);
	font-size: 0.9375rem;
}

.txc-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}

.txc-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.txc-form input[type="text"],
.txc-form input[type="email"],
.txc-form input[type="tel"],
.txc-form select,
.txc-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.875rem;
	border: 1px solid #8a93a3;
	border-radius: 8px;
	background: #fff;
	color: #13233F;
	font: inherit;
	font-size: 1rem;
}

.txc-form input:focus-visible,
.txc-form select:focus-visible,
.txc-form textarea:focus-visible {
	outline: 3px solid var(--txc-focus);
	outline-offset: 1px;
}

.txc-form__consent label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.9375rem;
}

.txc-form__consent input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
}

.txc-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.txc-form__privacy {
	color: var(--txc-muted);
	font-size: 0.875rem;
}

.txc-form__status {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	font-weight: 600;
}

.txc-form__status.is-ok {
	background: #E7F4EA;
	color: #14532D;
}

.txc-form__status.is-error {
	background: #FBEAEA;
	color: #7F1D1D;
}

/* Gravity Forms in the Contact form section: same look as the built-in form. */
.txc-form-wrap--gf .gform_wrapper {
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--txc-border);
	border-radius: var(--txc-radius);
	background: var(--txc-surface, #fff);
}

.txc-form-wrap--gf .txc-form__notice,
.txc-form-wrap--gf > .txc-form__status {
	margin: 0 0 1rem;
}

.txc-form-wrap--gf .txc-form__privacy {
	margin-top: 0.75rem;
}

.txc-form-wrap--gf .gform_wrapper .gfield_label,
.txc-form-wrap--gf .gform_wrapper .gform-field-label--type-sub {
	color: inherit;
	font-weight: 600;
}

.txc-form-wrap--gf .gform_wrapper input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"]),
.txc-form-wrap--gf .gform_wrapper select,
.txc-form-wrap--gf .gform_wrapper textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.875rem;
	border: 1px solid #8a93a3;
	border-radius: 8px;
	background: #fff;
	color: #13233F;
	font: inherit;
	font-size: 1rem;
}

.txc-form-wrap--gf .gform_wrapper :is(input, select, textarea):focus-visible {
	outline: 3px solid var(--txc-focus);
	outline-offset: 1px;
}

.txc-form-wrap--gf .gform_wrapper .ginput_container_consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.9375rem;
}

.txc-form-wrap--gf .gform_wrapper .ginput_container_consent input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
}

.txc-form-wrap--gf .gform_wrapper .gfield_required {
	color: #9F1D1D;
}

.txc-form-wrap--gf .gform_wrapper .gform_footer {
	margin-top: 0.5rem;
	padding: 0;
}

.txc-form-wrap--gf .gform_wrapper .gform_confirmation_message {
	padding: 0.85rem 1rem;
	border-radius: 8px;
	background: #E7F4EA;
	color: #14532D;
	font-weight: 600;
}

.txc-form-wrap--gf .gform_wrapper :is(.gform_validation_errors, .validation_message) {
	color: #7F1D1D;
}

/* ------------------------------------------------------------ estate edition
 * Contemporary layout with traditional manners for an older audience:
 * serif headings at a calm weight, small-caps eyebrows with a brass rule
 * instead of pills, square-shouldered buttons, quiet borders, no glass,
 * larger reading text (18px+) and 48px targets. AA contrast throughout.
 */

:root:root {
	--txc-radius: 10px;
	--txc-radius-sm: 6px;
	--txc-muted: #3f4a5a;
	--txc-law-bronze: #7d5f27;
	--txc-shadow: 0 1px 2px rgba(19, 35, 63, .05), 0 10px 28px -18px rgba(19, 35, 63, .25);
}

html .is-dark {
	--txc-law-bronze: #e2c27f;
}

/* Headings: serif, calm weight, normal tracking. */
.txc-sec__title,
.txc-hero__title {
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1.12;
}

.txc-hero__title {
	font-size: clamp(2.5rem, 5.4vw, 4.5rem);
	line-height: 1.06;
}

.txc-hero--left .txc-hero__title {
	font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}

/* A short brass rule under section titles. */
.txc-sec__head .txc-sec__title::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 2px;
	margin-top: 1rem;
	background: var(--txc-law-brass);
}

.txc-al--center .txc-sec__head .txc-sec__title::after {
	margin-inline: auto;
}

/* Eyebrow: small caps with a leading rule, not a pill. */
.txc-pill {
	gap: 0.75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: var(--txc-law-bronze);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.txc-pill::before {
	width: 2rem;
	height: 1px;
	border-radius: 0;
	background: currentColor;
	box-shadow: none;
}

/* Reading text. */
.txc-hero__text {
	font-size: clamp(1.1875rem, 1.6vw, 1.3125rem);
	line-height: 1.65;
	color: var(--txc-muted);
}

.txc-sec__intro,
.txc-prose,
.txc-tile__text,
.txc-steps__item p,
.txc-faq2__answer,
.txc-card__text,
.txc-card__excerpt {
	font-size: 1.125rem;
	line-height: 1.7;
}

.txc-prose h2 {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 600;
	letter-spacing: 0;
}

.txc-hero__chips {
	gap: 0.5rem 1.75rem;
	font-size: 1rem;
	color: var(--txc-ink);
}

.txc-hero__chips .txc-icon {
	color: var(--txc-law-bronze);
}

/* Buttons: squared, solid, steady. */
.txc-btn,
.txc-button,
.txc-load-more {
	min-height: 3.25rem;
	padding: 0 1.625rem;
	border-radius: var(--txc-radius-sm);
	font-size: 1.0625rem;
	letter-spacing: 0.01em;
}

.txc-btn--primary,
.txc-button,
.txc-load-more {
	box-shadow: none;
}

.txc-btn--primary:hover,
.txc-button:hover,
.txc-load-more:hover {
	transform: none;
	background: #163a6b;
}

.txc-btn--ghost,
.txc-button--ghost {
	background: transparent;
	border: 2px solid currentColor;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.txc-btn--ghost:hover,
.txc-button--ghost:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.is-dark .txc-btn--primary {
	background: var(--txc-law-brass);
	color: #13233f;
	box-shadow: none;
}

.is-dark .txc-btn--primary:hover {
	background: #d9b56e;
	color: #13233f;
}

.is-dark .txc-btn--ghost {
	color: #f5f2ea;
}

/* Cards, tiles, steps, FAQ: quiet borders, no lift, brass on hover. */
.txc-tile,
.txc-card,
.txc-steps__item,
.txc-faq2__item,
.txc-numbers__item {
	border-radius: var(--txc-radius-sm);
}

.txc-card {
	box-shadow: none;
	border-top: 3px solid transparent;
}

.txc-card:hover,
.txc-card:focus-within {
	transform: none;
	border-top-color: var(--txc-law-brass);
	box-shadow: var(--txc-shadow);
}

.txc-card__title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: 0;
}

.txc-steps__n {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--txc-law-bronze);
}

.txc-steps__n::after {
	height: 1px;
	background: linear-gradient(90deg, var(--txc-law-brass), transparent);
}

.txc-steps__title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.3125rem;
	font-weight: 600;
	letter-spacing: 0;
}

.txc-faq2 {
	gap: 0;
	border-top: 1px solid var(--txc-border);
}

.txc-faq2__item {
	border: 0;
	border-bottom: 1px solid var(--txc-border);
	border-radius: 0;
	background: transparent;
}

.txc-faq2__item[open] {
	border-color: var(--txc-border);
}

.txc-faq2__item summary {
	min-height: 3.5rem;
	padding: 1.25rem 0.25rem;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.25rem;
	font-weight: 600;
}

.txc-faq2__item summary:hover {
	color: var(--txc-accent);
}

.txc-faq2__toggle {
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--txc-border);
	background: transparent;
}

.txc-faq2__answer {
	padding: 0 0.25rem 1.5rem;
	max-width: 48rem;
}

/* Rating tile: plain navy, no dot texture. */
.txc-tile--rating .txc-bg__texture {
	display: none;
}

.txc-stars {
	color: var(--txc-law-brass);
}

/* Breadcrumbs and small print readable. */
.txc-breadcrumbs {
	font-size: 1rem;
}

.txc-disclaimer {
	font-size: 0.9375rem;
	color: var(--txc-muted);
}

/* Inset panels: squarer corners. */
.txc-sec.is-inset {
	border-radius: var(--txc-radius);
}

/* Media: framed like a photograph, thin brass keyline. */
.txc-media,
.txc-hero__media {
	border-radius: var(--txc-radius-sm);
	box-shadow: 0 0 0 1px rgba(200, 161, 90, .45), var(--txc-shadow);
}

/* Form buttons match. */
.txc-form .txc-btn {
	min-width: 12rem;
}

@media (prefers-reduced-motion: reduce) {
	.txc-card,
	.txc-btn,
	.txc-faq2__toggle::after {
		transition: none;
	}
}

/* Article cards without a photo: navy with a brass hairline, not the agency gradient. */
.txc-card__media.is-placeholder {
	background: linear-gradient(160deg, #13233f 0%, #0b1629 100%);
	box-shadow: inset 0 -3px 0 var(--txc-law-brass);
	color: #f5f2ea;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.125rem;
}

.txc-tex--glow {
	background: radial-gradient(45% 60% at 85% 10%, rgba(200, 161, 90, .30), transparent 70%);
}

.txc-card__meta span,
.txc-card__meta time {
	border-radius: 4px;
	font-size: 0.875rem;
}

/* ------------------------------------------------------------ legal pages */
.txc-updated {
	color: var(--txc-muted);
	font-size: 0.9375rem;
}

.txc-table-wrap {
	overflow-x: auto;
	margin: 1.25rem 0 1.75rem;
	border: 1px solid var(--txc-border);
	border-radius: var(--txc-radius-sm);
}

.txc-table {
	width: 100%;
	min-width: 40rem;
	border-collapse: collapse;
	font-size: 1rem;
	line-height: 1.5;
}

.txc-table th,
.txc-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--txc-border);
	text-align: left;
	vertical-align: top;
}

.txc-table th {
	background: var(--txc-surface-alt);
	font-weight: 700;
}

.txc-table tr:last-child td {
	border-bottom: 0;
}

.txc-choices {
	display: grid;
	gap: 1rem;
	margin: 1.25rem 0 1.75rem;
	padding: 1.5rem;
	border: 1px solid var(--txc-border);
	border-left: 4px solid var(--txc-law-brass);
	border-radius: var(--txc-radius-sm);
	background: var(--txc-surface-alt);
}

.txc-choices p {
	margin: 0;
}

.txc-choices__status {
	font-weight: 600;
}

.txc-choices__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.txc-choices .txc-btn[disabled] {
	opacity: 0.45;
	cursor: default;
}

.txc-choices__gpc {
	display: none;
}

.txc-choices__gpc.is-on {
	display: block;
}

/* Contact Form 7 (or another form plugin) inside the Contact form section: same frame as the built-in form. */
.txc-form-wrap--plugin .wpcf7 form {
	display: grid;
	gap: 0.25rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--txc-border);
	border-radius: var(--txc-radius);
	background: var(--txc-surface, #fff);
}

.txc-form-wrap--plugin > .txc-form__notice {
	margin: 0 0 1rem;
}

.txc-form-wrap--plugin .wpcf7-list-item {
	margin: 0;
}

.txc-form-wrap--plugin .wpcf7-acceptance label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.9375rem;
}

/* Dropdowns match the text fields in every browser (Safari ignores height on native selects). */
.txc-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.75rem;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2313233f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.875rem center;
	background-size: 1.125rem 1.125rem;
	line-height: 1.5;
}

.txc-form textarea {
	height: auto;
}

/* Same text metrics on every control, so text fields and dropdowns are exactly the same height. */
.txc-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"]), select, textarea) {
	font-size: 1.0625rem;
	line-height: 1.5;
}

/* iPhone data detectors: detected numbers inherit the button / text style instead of default blue. */
a[x-apple-data-detectors] {
	color: inherit !important;
	font: inherit !important;
	text-decoration: inherit !important;
}

a[href^="tel:"].txc-btn {
	-webkit-text-fill-color: currentColor;
}

/* ------------------------------------------------------------ case results */
.txc-results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: var(--txc-gap, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.txc-results__item {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.5rem 1.5rem 1.25rem;
	border: 1px solid var(--txc-border);
	border-top: 3px solid var(--txc-law-brass);
	border-radius: var(--txc-radius-sm);
	background: var(--txc-surface, #fff);
}

.txc-results__item p {
	margin: 0;
}

.txc-results__area {
	color: var(--txc-law-bronze);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.txc-results__amount {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--txc-ink);
}

.txc-results__summary {
	font-size: 1.0625rem;
	line-height: 1.6;
}

.txc-results__court,
.txc-results__basis {
	color: var(--txc-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.txc-results__basis {
	margin-top: auto !important;
	padding-top: 0.5rem;
	border-top: 1px solid var(--txc-border);
}

.txc-results__empty {
	padding: 1rem;
	border: 1px dashed var(--txc-border);
	color: var(--txc-muted);
}

/* ------------------------------------------------------------ burgundy palette (smnlaw.com)
 * Same layout as the estate site; burgundy replaces brass and harbor blue.
 * Text burgundy #8a1f30 on white 8.5:1, on parchment 7.9:1; rose #f2b8bf on navy 9:1.
 */
html body.txc-palette-burgundy {
	--txc-brass: #9b2335;
	--txc-bronze: #8a1f30;
	--txc-law-brass: #9b2335;
	--txc-law-bronze: #8a1f30;
	--txc-accent: #8a1f30;
	--txc-focus: #8a1f30;
	--txc-link: #8a1f30;
}

html body.txc-palette-burgundy .is-dark {
	--txc-law-bronze: #f2b8bf;
	--txc-accent: #f2b8bf;
}

html body.txc-palette-burgundy .txc-btn--primary:hover,
html body.txc-palette-burgundy .txc-button:hover {
	background: #6f1826;
}

html body.txc-palette-burgundy .is-dark .txc-btn--primary {
	background: #a32a3c;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

html body.txc-palette-burgundy .is-dark .txc-btn--primary:hover {
	background: #b83346;
	color: #fff;
}

/* Navy backgrounds: a burgundy glow instead of the brass one. */
html body.txc-palette-burgundy [style*="200,161,90"] {
	--txc-bg: radial-gradient(70% 90% at 0% 0%, rgba(163, 42, 60, .30) 0%, rgba(163, 42, 60, 0) 55%), linear-gradient(160deg, #13233F 0%, #0B1629 100%) !important;
}

html body.txc-palette-burgundy .txc-tex--glow {
	background: radial-gradient(45% 60% at 85% 10%, rgba(163, 42, 60, .35), transparent 70%);
}

html body.txc-palette-burgundy .txc-media,
html body.txc-palette-burgundy .txc-hero__media {
	box-shadow: 0 0 0 1px rgba(155, 35, 53, .35), var(--txc-shadow);
}

html body.txc-palette-burgundy .txc-card__media.is-placeholder {
	box-shadow: inset 0 -3px 0 #9b2335;
}

html body.txc-palette-burgundy .txc-stars {
	color: #b7862b;
}

html body.txc-palette-burgundy.has-transparent-header .topbar,
html body.txc-palette-burgundy .topbar {
	border-bottom-color: #b8475a;
}

html body.txc-palette-burgundy .site-header.is-transparent:not(.is-scrolled) .site-header__call svg {
	fill: #f2b8bf;
}

html:not(.txc-mobile-nav) body.txc-palette-burgundy .site-header.is-transparent:not(.is-scrolled) .site-nav__list > .current-menu-item > a,
html:not(.txc-mobile-nav) body.txc-palette-burgundy .site-header.is-transparent:not(.is-scrolled) .site-nav__list > li > a:hover {
	color: #f5c6cc;
}

html body.txc-palette-burgundy input[type="checkbox"],
html body.txc-palette-burgundy input[type="radio"] {
	accent-color: #8a1f30;
}

/* ------------------------------------------------------------ process steps
 * Layout follows the number of steps, measured against the space the section
 * actually has (container query), so 4 and 5 steps both stay on one row:
 *  - wide enough for every step at ~12rem: one row, one column per step;
 *  - otherwise: a numbered vertical list (number left, text right),
 *    so a step is never left alone on a second line.
 */
.txc-steps-wrap {
	container-type: inline-size;
}

.txc-steps {
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--txc-border);
}

.txc-steps .txc-steps__item {
	grid-template-columns: 4.5rem minmax(0, 1fr);
	grid-template-areas: "n title" "n text";
	column-gap: 1.25rem;
	row-gap: 0.35rem;
	padding: 1.25rem 0;
	border: 0;
	border-bottom: 1px solid var(--txc-border);
	border-radius: 0;
	background: transparent;
}

.txc-steps .txc-steps__n {
	grid-area: n;
	align-self: start;
	font-size: 2rem;
	line-height: 1;
}

.txc-steps .txc-steps__n::after {
	display: none;
}

.txc-steps .txc-steps__title {
	grid-area: title;
	margin: 0;
}

.txc-steps .txc-steps__item p {
	grid-area: text;
}

/* One row: 2–3 steps from 36rem, 4 from 46rem, 5 from 58rem, 6 from 70rem, 7–8 from 82rem. */
@container (min-width: 36rem) {
	.txc-steps--n2,
	.txc-steps--n3 {
		grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
	}
}

@container (min-width: 46rem) {
	.txc-steps--n4 {
		grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
	}
}

@container (min-width: 58rem) {
	.txc-steps--n5 {
		grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
	}
}

@container (min-width: 70rem) {
	.txc-steps--n6 {
		grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
	}
}

@container (min-width: 82rem) {
	.txc-steps--n7,
	.txc-steps--n8 {
		grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
	}
}

/* Row layout: cards again (any count that fits). */
@container (min-width: 36rem) {
	.txc-steps:is(.txc-steps--n2, .txc-steps--n3) {
		gap: var(--txc-gap, 1rem);
		border-top: 0;
	}
	.txc-steps:is(.txc-steps--n2, .txc-steps--n3) .txc-steps__item {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas: "n" "title" "text";
		align-content: start;
		padding: 1.5rem 1.25rem;
		border: 1px solid var(--txc-border);
		border-radius: var(--txc-radius-sm);
		background: var(--txc-surface, #fff);
	}
}

@container (min-width: 46rem) {
	.txc-steps.txc-steps--n4 {
		gap: var(--txc-gap, 1rem);
		border-top: 0;
	}
	.txc-steps.txc-steps--n4 .txc-steps__item {
		grid-template-columns: 1fr;
		grid-template-areas: "n" "title" "text";
		padding: 1.5rem 1.25rem;
		border: 1px solid var(--txc-border);
		border-radius: var(--txc-radius-sm);
		background: var(--txc-surface, #fff);
	}
}

@container (min-width: 58rem) {
	.txc-steps.txc-steps--n5 {
		gap: var(--txc-gap, 1rem);
		border-top: 0;
	}
	.txc-steps.txc-steps--n5 .txc-steps__item {
		grid-template-columns: 1fr;
		grid-template-areas: "n" "title" "text";
		padding: 1.5rem 1.25rem;
		border: 1px solid var(--txc-border);
		border-radius: var(--txc-radius-sm);
		background: var(--txc-surface, #fff);
	}
}

@container (min-width: 70rem) {
	.txc-steps.txc-steps--n6 {
		gap: var(--txc-gap, 1rem);
		border-top: 0;
	}
	.txc-steps.txc-steps--n6 .txc-steps__item {
		grid-template-columns: 1fr;
		grid-template-areas: "n" "title" "text";
		padding: 1.5rem 1.25rem;
		border: 1px solid var(--txc-border);
		border-radius: var(--txc-radius-sm);
		background: var(--txc-surface, #fff);
	}
}

@container (min-width: 82rem) {
	.txc-steps:is(.txc-steps--n7, .txc-steps--n8) {
		gap: var(--txc-gap, 1rem);
		border-top: 0;
	}
	.txc-steps:is(.txc-steps--n7, .txc-steps--n8) .txc-steps__item {
		grid-template-columns: 1fr;
		grid-template-areas: "n" "title" "text";
		padding: 1.5rem 1.25rem;
		border: 1px solid var(--txc-border);
		border-radius: var(--txc-radius-sm);
		background: var(--txc-surface, #fff);
	}
}
