/*
 * TMDSB – inner pages: wrapper template (articles, articles index, 404, plain pages)
 * and the MetForm skin. Uses the Elementor Kit colours with fallbacks.
 */
.tmdsb-page {
	--tm-blue: var(--e-global-color-tmblue1, #1A63A8);
	--tm-bronze: var(--e-global-color-tmbrnz1, #B07912);
	--tm-gold: var(--e-global-color-tmgold1, #E3A536);
	--tm-crimson: var(--e-global-color-tmcrim1, #9B1B30);
	--tm-ink: var(--e-global-color-tmink01, #111111);
	--tm-cream: var(--e-global-color-tmcrem1, #FBF4E2);
	--tm-muted: rgba(17, 17, 17, 0.75);
	--tm-line: rgba(17, 17, 17, 0.1);
	--tm-sans: "DM Sans", system-ui, sans-serif;
	--tm-serif: "Fraunces", Georgia, serif;
}

/* Paragraph rhythm inside Elementor text blocks on inner pages */
.tmdsb-page .tmdsb-rich p + p,
.tmdsb-page .tmdsb-rich p + ul,
.tmdsb-page .tmdsb-rich ul + p { margin-block-start: 1em; }

/* ---------- Layout ---------- */
.tmdsb-main { font-family: var(--tm-sans); color: var(--tm-ink); }
.tmdsb-wrap { box-sizing: border-box; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.tmdsb-wrap--narrow { max-width: 768px; }
.tmdsb-wrap--wide { max-width: 1200px; }
.tmdsb-section { padding-bottom: 96px; }
@media (max-width: 1024px) { .tmdsb-wrap { padding-inline: 32px; } .tmdsb-section { padding-bottom: 80px; } }
@media (max-width: 767px)  { .tmdsb-wrap { padding-inline: 20px; } .tmdsb-section { padding-bottom: 64px; } }

/* ---------- Page heading ---------- */
.tmdsb-page-head { padding-top: 48px; padding-bottom: 40px; }
@media (max-width: 767px) { .tmdsb-page-head { padding-top: 32px; padding-bottom: 28px; } }
.tmdsb-eyebrow {
	margin: 0 0 12px; font: 700 11px/1.3 var(--tm-sans); letter-spacing: 1.65px; text-transform: uppercase; color: var(--tm-crimson);
}
.tmdsb-eyebrow a { color: inherit; }
.tmdsb-title {
	margin: 0; font-family: var(--tm-serif); font-weight: 600; font-size: 48px; line-height: 1.08; letter-spacing: -0.6px; color: var(--tm-ink);
}
@media (max-width: 1024px) { .tmdsb-title { font-size: 42px; } }
@media (max-width: 767px)  { .tmdsb-title { font-size: 34px; letter-spacing: -0.4px; } }
.tmdsb-lead { margin: 16px 0 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--tm-muted); }
.tmdsb-lead a { color: var(--tm-blue); font-weight: 600; }
.tmdsb-meta { margin: 14px 0 0; font-size: 14px; color: var(--tm-muted); }
.tmdsb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* ---------- Buttons ---------- */
/* Scoped with .tmdsb-page so Site Settings > Buttons (which styles every <button>) cannot override them. */
.tmdsb-page .tmdsb-btn {
	display: inline-block; padding: 15px 27px; border: 1px solid transparent; border-radius: 999px;
	font: 600 15px/1.3 var(--tm-sans); letter-spacing: 0.15px; transition: background-color .2s, color .2s;
}
.tmdsb-page .tmdsb-btn--gold, .tmdsb-page .tmdsb-btn--gold:focus { background: var(--tm-gold); color: var(--tm-ink) !important; }
.tmdsb-page .tmdsb-btn--gold:hover { background: #D6982B; }
.tmdsb-page .tmdsb-btn--outline, .tmdsb-page .tmdsb-btn--outline:focus { background: #fff; border-color: rgba(17, 17, 17, 0.85); color: var(--tm-ink) !important; }
.tmdsb-page .tmdsb-btn--outline:hover { background: var(--tm-ink); color: #fff !important; }

/* ---------- Article cards (articles index) ---------- */
.tmdsb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1024px) { .tmdsb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .tmdsb-cards { grid-template-columns: 1fr; } }
.tmdsb-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tmdsb-card__media { display: block; aspect-ratio: 368 / 240; border-radius: 14px; overflow: hidden; background: var(--tm-cream); }
.tmdsb-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tmdsb-card:hover .tmdsb-card__media img { transform: scale(1.03); }
.tmdsb-card__body { display: flex; flex-direction: column; gap: 10px; }
.tmdsb-card__title { margin: 0; font: 600 22px/1.25 var(--tm-serif); letter-spacing: -0.2px; }
.tmdsb-card__title a { color: var(--tm-ink); }
.tmdsb-card__title a:hover { color: var(--tm-blue); }
.tmdsb-card__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tm-muted); }
.tmdsb-card__more { font-weight: 600; font-size: 14px; color: var(--tm-blue); }

.tmdsb-pagination { margin-top: 48px; }
.tmdsb-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.tmdsb-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--tm-line); border-radius: 999px; color: var(--tm-ink); font-weight: 600; font-size: 14px; }
.tmdsb-pagination .page-numbers.current { background: var(--tm-ink); color: #fff; border-color: var(--tm-ink); }

/* ---------- Single article (Figma "Article Detail"): 760px column, 24px rhythm ---------- */
.tmdsb-article { padding: 80px 24px 104px; }
.tmdsb-article__col { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.tmdsb-article__eyebrow { margin: 0; font: 700 11px/1.3 var(--tm-sans); letter-spacing: 1.54px; text-transform: uppercase; color: var(--tm-crimson); }
.tmdsb-article__title { margin: 0; font: 600 52px/1.1 var(--tm-serif); color: var(--tm-ink); }
.tmdsb-article__media { width: 100%; margin: 0; padding: 8px 0 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tmdsb-article__media img { display: block; width: 100%; height: auto; aspect-ratio: 760 / 474; object-fit: cover; border-radius: 16px; }
.tmdsb-article__media figcaption { font: 400 13px/1.55 var(--tm-sans); color: rgba(17, 17, 17, 0.55); text-align: center; }
.tmdsb-article__content { width: 100%; }
.tmdsb-article__content > * { margin: 0; }
.tmdsb-article__content p { font: 400 18px/1.78 var(--tm-sans); color: rgba(17, 17, 17, 0.8); }
.tmdsb-article__content > p + p { margin-top: 24px; }              /* intro paragraphs */
.tmdsb-article__content h2 { margin-top: 36px; font: 600 24px/1.3 var(--tm-serif); color: var(--tm-ink); }
.tmdsb-article__content > :first-child { margin-top: 0; }
.tmdsb-article__content h2 + p,
.tmdsb-article__content h2 ~ p + p { margin-top: 10px; }            /* inside a section */
.tmdsb-article__content h2 ~ h2 { margin-top: 36px; }
.tmdsb-article__content .tmdsb-article-conclusion { margin-top: 36px !important; font: 700 19px/1.6 var(--tm-sans); color: var(--tm-ink); }
.tmdsb-article__content a { color: var(--tm-blue); text-decoration: underline; text-underline-offset: 2px; }
.tmdsb-article__end { width: 100%; margin: 0; text-align: center; font: 500 15px/normal var(--tm-sans); color: rgba(17, 17, 17, 0.5); }
.tmdsb-article__back { width: 100%; padding-top: 32px; border-top: 1px solid rgba(17, 17, 17, 0.1); }
@media (max-width: 1024px) { .tmdsb-article { padding: 64px 32px 88px; } .tmdsb-article__title { font-size: 44px; } }
@media (max-width: 767px) {
	.tmdsb-article { padding: 48px 20px 72px; }
	.tmdsb-article__title { font-size: 34px; }
	.tmdsb-article__content p { font-size: 17px; }
	.tmdsb-article__content h2 { font-size: 22px; }
}
.tmdsb-prose { font-size: 17px; line-height: 1.75; color: rgba(17, 17, 17, 0.85); }
.tmdsb-prose > * { margin-block: 0 1.1em; }
.tmdsb-prose h2, .tmdsb-prose h3 { font-family: var(--tm-serif); font-weight: 600; color: var(--tm-ink); line-height: 1.2; margin-block: 1.6em 0.6em; }
.tmdsb-prose h2 { font-size: 30px; }
.tmdsb-prose h3 { font-size: 23px; }
.tmdsb-prose a { color: var(--tm-blue); text-decoration: underline; text-underline-offset: 2px; }
.tmdsb-prose ul, .tmdsb-prose ol { padding-left: 1.3em; }
.tmdsb-prose li + li { margin-top: .4em; }
.tmdsb-prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--tm-gold); font-family: var(--tm-serif); font-size: 21px; color: var(--tm-ink); }
.tmdsb-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.tmdsb-back { margin: 40px 0 0; font-weight: 600; }
.tmdsb-back a { color: var(--tm-blue); }

.tmdsb-cta-box {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin-top: 40px; padding: 28px 32px; border-radius: 16px; background: var(--tm-cream);
}
.tmdsb-cta-box p { margin: 0; }
.tmdsb-cta-box__title { font: 600 22px/1.25 var(--tm-serif); color: var(--tm-ink); }
.tmdsb-cta-box__text { margin-top: 6px !important; color: var(--tm-muted); font-size: 15px; }

/* ---------- MetForm skin (forms inside .tmdsb-form) ---------- */
.tmdsb-form .metform-form-content { font-family: var(--tm-sans); }
.tmdsb-form .e-con, .tmdsb-form .e-con-inner { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }
.tmdsb-form .mf-input-label {
	display: block; margin-bottom: 8px; font: 600 14px/1.3 var(--tm-sans); color: var(--tm-ink); letter-spacing: 0.1px;
}
.tmdsb-form .mf-input-required-indicator { color: var(--tm-crimson); margin-left: 2px; }
/* Figma "Form Field": label above, 48px inputs (112px textarea), 8px radius */
.tmdsb-form .mf-input:not(.mf-checkbox-input):not(.mf-radio-input),
.tmdsb-form select.mf-input,
.tmdsb-form textarea.mf-input {
	width: 100%; box-sizing: border-box; height: 48px; min-height: 48px; padding: 0 14px;
	border: 1px solid rgba(17, 17, 17, 0.16) !important; border-radius: 8px !important; background: #fff !important;
	font: 400 15px/normal var(--tm-sans); color: var(--tm-ink); box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.tmdsb-form textarea.mf-input { height: 112px !important; min-height: 112px; padding: 13px 14px !important; line-height: 1.5 !important; resize: vertical; } /* !important: MetForm resets the padding to 0 */
.tmdsb-form .mf-input-wrapper > .mf-input-label { display: block; margin-bottom: 8px; font-size: 14px; line-height: normal; }
/* Figma: label → box 10px (MetForm sets -5px on checkbox labels) */
.tmdsb-form .tmdsb-mf-checkbox .mf-input-wrapper > .mf-input-label { margin-bottom: 10px !important; }
.tmdsb-form .mf-input-required-indicator { font-weight: 700; margin-left: 3px; }
/* Date fields: blue calendar icon on the right */
.tmdsb-form input.mf-input.mf-date-input:not(.mf-checkbox-input):not(.mf-radio-input),
.tmdsb-form input.mf-input.flatpickr-input:not(.mf-checkbox-input):not(.mf-radio-input) {
	padding-right: 42px !important; cursor: pointer;
	background: #fff url("../../../uploads/2026/11/tmdsb-req-calendar.svg") no-repeat right 14px center / 18px 18px !important;
}
/* Checkbox field: cream box, 22px square */
.tmdsb-form .tmdsb-mf-checkbox .mf-checkbox { padding: 14px 16px; border-radius: 8px; background: var(--tm-cream); }
.tmdsb-form .tmdsb-mf-checkbox .mf-checkbox-option label { display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer; }
.tmdsb-form .tmdsb-mf-checkbox input[type="checkbox"] { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--tm-blue); }
.tmdsb-form .tmdsb-mf-checkbox .mf-checkbox-option span,
.tmdsb-form .tmdsb-mf-checkbox .mf-checkbox-option label { font: 400 15px/1.5 var(--tm-sans) !important; color: rgba(17, 17, 17, 0.85) !important; }
/* Plain checkbox variant (New Speaker Submission: no cream box, as in Figma) */
.tmdsb-form .tmdsb-mf-checkbox--plain .mf-checkbox { padding: 0; background: none; }
/* Spam honeypot field (tmdsb-site.php): off-screen, never seen by people */
.tmdsb-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
/* Clear Form (outline pill) beside MetForm's submit */
.tmdsb-form .tmdsb-clear-form { cursor: pointer; }
.tmdsb-form .elementor-widget-mf-button { width: auto; }
.tmdsb-form .tmdsb-form-actions > .elementor-widget-text-editor { flex: 1 1 auto; min-width: 160px; }
.tmdsb-form .tmdsb-form-actions > .e-con { margin-left: auto; width: auto; }
@media (max-width: 767px) { .tmdsb-form .tmdsb-form-actions > .e-con { margin-left: 0; } }
.tmdsb-page .tm-crimson, .tmdsb-page .tmdsb-rich .tm-crimson { color: var(--tm-crimson); }
/* MetForm inherits Elementor's default global font (Roboto 600); use the brand font everywhere. */
.tmdsb-form .mf-input,
.tmdsb-form .mf-input-label,
.tmdsb-form .mf-error-message,
.tmdsb-form .mf_select__placeholder,
.tmdsb-form .mf_select__single-value,
.tmdsb-form .mf_select__option,
.tmdsb-form .flatpickr-input { font-family: var(--tm-sans) !important; }
.tmdsb-form .mf-input,
.tmdsb-form .mf_select__single-value { font-weight: 400 !important; color: var(--tm-ink) !important; }
.tmdsb-form .mf-input-label { font-weight: 600 !important; color: var(--tm-ink) !important; }
.tmdsb-form .mf-input::placeholder,
.tmdsb-form .mf_select__placeholder { font-family: var(--tm-sans) !important; font-weight: 400 !important; color: rgba(17, 17, 17, 0.42) !important; }

/* Request a Speaker: "Your request in 3 steps" card stays in view while the form scrolls (desktop) */
@media (min-width: 1025px) {
	.tmdsb-page .tmdsb-sticky-side.e-con { position: sticky; top: 24px; align-self: flex-start; }
	.admin-bar.tmdsb-page .tmdsb-sticky-side.e-con { top: 56px; } /* clear the WordPress admin bar when logged in */
}

/* Remain Page designs (Collaboration, Associations, Conferences, Client Testimonials, Speaker pages) */
.tmdsb-page .tmdsb-card-photo img { display: block; width: 100%; border-radius: 0; }
.tmdsb-page .tmdsb-meta-item.e-con { width: auto; }
.tmdsb-page .tmdsb-stats-strip > .tmdsb-stat-cell + .tmdsb-stat-cell { border-left: 1px solid rgba(17, 17, 17, 0.1); }
@media (max-width: 1024px) {
	.tmdsb-page .tmdsb-stats-strip > .tmdsb-stat-cell:nth-child(3) { border-left: 0; }
	.tmdsb-page .tmdsb-stats-strip > .tmdsb-stat-cell:nth-child(n+3) { border-top: 1px solid rgba(17, 17, 17, 0.1); }
}
@media (max-width: 767px) {
	.tmdsb-page .tmdsb-stats-strip > .tmdsb-stat-cell + .tmdsb-stat-cell { border-left: 0; border-top: 1px solid rgba(17, 17, 17, 0.1); }
}
.tmdsb-page .tmdsb-logo-tile .tmdsb-icon-img img { width: 24px; }

/* Contact card rows separated by hairlines */
.tmdsb-page .tmdsb-contact-card > .tmdsb-contact-row + .tmdsb-contact-row { border-top: 1px solid rgba(17, 17, 17, 0.08); }
.tmdsb-page .tmdsb-contact-row .elementor-heading-title { overflow-wrap: anywhere; }
@media (max-width: 767px) { .tmdsb-page .tmdsb-contact-row .elementor-heading-title a { font-size: 16px; } }
/* Empty layout spacers that only matter on desktop */
@media (max-width: 767px) { .tmdsb-page .tmdsb-hide-mobile { display: none !important; } }
/* Select: the outer .mf-input carries the border, so flatten MetForm's inner control */
.tmdsb-form .mf-input.mf-input-select { padding: 0 !important; }
.tmdsb-form .mf_select__control { min-height: 48px !important; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 8px; cursor: pointer; }
.tmdsb-form .mf_select__indicator-separator { display: none; }
.tmdsb-form .mf_select__menu { border-radius: 12px !important; overflow: hidden; box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12) !important; }
.tmdsb-form .mf_select__option--is-focused { background: var(--tm-cream) !important; }
.tmdsb-form .mf_select__option--is-selected { background: var(--tm-blue) !important; color: #fff !important; }
.tmdsb-form .mf-input:focus,
.tmdsb-form .mf-input-select .react-select__control--is-focused {
	border-color: var(--tm-blue) !important; box-shadow: 0 0 0 3px rgba(26, 99, 168, 0.15) !important; outline: none;
}
.tmdsb-form .mf-invalid, .tmdsb-form .mf-input.mf-invalid { border-color: var(--tm-crimson) !important; }
.tmdsb-form .mf-error-message { margin-top: 6px; font-size: 13px; color: var(--tm-crimson); }
.tmdsb-form .metform-btn {
	padding: 16px 32px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: var(--tm-gold) !important; color: var(--tm-ink) !important; font: 600 15px/1.3 var(--tm-sans) !important; letter-spacing: 0.15px;
	box-shadow: none !important; transition: background-color .2s;
}
.tmdsb-form .metform-btn:hover { background: #D6982B !important; }
.tmdsb-form .mf-main-response-wrap .mf-response-msg {
	border-radius: 12px; border: 1px solid rgba(26, 99, 168, 0.25); background: #EEF4FA; color: var(--tm-ink);
}
.tmdsb-form .mf-response-msg .mf-success-icon { color: var(--tm-blue); }

/* ---------- Ticket 24 Nov 2026 (client mockups) ---------- */
/* 404: "Search by Topic..." box (WordPress search) */
.tmdsb-search-widget { width: 100%; }
.tmdsb-search { position: relative; width: 336px; max-width: 100%; margin: 0 auto; }
.tmdsb-search .tmdsb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tmdsb-search input[type="search"] {
	display: block; box-sizing: border-box; width: 100%; height: 46px; margin: 0; padding: 0 46px 0 16px;
	background: #F6F6F6; border: 1px solid #DCDCDC; border-radius: 2px;
	font: 400 16px/1.2 var(--tm-sans); color: var(--tm-ink); -webkit-appearance: none; appearance: none;
}
.tmdsb-search input[type="search"]::placeholder { color: #8C8C8C; opacity: 1; }
.tmdsb-search input[type="search"]:focus { outline: 2px solid var(--tm-blue); outline-offset: 1px; background: #fff; }
/* the Site Settings button style targets every <button>; keep this one an icon */
.tmdsb-page .tmdsb-search button, .tmdsb-page .tmdsb-search button:hover, .tmdsb-page .tmdsb-search button:focus {
	position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #333; cursor: pointer;
}
.tmdsb-page .tmdsb-search button:hover { color: var(--tm-blue); }

/* New Speaker Submission: "Important Guidelines" box */
.tmdsb-guidelines-text ol { margin: 0; padding-left: 18px; }
.tmdsb-guidelines-text li { margin: 0 0 10px; padding-left: 2px; }
.tmdsb-guidelines-text li:last-child { margin-bottom: 0; }
.tmdsb-guidelines-text a { color: var(--tm-blue); font-weight: 600; font-size: 13px; white-space: nowrap; } /* keep the address on one line */
/* Search results page: same box, left-aligned under the title */
.tmdsb-search.tmdsb-search--left { margin: 28px 0 0; width: 420px; }

/* ---------- Updated Figma (export 24 Nov 2026) ---------- */
/* Forms: "*" right after the label text (one space), 15px placeholders */
.tmdsb-form .mf-input-required-indicator { margin-left: 0 !important; }
.tmdsb-form .mf-input::placeholder { font-size: 15px !important; }
/* Forms: Figma checkbox – white, rounded, light border (20px; 22px on the plain speaker confirmation) */
.tmdsb-form .tmdsb-mf-checkbox input[type="checkbox"] {
	-webkit-appearance: none !important; appearance: none !important; position: relative;
	width: 20px !important; height: 20px !important; flex: 0 0 20px !important; margin: 1px 0 0 !important;
	border: 1px solid rgba(17, 17, 17, 0.25) !important; border-radius: 5px !important; background: #fff no-repeat center / 14px 14px !important; cursor: pointer;
}
.tmdsb-form .tmdsb-mf-checkbox--plain input[type="checkbox"] { width: 22px !important; height: 22px !important; flex-basis: 22px !important; margin-top: 0 !important; }
.tmdsb-form .tmdsb-mf-checkbox input[type="checkbox"]:checked {
	border-color: var(--tm-blue) !important; background-color: var(--tm-blue) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
.tmdsb-form .tmdsb-mf-checkbox input[type="checkbox"]:focus-visible { outline: 2px solid var(--tm-blue); outline-offset: 2px; }
.tmdsb-form .tmdsb-mf-checkbox .mf-checkbox { padding-top: 11px; padding-bottom: 11px; }
.tmdsb-form .tmdsb-mf-checkbox--plain .mf-checkbox { padding: 0; }
/* MetForm prints a typed "&" inside forms as "&amp;": headings use <span class="tm-amp"> instead */
.tm-amp::before { content: "&"; }
/* Plain-text e-mail link (Thank You page) */
.tmdsb-page a.tm-plain { color: inherit; font-weight: inherit; text-decoration: none; }
/* Article Detail: featured image corners (Elementor resets img radius to 0) */
.tmdsb-page .tmdsb-article__media img { border-radius: 12px; }
/* Footer Explore: "Collaboration with Organizations" on one line (desktop) */
@media (min-width: 1025px) { .elementor-80 .elementor-element-9009d61 .elementor-heading-title { white-space: nowrap; } }
/* New Speaker Submission: Important Guidelines (gold heading underlined under the text, numbers inline) */
.tmdsb-guidelines-head .elementor-heading-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.tmdsb-guidelines-text ol { list-style-position: inside; padding-left: 0; }
.tmdsb-guidelines-text li { margin: 0 0 11px; padding-left: 0; }
.tmdsb-guidelines-text a { font-size: 13px; }
/* 404 + results: Figma search box 440 x 56 */
.tmdsb-search { width: 440px; }
.tmdsb-search.tmdsb-search--left { width: 440px; }
.tmdsb-search input[type="search"] { height: 56px; padding: 0 56px 0 18px; font-size: 17px; }
.tmdsb-page .tmdsb-search button, .tmdsb-page .tmdsb-search button:hover, .tmdsb-page .tmdsb-search button:focus { width: 56px; height: 56px; color: #222; }
.tmdsb-search button svg { width: 18px; height: 18px; }

/* ---------- Collaboration: 3 pages in 1 with tabs (Figma Approved 07–09) ---------- */
.tmdsb-collab-nav-wrap .elementor-widget-shortcode,
.tmdsb-collab-nav-wrap .elementor-shortcode { width: 100%; }
.tmdsb-page .tmdsb-collab-tabs.e-con { border-bottom: 1px solid #F3F3F3; }
.tmdsb-page .tmdsb-collab-tabs .tmdsb-collab-tab .elementor-heading-title a { /* extra class: beats Elementor heading-link colour */
	display: block; padding: 22px 28px 20px; border-bottom: 3px solid transparent;
	color: var(--tm-ink); font-weight: 500; white-space: nowrap; transition: color .15s, border-color .15s;
}
.tmdsb-page .tmdsb-collab-tabs .tmdsb-collab-tab .elementor-heading-title a:hover { color: var(--tm-blue); }
.tmdsb-page .tmdsb-collab-tabs .tmdsb-collab-tab .elementor-heading-title a.is-active { color: var(--tm-blue); font-weight: 600; border-bottom-color: var(--tm-blue); }
/* phones: the tab bar scrolls sideways instead of wrapping */
@media (max-width: 767px) {
	.tmdsb-page .tmdsb-collab-tabs.e-con { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.tmdsb-page .tmdsb-collab-tabs.e-con::-webkit-scrollbar { display: none; }
	.tmdsb-page .tmdsb-collab-tabs .tmdsb-collab-tab .elementor-heading-title a { padding: 18px 16px 16px; }
}
/* Centred tab title with the short gold line under it */
.tmdsb-tab-title .elementor-heading-title::after { content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0; background: var(--tm-gold); } /* Figma: 4px, 14px under the title */
