/**
 * Front-end theme token consumers.
 *
 * Soft Elementor fallbacks apply site-wide, except inside Radio Carousel /
 * Elementor loop-item slides so those keep their own widget styles.
 *
 * @package CalumetMedia\ThemeBuilder
 */

body.calumet-theme-active {
	color: var(--cm-color-text, #0f172a);
	background-color: var(--cm-color-background, #ffffff);
	font-family: var(--cm-font-body, "DM Sans", system-ui, sans-serif);
}

body.calumet-theme-active .elementor-element[id] {
	scroll-margin-top: 6.5rem;
}

body.calumet-theme-active h1:not(:where(.e-loop-item *, .radio-carousel *)),
body.calumet-theme-active h2:not(:where(.e-loop-item *, .radio-carousel *)),
body.calumet-theme-active h3:not(:where(.e-loop-item *, .radio-carousel *)),
body.calumet-theme-active h4:not(:where(.e-loop-item *, .radio-carousel *)),
body.calumet-theme-active h5:not(:where(.e-loop-item *, .radio-carousel *)),
body.calumet-theme-active h6:not(:where(.e-loop-item *, .radio-carousel *)) {
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", system-ui, sans-serif));
	color: var(--cm-color-text, #0f172a);
}

/* Keep suite booking widget on its own UI font/contrast (white card). */
body.calumet-theme-active .ca-booking h1,
body.calumet-theme-active .ca-booking h2,
body.calumet-theme-active .ca-booking h3,
body.calumet-theme-active .ca-booking h4,
body.calumet-theme-active .ca-booking h5,
body.calumet-theme-active .ca-booking h6 {
	font-family: var(--am-font-family, "DM Sans", system-ui, sans-serif);
	color: var(--am-color-text, #0f172a);
}

body.calumet-theme-active a:not(:where(.e-loop-item *, .radio-carousel *)) {
	color: var(--cm-color-link, var(--cm-color-primary, #1e70ea));
}

body.calumet-theme-active .elementor-section.elementor-section-boxed > .elementor-container,
body.calumet-theme-active .e-con-boxed > .e-con-inner {
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
}

/* Rail layout owns a wider boxed shell than the default content width. */
body.calumet-theme-active .e-con-boxed.tb-rail-layout > .e-con-inner {
	max-width: 1400px;
}

/* Image-left / image-right custom boxed width (Style → Section width). */
body.calumet-theme-active .e-con-boxed.tb-block--has-section-width > .e-con-inner {
	max-width: var(--tb-section-width);
}

/*
 * Image-left / image-right: keep plain 50/50 columns (Theme Builder editor parity).
 * Archetype card chrome targets nested .e-con children; exclude split layouts so
 * one side is not left with a punched-out top border / padded card.
 * Full-width sections have no .e-con-inner, so columns are direct children.
 */
body.calumet-theme-active .elementor-element.tb-block--split > .e-con,
body.calumet-theme-active .elementor-element.tb-block--split > .e-con-inner > .e-con,
body.calumet-theme-active .elementor-element.tb-block--stacked-widths > .tb-block__stack-image {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/*
 * Asymmetric Minimalist flips odd/even nested columns — that reverses text
 * alignment between image-left and image-right. Honor block align classes.
 */
body.calumet-theme-active .elementor-element.tb-block--split > .e-con:nth-child(odd),
body.calumet-theme-active .elementor-element.tb-block--split > .e-con:nth-child(even),
body.calumet-theme-active .elementor-element.tb-block--split > .e-con-inner > .e-con:nth-child(odd),
body.calumet-theme-active .elementor-element.tb-block--split > .e-con-inner > .e-con:nth-child(even) {
	text-align: inherit;
	padding-left: 0;
	padding-right: 0;
}

/*
 * Stacked with custom image / text widths: inner width containers are plain wrappers,
 * not archetype cards. Text keeps its 24px side gutter; the image goes edge to edge when full.
 */
body.calumet-theme-active .elementor-element.tb-block--stacked-widths > .tb-block__stack-text {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	text-align: inherit;
}

body.calumet-theme-active .elementor-element.tb-block--stacked-widths > .tb-block__stack-image img {
	display: block;
	width: 100%;
	height: auto;
}

/*
 * Facebook-right: Page Plugin maxes at 500px. Keep text + widget adjacent with a
 * normal gap instead of a stretched 50/50 that leaves a large empty middle.
 */
body.calumet-theme-active .elementor-element.tb-block--facebook-right > .e-con-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 2rem;
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

body.calumet-theme-active .elementor-element.tb-block--facebook-right > .e-con-inner > .e-con:first-child {
	flex: 1 1 18rem;
	width: auto !important;
	max-width: none;
	min-width: 0;
}

body.calumet-theme-active .elementor-element.tb-block--facebook-right > .e-con-inner > .e-con:last-child {
	flex: 0 1 500px;
	width: 500px !important;
	max-width: 100%;
	min-width: 0;
	align-items: stretch !important;
	justify-content: flex-start !important;
}

body.calumet-theme-active .elementor-element.tb-block--facebook-right .tb-facebook-embed {
	align-items: stretch;
	width: 100%;
	margin: 0;
}

body.calumet-theme-active .elementor-element.tb-block--facebook-right .tb-facebook-embed .fb-page,
body.calumet-theme-active .elementor-element.tb-block--facebook-right .tb-facebook-embed .fb-post,
body.calumet-theme-active .elementor-element.tb-block--facebook-right .tb-facebook-embed .fb-video {
	margin: 0;
	max-width: 100%;
}

@media (max-width: 767px) {
	body.calumet-theme-active .elementor-element.tb-block--facebook-right > .e-con-inner > .e-con:first-child,
	body.calumet-theme-active .elementor-element.tb-block--facebook-right > .e-con-inner > .e-con:last-child {
		flex: 1 1 100%;
		width: 100% !important;
	}
}

/*
 * Full image + text overlay: image stays full-bleed; copy follows site content width.
 * Covers legacy stamps (widgets as direct children) and nested boxed inners.
 */
body.calumet-theme-active .elementor-element.tb-block--overlay > .e-con-inner {
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

body.calumet-theme-active .elementor-element.tb-block--overlay > .elementor-widget,
body.calumet-theme-active .elementor-element.tb-block--overlay > .e-con {
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/*
 * Tall hero: full-bleed background; copy aligns to site content column.
 * New stamps use a boxed shell; legacy stamps have a single 42% child — pin its
 * left edge to the content column without forcing width: 100%.
 */
body.calumet-theme-active .elementor-element.tb-block--tall-hero > .e-con-inner {
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

body.calumet-theme-active .elementor-element.tb-block--tall-hero > .e-con {
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
	margin-left: max(0px, calc((100% - var(--container-max-width, var(--cm-content-width, 1140px))) / 2));
	margin-right: auto;
	box-sizing: border-box;
}

/* Breathing room between overlay header chrome and hero H1. */
body.calumet-theme-active .elementor-element.tb-block--tall-hero .elementor-widget-heading:first-child .elementor-heading-title {
	padding-top: 15px;
}

/*
 * Page-header tall hero: optional extra top margin on the nested copy column
 * (shell → copy), not the outer section. Beat Elementor --margin-top defaults.
 */
body.calumet-theme-active .elementor-element.tb-block--tall-hero.tb-block--has-copy-top-margin > .e-con-inner > .e-con > .e-con-inner > .e-con,
body.calumet-theme-active .elementor-element.tb-block--tall-hero.tb-block--has-copy-top-margin > .e-con-inner > .e-con.e-con-boxed > .e-con-inner > .e-con {
	--margin-top: var(--tb-copy-top-margin, 0px);
	margin-top: var(--tb-copy-top-margin, 0px) !important;
	margin-block-start: var(--tb-copy-top-margin, 0px) !important;
}

body.calumet-theme-active .site-header .header-inner,
body.calumet-theme-active .site-footer .footer-inner,
body.calumet-theme-active .page-header .entry-title {
	max-width: var(--container-max-width, var(--cm-content-width, 1140px));
}

/* Constrain Theme Builder–owned chrome logos only (not every header/footer Image widget). */
.tb-site-header__logo,
.elementor-location-header .elementor-widget-theme-site-logo,
.elementor-element-hdrlogo,
.elementor-element-mmdhdrlogo {
	padding: var(--cm-header-logo-padding, 0px);
	margin: var(--cm-header-logo-margin, 0px);
	/* Beat Elementor .elementor-widget:not(:last-child) { margin-block-end }. */
	margin-block-end: var(--cm-header-logo-margin-bottom, 0px) !important;
	background-color: var(--cm-header-logo-bg, transparent);
	border-radius: var(--cm-header-logo-radius, 0px);
}

.tb-site-header .cm-theme-brand-logo,
.tb-site-header__logo img,
.elementor-location-header .elementor-widget-theme-site-logo img,
.elementor-element-hdrlogo img,
.elementor-element-mmdhdrlogo img {
	width: auto !important;
	height: auto !important;
	max-height: var(--cm-header-logo-max-height, 64px) !important;
	max-width: var(--cm-header-logo-max-width, 220px) !important;
	object-fit: contain;
}

.tb-site-footer .cm-theme-brand-logo,
.tb-site-footer__logo img,
.elementor-location-footer .elementor-widget-theme-site-logo img,
.elementor-element-ftrlogo img,
.elementor-element-mmdftrlogo img {
	width: auto !important;
	height: auto !important;
	max-height: 64px !important;
	max-width: 160px !important;
	object-fit: contain;
	object-position: left center;
}

/* Native Theme Builder chrome */
.tb-site-header {
	background: var(--cm-color-header-bg, var(--cm-color-background, #ffffff));
	color: var(--cm-color-header-text, var(--cm-color-text, #0f172a));
	border-bottom: 1px solid var(--cm-color-border, #e2e8f0);
}

.tb-site-header a {
	color: var(--cm-color-header-text, var(--cm-color-text, #0f172a));
}

.tb-site-footer {
	background: var(--cm-color-footer-bg, #0f172a);
	color: var(--cm-color-footer-text, #ffffff);
}

.tb-site-footer a,
.tb-site-footer a:hover,
.tb-site-footer a:focus {
	color: var(--cm-color-footer-text, #ffffff);
}

.tb-site-footer .tb-site-footer__menu a {
	color: var(--cm-footer-menu-text, var(--cm-color-footer-text, #ffffff));
}

.tb-site-footer .tb-site-footer__menu a:hover,
.tb-site-footer .tb-site-footer__menu a:focus {
	color: var(--cm-footer-menu-text-hover, var(--cm-footer-menu-text, var(--cm-color-footer-text, #ffffff)));
}

/* Soft fallbacks when Elementor widgets ignore globals / Theme Style.
 * Skip carousel / loop-item slides so Radio Carousel keeps Elementor styles. */
body.calumet-theme-active .elementor-heading-title:not(:where(.e-loop-item *, .radio-carousel *)) {
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", system-ui, sans-serif));
	color: var(--cm-color-text, #0f172a);
	overflow-wrap: anywhere;
}

/* Single post: page-header hero (matches sitewide tall-hero / image-overlay). */
.tb-single-post__hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin: 0;
	background-size: cover;
	background-position: center;
	background-color: #0f172a;
	color: #fff;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.tb-single-post__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: rgba(15, 23, 42, 0.45);
}

.tb-single-post__hero--tall-hero {
	min-height: 70vh;
	padding: 7.5rem 1.5rem;
}

.tb-single-post__hero--overlay {
	min-height: 320px;
	justify-content: center;
	text-align: center;
	padding: 5rem 1.5rem;
}

.tb-single-post__hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--cm-content-width, 1140px);
	margin-inline: auto;
	box-sizing: border-box;
}

.tb-single-post__hero--overlay .tb-single-post__hero-inner {
	display: flex;
	justify-content: center;
}

.tb-single-post__hero-copy {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.tb-single-post__hero-copy--narrow {
	width: 42%;
	max-width: 36rem;
}

.tb-single-post__hero--overlay .tb-single-post__hero-copy {
	align-items: center;
	max-width: 42rem;
}

.tb-single-post__hero-title {
	margin: 0;
	color: #fff;
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", system-ui, sans-serif));
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

/* Beat Elementor kit Theme Style H1 color (e.g. .elementor-kit-N h1). */
.tb-single-post__hero h1.tb-single-post__hero-title,
body.calumet-theme-active .tb-single-post__hero h1.tb-single-post__hero-title {
	color: #fff;
}

.tb-single-post__hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
}

body.calumet-theme-active .tb-single-post__hero .tb-single-post__hero-meta {
	color: rgba(255, 255, 255, 0.9);
}

.tb-single-post__hero--overlay .tb-single-post__hero-meta {
	justify-content: center;
}

body.calumet-theme-active .elementor-widget-theme-post-content {
	color: var(--cm-color-text, #0f172a);
}

/*
 * Per-page right rail (Theme Builder stamped pages).
 * Archetype card chrome targets `.e-con.e-flex > .e-con-inner > .e-con` and would
 * wrap the main/rail columns in outer cards — strip that here (same as split blocks).
 */
body.calumet-theme-active .tb-rail-layout {
	align-items: flex-start;
}

body.calumet-theme-active .tb-rail-layout > .e-con-inner > .e-con,
body.calumet-theme-active .tb-rail-layout > .e-con,
body.calumet-theme-active .elementor-element.tb-rail-layout__main,
body.calumet-theme-active .elementor-element.tb-rail-layout__rail {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Honor stamped column % (Elementor --width, or --tb-rail-* on the layout). */
body.calumet-theme-active .elementor-element.tb-rail-layout__main {
	--tb-col-width: var(--width, var(--tb-rail-main, 70%));
	width: var(--tb-col-width) !important;
	max-width: var(--tb-col-width) !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	flex-basis: var(--tb-col-width) !important;
	min-width: 0;
}

body.calumet-theme-active .elementor-element.tb-rail-layout__rail {
	--tb-col-width: var(--width, var(--tb-rail-aside, 30%));
	width: var(--tb-col-width) !important;
	max-width: var(--tb-col-width) !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	flex-basis: var(--tb-col-width) !important;
	min-width: 0;
	position: sticky;
	top: 6.5rem;
	align-self: flex-start;
}

@media (max-width: 1024px) {
	body.calumet-theme-active .elementor-element.tb-rail-layout__main,
	body.calumet-theme-active .elementor-element.tb-rail-layout__rail {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}

	body.calumet-theme-active .tb-rail-layout__rail {
		position: static;
		top: auto;
	}
}

/* Single post body: article + recent-news rail. */
body.calumet-theme-active .elementor-element.tb-single-post__body-row,
.tb-single-post__body-row {
	align-items: flex-start;
}

body.calumet-theme-active .tb-single-post__content-col .elementor-widget-theme-post-content {
	font-family: var(--cm-font-body, "DM Sans", system-ui, sans-serif);
	font-size: 1.0625rem;
	line-height: 1.75;
	max-width: 42rem;
}

body.calumet-theme-active .tb-single-post__content-col .elementor-widget-theme-post-content p {
	margin: 0 0 1.1em;
}

body.calumet-theme-active .tb-single-post__content-col .elementor-widget-theme-post-content p:last-child {
	margin-bottom: 0;
}

body.calumet-theme-active .tb-single-post__content-col .elementor-widget-theme-post-content h2,
body.calumet-theme-active .tb-single-post__content-col .elementor-widget-theme-post-content h3 {
	margin: 1.5em 0 0.55em;
	line-height: 1.25;
}

.tb-recent-posts {
	width: 100%;
	box-sizing: border-box;
}

.tb-recent-posts__heading {
	margin: 0 0 1.25rem;
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", system-ui, sans-serif));
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--cm-color-text, #0f172a);
}

.tb-recent-posts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tb-recent-posts__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid color-mix(in srgb, var(--cm-color-text, #0f172a) 10%, transparent);
}

.tb-recent-posts__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.tb-recent-posts__thumb-link {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
	border-radius: 6px;
	overflow: hidden;
}

.tb-recent-posts__thumb {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
}

.tb-recent-posts__body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.tb-recent-posts__title,
body.calumet-theme-active .tb-recent-posts a.tb-recent-posts__title {
	display: block;
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", system-ui, sans-serif));
	font-size: 0.975rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cm-color-text, #0f172a);
	text-decoration: none;
}

.tb-recent-posts__title:hover,
.tb-recent-posts__title:focus,
body.calumet-theme-active .tb-recent-posts a.tb-recent-posts__title:hover,
body.calumet-theme-active .tb-recent-posts a.tb-recent-posts__title:focus {
	color: var(--cm-color-accent, var(--cm-color-primary, #1e70ea));
	text-decoration: underline;
}

.tb-recent-posts__date {
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--cm-color-secondary, #64748b);
}

/* Legacy shortcodes kept for reuse / older stamps. */
.tb-single-post__title {
	color: var(--cm-color-text, #0f172a);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	margin: 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.tb-single-post__image-wrap {
	width: 100%;
}

.tb-single-post__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.tb-single-post__meta {
	color: var(--cm-color-secondary, #64748b);
	font-size: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

@media (max-width: 767px) {
	.tb-single-post__hero-copy--narrow {
		width: 100%;
		max-width: none;
	}

	.tb-single-post__hero--tall-hero {
		min-height: 50vh;
		padding: 4rem 1.25rem;
	}

	body.calumet-theme-active .tb-single-post__content-col .elementor-widget-theme-post-content {
		max-width: none;
	}

	.tb-single-post__rail-col {
		margin-top: 0.5rem;
		padding-top: 1.5rem;
		border-top: 1px solid color-mix(in srgb, var(--cm-color-text, #0f172a) 10%, transparent);
	}
}

body.calumet-theme-active h1.elementor-heading-title:not(:where(.e-loop-item *, .radio-carousel *)) {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
}

body.calumet-theme-active h2.elementor-heading-title:not(:where(.e-loop-item *, .radio-carousel *)) {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.2;
}

body.calumet-theme-active h3.elementor-heading-title:not(:where(.e-loop-item *, .radio-carousel *)) {
	font-size: 1.25rem;
	line-height: 1.3;
}

body.calumet-theme-active .elementor-widget-text-editor:not(:where(.e-loop-item *, .radio-carousel *)) {
	font-family: var(--cm-font-body, "DM Sans", system-ui, sans-serif);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--cm-color-text, #0f172a);
}

body.calumet-theme-active .elementor-widget-text-editor:not(:where(.e-loop-item *, .radio-carousel *)) p {
	margin: 0 0 0.75em;
}

body.calumet-theme-active .elementor-widget-text-editor:not(:where(.e-loop-item *, .radio-carousel *)) p:last-child {
	margin-bottom: 0;
}

body.calumet-theme-active .elementor-button:not(:where(.e-loop-item *, .radio-carousel *)),
body.calumet-theme-active .elementor-button-link:not(:where(.e-loop-item *, .radio-carousel *)) {
	border-radius: var(--cm-button-radius, 6px) !important;
	background-color: var(--cm-color-button-bg, var(--cm-color-primary, #1e70ea));
	color: var(--cm-color-button-text, #ffffff);
	font-family: var(--cm-font-body, "DM Sans", system-ui, sans-serif);
	font-size: var(--cm-button-font-size, 15px) !important;
	font-weight: var(--cm-button-font-weight, 600) !important;
	text-transform: var(--cm-button-text-transform, none);
}

/* Hide empty homepage/events listings only — not news/newsletter/contact suite blocks.
 * News+newsletter must never use ctb-hide-when-empty; exclude it here as a safety net
 * for already-stamped Elementor pages that still carry the class. */
.ctb-hide-when-empty:not(:has(.ctb-home-events)):not(:has(.cf-public-form)):not(.ctb-news-newsletter):not(.tb-block--news-newsletter) {
	display: none !important;
}

.ctb-home-events {
	width: 100%;
}

.ctb-home-events__heading {
	text-align: center;
	margin: 0 0 1.25rem;
}

/* Larger, clearer event cards inside Theme Builder listings. */
.ctb-home-events .custom-event-listing .event-item {
	align-items: center;
	gap: 1.125rem;
	margin: 0 0 1.25rem;
	padding: 1rem 1.125rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--cm-color-text, #0f172a) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--cm-color-text, #0f172a) 10%, transparent);
}

.ctb-home-events .custom-event-listing .event-item:last-child {
	margin-bottom: 0;
}

.ctb-home-events .custom-event-listing .event-image {
	width: 120px;
}

.ctb-home-events .custom-event-listing .event-image img {
	width: 120px;
	height: 120px;
	max-width: 120px;
	max-height: 120px;
	border-radius: 8px;
}

.ctb-home-events .custom-event-listing .event-title-text,
.ctb-home-events .custom-event-listing .event-title-text a {
	font-size: clamp(1.2rem, 2vw, 1.375rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--cm-color-accent, var(--cm-color-primary, #1e70ea));
	text-decoration: none;
}

.ctb-home-events .custom-event-listing .event-title-text a:hover,
.ctb-home-events .custom-event-listing .event-title-text a:focus {
	text-decoration: underline;
}

.ctb-home-events .custom-event-listing .event-date-text {
	margin-top: 0.35rem;
	font-size: 1rem;
	line-height: 1.45;
	opacity: 0.92;
}

.ctb-home-events .custom-event-listing--cols-2 .custom-event-listing__items,
.ctb-home-events .custom-event-listing--cols-3 .custom-event-listing__items,
.ctb-home-events .custom-event-listing--cols-4 .custom-event-listing__items {
	gap: 1.25rem;
}

/* Events + newsletter combo section (Elementor + front). */
.ctb-events-newsletter {
	width: 100%;
}

.ctb-events-newsletter__grid {
	display: grid;
	gap: 2rem;
	align-items: start;
	width: 100%;
}

.ctb-events-newsletter__col-title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	line-height: 1.25;
}

.ctb-events-newsletter__col-text {
	margin: 0 0 1.25rem;
	line-height: 1.6;
}

.ctb-events-newsletter__col-text p:last-child {
	margin-bottom: 0;
}

/*
 * Elementor containers use display:flex with shrink-to-content children.
 * Force a real two-column split and stretch nested widgets/forms.
 */
.elementor-element.ctb-events-newsletter__grid.e-con,
.elementor-element.ctb-events-newsletter__grid {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 2.5rem !important;
	width: 100% !important;
	max-width: 100% !important;
}

.elementor-element.ctb-events-newsletter__col.e-con,
.elementor-element.ctb-events-newsletter__col {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	align-self: stretch !important;
	align-items: stretch !important;
}

.elementor-element.ctb-events-newsletter__col--events {
	flex: 1.2 1 0 !important;
}

.elementor-element.ctb-events-newsletter__col--newsletter {
	flex: 1 1 0 !important;
}

.ctb-events-newsletter__col .elementor-widget,
.ctb-events-newsletter__col .elementor-widget-container,
.ctb-events-newsletter__col .elementor-shortcode,
.ctb-events-newsletter__col .ctb-home-events,
.ctb-events-newsletter__col .ctb-home-events__list,
.ctb-events-newsletter__col .custom-event-listing,
.ctb-events-newsletter__col .custom-event-listing__items,
.ctb-events-newsletter__col .chimpr-nr-card,
.ctb-events-newsletter__col .chimpr-nr-inner,
.ctb-events-newsletter__col .chimpr-nr-form {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

.ctb-events-newsletter__col .custom-event-listing .event-item {
	width: 100%;
	box-sizing: border-box;
}

.ctb-events-newsletter__col--newsletter .chimpr-nr-field,
.ctb-events-newsletter__col--newsletter .chimpr-nr-field input[type="text"],
.ctb-events-newsletter__col--newsletter .chimpr-nr-field input[type="email"],
.ctb-events-newsletter__col--newsletter .chimpr-nr-submit {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

.ctb-events-newsletter .chimpr-nr-field label,
.ctb-news-newsletter .chimpr-nr-field label,
.ctb-events-newsletter .chimpr-nr-tags-legend,
.ctb-news-newsletter .chimpr-nr-tags-legend {
	color: var(--cm-color-text, #0f172a);
}

@media (min-width: 768px) {
	.ctb-events-newsletter__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 2.5rem;
	}
}

@media (max-width: 767px) {
	.elementor-element.ctb-events-newsletter__grid.e-con,
	.elementor-element.ctb-events-newsletter__grid {
		flex-direction: column !important;
		flex-wrap: wrap !important;
		gap: 2rem !important;
	}

	.elementor-element.ctb-events-newsletter__col.e-con,
	.elementor-element.ctb-events-newsletter__col,
	.ctb-events-newsletter__col.e-con {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* News cards (2/3) + Chimpr newsletter (1/3). */
.ctb-news-newsletter {
	width: 100%;
}

.ctb-news-newsletter__grid {
	display: grid;
	gap: 2rem;
	align-items: start;
	width: 100%;
}

.ctb-news-newsletter__col-title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	line-height: 1.25;
}

.ctb-news-newsletter__col-text {
	margin: 0 0 1.25rem;
	line-height: 1.6;
}

.ctb-news-newsletter__col-text p:last-child {
	margin-bottom: 0;
}

.elementor-element.ctb-news-newsletter__grid.e-con,
.elementor-element.ctb-news-newsletter__grid {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 2.5rem !important;
	width: 100% !important;
	max-width: 100% !important;
}

.elementor-element.ctb-news-newsletter__col.e-con,
.elementor-element.ctb-news-newsletter__col {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	align-self: stretch !important;
	align-items: stretch !important;
}

.elementor-element.ctb-news-newsletter__col--news {
	flex: 2 1 0 !important;
}

.elementor-element.ctb-news-newsletter__col--newsletter {
	flex: 1 1 0 !important;
}

.ctb-news-newsletter__col .elementor-widget,
.ctb-news-newsletter__col .elementor-widget-container,
.ctb-news-newsletter__col .elementor-shortcode,
.ctb-news-newsletter__col .tb-posts-feed,
.ctb-news-newsletter__col .chimpr-nr-card,
.ctb-news-newsletter__col .chimpr-nr-inner,
.ctb-news-newsletter__col .chimpr-nr-form {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

.ctb-news-newsletter__col--newsletter .chimpr-nr-field,
.ctb-news-newsletter__col--newsletter .chimpr-nr-field input[type="text"],
.ctb-news-newsletter__col--newsletter .chimpr-nr-field input[type="email"],
.ctb-news-newsletter__col--newsletter .chimpr-nr-submit {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.ctb-news-newsletter__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 2.5rem;
	}

	.ctb-news-newsletter__col--news .tb-posts-feed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

@media (max-width: 767px) {
	.elementor-element.ctb-news-newsletter__grid.e-con,
	.elementor-element.ctb-news-newsletter__grid {
		flex-direction: column !important;
		flex-wrap: wrap !important;
		gap: 2rem !important;
	}

	.elementor-element.ctb-news-newsletter__col.e-con,
	.elementor-element.ctb-news-newsletter__col,
	.ctb-news-newsletter__col.e-con {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Posts feed / featured layouts (shortcode markup). */
.tb-posts-layout__title {
	margin: 0 0 1.25rem;
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", sans-serif));
	font-size: 1.75rem;
	line-height: 1.2;
	color: var(--cm-color-text, #0f172a);
}

.tb-posts-feed {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

.tb-posts-feed__item {
	display: flex;
	flex-direction: column;
	background: color-mix(in srgb, var(--cm-color-background, #0f172a) 88%, var(--cm-color-text, #ffffff));
	border: 1px solid color-mix(in srgb, var(--cm-color-background, #0f172a) 72%, var(--cm-color-text, #ffffff));
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(20, 35, 28, 0.06);
	overflow: hidden;
	box-sizing: border-box;
}

.tb-posts-feed__body {
	padding: 1rem 1.15rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 auto;
}

.tb-posts-feed__image-link,
.tb-posts-featured__image-link,
.tb-posts-featured__list-image-link {
	display: block;
	overflow: hidden;
}

.tb-posts-feed__image,
.tb-posts-featured__image,
.tb-posts-featured__list-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.tb-posts-feed__title,
.tb-posts-featured__title,
.tb-posts-featured__list-title {
	margin: 0;
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", sans-serif));
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--cm-color-text, #0f172a);
}

/* Beat Elementor kit link/heading color (often white) on light cards. */
body.calumet-theme-active .tb-posts-feed__title,
body.calumet-theme-active .tb-posts-feed__title a,
body.calumet-theme-active .tb-posts-featured__title,
body.calumet-theme-active .tb-posts-featured__title a,
body.calumet-theme-active .tb-posts-featured__list-title,
body.calumet-theme-active .tb-posts-featured__list-title a,
body.calumet-theme-active .tb-posts-featured__more a,
body.calumet-theme-active .tb-posts-layout__title,
body.calumet-theme-active .tb-posts-split__heading,
body.calumet-theme-active .tb-posts-feed__date,
body.calumet-theme-active .tb-posts-featured__list-date,
body.calumet-theme-active .tb-posts-split__item-date {
	color: var(--cm-color-text, #0f172a);
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", sans-serif));
}

.tb-posts-featured__title,
.tb-posts-featured__list-title {
	margin: 0.75rem 0 0.35rem;
}

.tb-posts-feed__title a,
.tb-posts-featured__title a,
.tb-posts-featured__list-title a,
.tb-posts-featured__more a {
	text-decoration: none;
	color: var(--cm-color-text, #0f172a);
}

.tb-posts-feed__title a:hover,
.tb-posts-featured__title a:hover,
.tb-posts-featured__list-title a:hover,
.tb-posts-featured__more a:hover {
	text-decoration: underline;
}

.tb-posts-feed__date,
.tb-posts-featured__list-date,
.tb-posts-split__item-date {
	display: block;
	font-size: 0.875rem;
	color: var(--cm-color-text, #0f172a);
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", sans-serif));
}

.tb-posts-split {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-align: left;
	justify-items: stretch;
}

.tb-posts-split__col {
	min-width: 0;
	width: 100%;
}

.tb-posts-split__heading {
	margin: 0 0 1.25rem;
	font-family: var(--cm-font-heading, var(--cm-font-body, "DM Sans", sans-serif));
	font-size: 1.75rem;
	line-height: 1.2;
	text-align: left;
	color: var(--cm-color-text, #0f172a);
}

/* Elementor centers suite shortcodes; stretch this grid to the boxed content width. */
.elementor-element:has(.tb-posts-split),
.elementor-widget-shortcode:has(.tb-posts-split) {
	width: 100% !important;
	max-width: 100% !important;
	align-self: stretch !important;
}

.e-con-inner:has(.tb-posts-split) {
	align-items: stretch !important;
}

.elementor-widget-shortcode:has(.tb-posts-split) .elementor-widget-container,
.elementor-widget-shortcode:has(.tb-posts-split) .elementor-shortcode {
	width: 100%;
	max-width: 100%;
}

.tb-block--posts-split > .e-con-inner {
	align-items: stretch !important;
}

.tb-posts-split__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.tb-posts-split__item {
	background: #fff;
	border: 1px solid var(--cm-border, #e2e8f0);
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	padding: 0.85rem 1rem;
	box-sizing: border-box;
}

.tb-posts-split__item-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.tb-posts-split__item-title a {
	text-decoration: none;
}

.tb-posts-split__item-title a:hover {
	text-decoration: underline;
}

.tb-posts-split__item-date {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.875rem;
	opacity: 0.75;
}

.tb-posts-featured {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

.tb-posts-featured__excerpt {
	margin-top: 0.75rem;
	line-height: 1.55;
}

.tb-posts-featured__excerpt > *:first-child {
	margin-top: 0;
}

.tb-posts-featured__excerpt > *:last-child {
	margin-bottom: 0;
}

.tb-posts-featured__more {
	margin: 1rem 0 0;
}

.tb-posts-featured__list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.tb-posts-featured__list-item {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
}

.tb-posts-featured__list-image {
	aspect-ratio: 1;
}

.tb-posts-featured__list-title {
	font-size: 1rem;
	margin-top: 0;
}

.tb-posts-featured-wrap {
	width: 100%;
}

.tb-posts-featured-wrap.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.tb-posts-featured__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	margin-top: 1.75rem;
}

.tb-posts-featured__page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
}

.tb-posts-featured__page-btn {
	appearance: none;
	margin: 0;
	padding: 0.4rem 0.75rem;
	border: 1px solid currentColor;
	border-radius: 2px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.2;
	cursor: pointer;
}

.tb-posts-featured__page-btn:hover:not(:disabled),
.tb-posts-featured__page-btn:focus-visible:not(:disabled) {
	text-decoration: underline;
}

.tb-posts-featured__page-btn.is-active {
	font-weight: 700;
	cursor: default;
}

.tb-posts-featured__page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.tb-sponsors {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
}

.tb-sponsors__item {
	margin: 0;
}

.tb-sponsors__link,
.tb-sponsors__link--static {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.tb-sponsors__link:hover .tb-sponsors__name,
.tb-sponsors__link:focus .tb-sponsors__name {
	text-decoration: underline;
}

.tb-sponsors__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 0.5rem;
	box-sizing: border-box;
}

.tb-sponsors__logo-image {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.tb-sponsors__logo-placeholder {
	display: block;
	width: 56%;
	height: 40%;
	border-radius: 4px;
	background: currentColor;
	opacity: 0.12;
}

.tb-sponsors__name {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 600;
}

.tb-sponsors__heading {
	margin: 0 0 1.25rem;
	font-size: 1.75rem;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.tb-posts-feed {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.75rem;
	}

	.tb-posts-featured {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		gap: 2.5rem;
		align-items: start;
	}

	.tb-posts-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 2.5rem;
		align-items: start;
	}

	.tb-sponsors {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.75rem;
	}
}

@media (min-width: 1100px) {
	.tb-sponsors {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/*
 * News / posts cards: hide Comments meta without requiring a restamp.
 * Elementor Pro classic skin renders comment counts as .elementor-post-avatar
 * (legacy class) or .elementor-post-comments depending on version.
 */
body.calumet-theme-active .elementor-post__meta-data .elementor-post-avatar,
body.calumet-theme-active .elementor-post__meta-data span.elementor-post-comments {
	display: none !important;
}

/*
 * News / posts grids: Read More is a text link, not a button.
 * Kill Elementor Hover.css cover/fill (::before) and white button-text hover
 * so the label stays the brand link color on white cards.
 */
body.calumet-theme-active .elementor-post__read-more,
body.calumet-theme-active .tb-posts-featured__more a {
	color: var(--cm-color-link, var(--cm-color-primary, #1e70ea));
	background-color: transparent !important;
	text-decoration: none;
}

body.calumet-theme-active .elementor-post__read-more:hover,
body.calumet-theme-active .elementor-post__read-more:focus,
body.calumet-theme-active .tb-posts-featured__more a:hover,
body.calumet-theme-active .tb-posts-featured__more a:focus {
	color: var(--cm-color-link, var(--cm-color-primary, #1e70ea)) !important;
	background-color: transparent !important;
	text-decoration: underline;
}

body.calumet-theme-active .elementor-post__read-more::before,
body.calumet-theme-active .elementor-post__read-more::after,
body.calumet-theme-active .elementor-post__read-more:hover::before,
body.calumet-theme-active .elementor-post__read-more:hover::after,
body.calumet-theme-active .elementor-post__read-more:focus::before,
body.calumet-theme-active .elementor-post__read-more:focus::after {
	content: none !important;
	display: none !important;
}

/* Block title / text alignment modifiers (Elementor stamps). */
body.calumet-theme-active .elementor-element.tb-block--title-align-left .elementor-widget-heading,
body.calumet-theme-active .elementor-element.tb-block--title-align-left .elementor-heading-title {
	text-align: left;
}

body.calumet-theme-active .elementor-element.tb-block--title-align-center .elementor-widget-heading,
body.calumet-theme-active .elementor-element.tb-block--title-align-center .elementor-heading-title {
	text-align: center;
}

body.calumet-theme-active .elementor-element.tb-block--title-align-right .elementor-widget-heading,
body.calumet-theme-active .elementor-element.tb-block--title-align-right .elementor-heading-title {
	text-align: right;
}

body.calumet-theme-active .elementor-element.tb-block--text-align-left .elementor-widget-text-editor {
	text-align: left;
}

body.calumet-theme-active .elementor-element.tb-block--text-align-center .elementor-widget-text-editor {
	text-align: center;
}

body.calumet-theme-active .elementor-element.tb-block--text-align-right .elementor-widget-text-editor {
	text-align: right;
}

/* Explicit button alignment; without it buttons follow the container's title alignment. */
body.calumet-theme-active .elementor-element.tb-block--has-button-align .elementor-widget-button {
	align-self: var(--tb-button-justify);
}

body.calumet-theme-active .elementor-element.tb-block--has-button-align .elementor-widget-button .elementor-button-wrapper {
	text-align: var(--tb-button-align);
	justify-content: var(--tb-button-justify);
}

/* Block link color / column borders (CSS vars from Elementor custom_attributes). */
body.calumet-theme-active .elementor-element.tb-block--has-link-color .elementor-widget-text-editor a,
body.calumet-theme-active .elementor-element.tb-block--has-link-color .elementor-widget-text-editor a:visited {
	color: var(--tb-link-color) !important;
}

body.calumet-theme-active .elementor-element.tb-block--has-link-color .elementor-widget-text-editor a:hover,
body.calumet-theme-active .elementor-element.tb-block--has-link-color .elementor-widget-text-editor a:focus {
	color: var(--tb-link-color) !important;
	opacity: 0.8;
}

body.calumet-theme-active .elementor-element.tb-block--has-column-border .tb-block__column {
	border: var(--tb-column-border);
	padding: 24px;
}

body.calumet-theme-active .elementor-element.tb-block--has-column-radius .tb-block__column {
	border-radius: var(--tb-column-radius);
	overflow: hidden;
}

/* Page-header title / text max-width (CSS vars from Elementor custom_attributes). */
body.calumet-theme-active .elementor-element.tb-block--has-title-max-width > .e-con-inner .elementor-widget-heading,
body.calumet-theme-active .elementor-element.tb-block--has-title-max-width .elementor-widget-heading {
	max-width: var(--tb-title-max-width);
	width: 100%;
}

body.calumet-theme-active .elementor-element.tb-block--has-text-max-width > .e-con-inner .elementor-widget-text-editor,
body.calumet-theme-active .elementor-element.tb-block--has-text-max-width .elementor-widget-text-editor {
	max-width: var(--tb-text-max-width);
	width: 100%;
}

body.calumet-theme-active .elementor-element.tb-block--title-align-center.tb-block--has-title-max-width .elementor-widget-heading {
	margin-inline: auto;
}

body.calumet-theme-active .elementor-element.tb-block--title-align-right.tb-block--has-title-max-width .elementor-widget-heading {
	margin-left: auto;
	margin-right: 0;
}

body.calumet-theme-active .elementor-element.tb-block--text-align-center.tb-block--has-text-max-width .elementor-widget-text-editor {
	margin-inline: auto;
}

body.calumet-theme-active .elementor-element.tb-block--text-align-right.tb-block--has-text-max-width .elementor-widget-text-editor {
	margin-left: auto;
	margin-right: 0;
}

@media (max-width: 1024px) {
	body.calumet-theme-active .elementor-element.tb-block--has-title-max-width-tablet > .e-con-inner .elementor-widget-heading,
	body.calumet-theme-active .elementor-element.tb-block--has-title-max-width-tablet .elementor-widget-heading {
		max-width: var(--tb-title-max-width-tablet);
		width: 100%;
	}

	body.calumet-theme-active .elementor-element.tb-block--has-text-max-width-tablet > .e-con-inner .elementor-widget-text-editor,
	body.calumet-theme-active .elementor-element.tb-block--has-text-max-width-tablet .elementor-widget-text-editor {
		max-width: var(--tb-text-max-width-tablet);
		width: 100%;
	}
}

@media (max-width: 767px) {
	body.calumet-theme-active .elementor-element.tb-block--has-title-max-width-mobile > .e-con-inner .elementor-widget-heading,
	body.calumet-theme-active .elementor-element.tb-block--has-title-max-width-mobile .elementor-widget-heading {
		max-width: var(--tb-title-max-width-mobile);
		width: 100%;
	}

	body.calumet-theme-active .elementor-element.tb-block--has-text-max-width-mobile > .e-con-inner .elementor-widget-text-editor,
	body.calumet-theme-active .elementor-element.tb-block--has-text-max-width-mobile .elementor-widget-text-editor {
		max-width: var(--tb-text-max-width-mobile);
		width: 100%;
	}
}

/* Membership CTA / body sections — use horizontal space */
.tb-membership-cta {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(12rem, auto);
	gap: 1.25rem 2rem;
	align-items: center;
	width: 100%;
}

.tb-membership-cta__copy p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.5;
}

.tb-membership-cta__action {
	justify-self: end;
}

.tb-block--membership-body,
.tb-block--membership-cta {
	width: 100%;
}

@media (max-width: 767px) {
	.tb-membership-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	.tb-membership-cta__action {
		justify-self: start;
	}
}

/*
 * Accordion layouts (full-width FAQ + text left / accordion right).
 * Shared by the Elementor HTML widget and the native core-page renderer.
 */
.tb-accordion__eyebrow,
.tb-block--text-accordion .tb-accordion__eyebrow,
.tb-block--text-accordion .tb-accordion__eyebrow .elementor-heading-title,
.tb-block--accordion .tb-accordion__eyebrow,
.tb-block--accordion .tb-accordion__eyebrow .elementor-heading-title {
	margin: 0 0 0.85rem;
	color: var(--cm-color-accent, var(--cm-color-primary, #e11d2e)) !important;
	font-family: var(--cm-font-body, "DM Sans", system-ui, sans-serif);
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.tb-block--text-accordion .elementor-widget-heading:not(.tb-accordion__eyebrow) .elementor-heading-title,
.tb-block--accordion .elementor-widget-heading:not(.tb-accordion__eyebrow) .elementor-heading-title {
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.tb-block--accordion {
	max-width: 44rem;
	margin-inline: auto;
}

.tb-block--accordion .elementor-widget-heading,
.tb-block--accordion .elementor-widget-text-editor {
	text-align: center;
}

.tb-accordion__cta {
	margin: 0.5rem 0 0;
}

.tb-accordion__link {
	color: var(--cm-color-text, #0f172a);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.28em;
	text-decoration-thickness: 1px;
}

.tb-accordion__link:hover,
.tb-accordion__link:focus {
	color: var(--cm-color-accent, var(--cm-color-primary, #e11d2e));
}

.tb-accordion__item {
	border-bottom: 1px solid color-mix(in srgb, var(--cm-color-text, #0f172a) 16%, transparent);
}

.tb-accordion__item:first-child {
	border-top: 1px solid color-mix(in srgb, var(--cm-color-text, #0f172a) 16%, transparent);
}

.tb-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.05rem 0;
	list-style: none;
	cursor: pointer;
	font-weight: 700;
	line-height: 1.35;
	color: var(--cm-color-text, #0f172a);
}

.tb-accordion__summary::-webkit-details-marker {
	display: none;
}

.tb-accordion__summary::marker {
	content: "";
}

.tb-accordion__title {
	min-width: 0;
}

.tb-accordion__icon {
	flex: 0 0 auto;
	color: var(--cm-color-accent, var(--cm-color-primary, #e11d2e));
	font-weight: 400;
	font-size: 1.35rem;
	line-height: 1;
}

.tb-accordion__icon::before {
	content: "+";
}

.tb-accordion__item[open] .tb-accordion__icon::before {
	content: "\2212";
}

.tb-accordion__panel {
	padding: 0 2rem 1.1rem 0;
	color: color-mix(in srgb, var(--cm-color-text, #0f172a) 72%, transparent);
	line-height: 1.6;
}

.tb-accordion__panel > *:first-child {
	margin-top: 0;
}

.tb-accordion__panel > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.elementor-element.tb-block--text-accordion {
		flex-direction: column !important;
	}

	.elementor-element.tb-block--text-accordion > .e-con,
	.elementor-element.tb-block--text-accordion > .e-flex {
		width: 100% !important;
	}
}

.elementor-element.tb-block--accordion {
	flex-direction: column !important;
	align-items: stretch !important;
}

.elementor-element.tb-block--accordion > .e-con,
.elementor-element.tb-block--accordion > .e-flex {
	width: 100% !important;
}
