/*
 * MTS Events styles.
 * Colours are set once here. Change these to match the site (or point them at
 * Kadence's palette, e.g. var(--global-palette1)).
 */
:root {
	--mts-public: #c2603f;      /* Terracotta: public events */
	--mts-members: #253956;     /* Navy: members-only events */
	--mts-partner: #f4ede1;     /* Cream: partner events */
	--mts-partner-text: #5a4a36;
	--mts-text: #1f2328;
	--mts-muted: #5f6368;
	--mts-line: #e3e0da;
	--mts-bg: #ffffff;
	--mts-radius: 8px;
}

/* ---------- Calendar ---------- */
.mts-cal { color: var(--mts-text); }
.mts-cal .fc { --fc-border-color: var(--mts-line); --fc-today-bg-color: #fbf6ef; --fc-page-bg-color: var(--mts-bg); }
.mts-cal .fc .fc-toolbar-title { font-size: 1.4em; }
.mts-cal .fc .fc-button { background: var(--mts-bg); color: var(--mts-text); border: 1px solid var(--mts-line); text-transform: none; box-shadow: none; }
.mts-cal .fc .fc-button { font-size: 14px; }
.mts-cal .fc .fc-button:hover { background: #f6f3ee; color: var(--mts-text); }
.mts-cal .fc .fc-button-primary:not(:disabled).fc-button-active,
.mts-cal .fc .fc-button-primary:not(:disabled):active { background: var(--mts-members); border-color: var(--mts-members); color: #fff; }
.mts-cal .fc a { text-decoration: none; }
.mts-cal .fc .fc-daygrid-day-number,
.mts-cal .fc .fc-col-header-cell-cushion,
.mts-cal .fc .fc-list-day-cushion a { color: var(--mts-text); }
.mts-cal .fc .fc-col-header-cell-cushion { font-weight: 600; }

/* The plain list below is for Google and for when scripts don't load. Hidden once the calendar is up. */
.mts-cal.is-ready .mts-cal__fallback { display: none; }
.mts-cal__note { font-size: 0.875em; color: var(--mts-muted); margin-top: 0.75em; }

/* Event tiles */
.mts-cal .fc-daygrid-event,
.mts-cal .fc-timegrid-event { border: 0; border-radius: 6px; background: var(--mts-public); color: #fff; padding: 0; overflow: hidden; white-space: normal; }
.mts-cal .fc-daygrid-event.mts-cal__ev--members,
.mts-cal .fc-timegrid-event.mts-cal__ev--members { background: var(--mts-members); }
.mts-cal .fc-daygrid-event.mts-cal__ev--partner,
.mts-cal .fc-timegrid-event.mts-cal__ev--partner { background: var(--mts-partner); color: var(--mts-partner-text); }
.mts-cal .mts-cal__ev--past { opacity: 0.55; }

/* Month view: the artwork already carries the colour, so the text under it sits on
   a transparent background in the theme's heading colour (Kadence palette 3). */
.mts-cal .fc-daygrid-event,
.mts-cal .fc-daygrid-event.mts-cal__ev--members,
.mts-cal .fc-daygrid-event.mts-cal__ev--partner { background: transparent; }
.mts-cal .fc-daygrid-event .fc-event-main,
.mts-cal .fc-daygrid-event .mts-cal__ev { color: var(--global-palette3, var(--mts-text)); }
.mts-cal .fc-daygrid-event .mts-cal__img { border-radius: 6px; }
.mts-cal .fc-daygrid-event .mts-cal__text { padding: 6px 2px 4px; }
.mts-cal .fc-daygrid-event:hover .mts-cal__title { text-decoration: underline; }

.mts-cal__ev { display: flex; flex-direction: column; width: 100%; color: inherit; }
.mts-cal__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Members-only: shade the image only, never the text (Amanda's rule). */
.mts-cal__ev--members .mts-cal__img { filter: brightness(0.6) saturate(0.7); }
.mts-cal__text { padding: 4px 6px 5px; line-height: 1.25; font-size: 0.8em; }
.mts-cal__time { display: block; font-weight: 600; opacity: 0.9; }
.mts-cal__title { font-weight: 600; }

/* List view: small thumbnail beside the title */
.mts-cal .fc-list-event .mts-cal__ev { flex-direction: row; align-items: center; gap: 12px; }
.mts-cal .fc-list-event .mts-cal__img { width: 96px; flex: 0 0 96px; border-radius: 4px; }
.mts-cal .fc-list-event .mts-cal__text { font-size: 1em; padding: 0; }
.mts-cal .fc-list-event.mts-cal__ev--members .fc-list-event-dot { border-color: var(--mts-members); }
.mts-cal .fc-list-event .fc-list-event-dot { border-color: var(--mts-public); }
.mts-cal .fc-list-event { cursor: pointer; }
.mts-cal .fc-list-event-title { white-space: normal; width: 100%; }
.mts-cal .fc-list-event .mts-cal__text { min-width: 0; }
.mts-cal .fc-list-table { table-layout: auto; }

/* ---------- Badges and buttons ---------- */
.mts-badge { display: inline-block; margin: 0 0 0.75em; padding: 3px 10px; border-radius: 999px; font-size: 0.8em; font-weight: 600; letter-spacing: 0.02em; background: #f6f3ee; color: var(--mts-text); }
.mts-badge--members { background: var(--mts-members); color: #fff; }
.mts-badge--partner { background: var(--mts-partner); color: var(--mts-partner-text); }

.mts-btn:not(.button) { display: inline-block; padding: 0.7em 1.3em; border-radius: var(--mts-radius); border: 2px solid var(--mts-public); background: var(--mts-public); color: #fff; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; font-size: 1em; font-family: inherit; }
.mts-btn:not(.button):hover, .mts-btn:not(.button):focus { filter: brightness(0.92); color: #fff; }
.mts-btn--outline:not(.button) { background: transparent; color: var(--mts-members); border-color: var(--mts-members); }
.mts-btn--outline:not(.button):hover, .mts-btn--outline:not(.button):focus { background: var(--mts-members); color: #fff; filter: none; }

/* ---------- Event page details box ---------- */
.mts-ev { margin: 0 0 2em; }
.mts-ev__subtitle { font-size: 1.15em; color: var(--mts-muted); margin: 0 0 1em; }
.mts-ev__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 1.25em; }
.mts-ev__past { color: var(--mts-muted); margin: 0; }

.mts-addcal { position: relative; }
.mts-addcal summary { cursor: pointer; font-weight: 600; color: var(--mts-members); list-style: none; }
.mts-addcal summary::-webkit-details-marker { display: none; }
.mts-addcal summary::before { content: "📅 "; }
.mts-addcal[open] { display: flex; flex-direction: column; gap: 6px; }
.mts-addcal a { color: var(--mts-members); }

/* Members-only banner */
.mts-banner { padding: 1.25em 1.5em; border-radius: var(--mts-radius); background: #eef1f6; border-left: 4px solid var(--mts-members); }
.mts-banner__text { margin: 0 0 1em; font-weight: 600; }
.mts-banner__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pop-ups ---------- */
.mts-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border: 0; border-radius: 12px; padding: 1.75em; color: var(--mts-text); background: var(--mts-bg); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.mts-modal::backdrop { background: rgba(16, 24, 40, 0.55); }
.mts-modal__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.75em; line-height: 1; cursor: pointer; color: var(--mts-muted); padding: 4px 8px; }
.mts-modal__title { margin: 0 0 0.4em; font-size: 1.4em; line-height: 1.25; }
.mts-modal__img { display: block; width: calc(100% + 3.5em); max-width: none; margin: -1.75em -1.75em 1.25em; aspect-ratio: 16 / 9; object-fit: cover; }
.mts-modal__small { color: var(--mts-muted); font-size: 0.9em; }

/* ---------- Past recordings ---------- */
.mts-recordings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .mts-recordings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .mts-recordings { grid-template-columns: 1fr; } }
.mts-recording { display: flex; flex-direction: column; gap: 12px; color: var(--mts-text); text-decoration: none; }
.mts-recording img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--mts-radius); }
.mts-recording--members img { filter: brightness(0.6) saturate(0.7); }
.mts-recording__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; font-family: var(--global-heading-font-family, inherit); color: var(--global-palette3, var(--mts-members)); }
.mts-recording__label .mts-badge__icon { color: var(--global-palette1, #cc7c5f); stroke-width: 2.75; vertical-align: -3px; margin-right: 6px; }
.mts-recording__title { font-family: var(--global-heading-font-family, inherit); font-size: 1em; font-weight: 500; line-height: 1.3; color: var(--global-palette3, var(--mts-text)); }

/* ---------- Portal version (inside the member portal) ---------- */
body.mts-embed { margin: 0; padding: 16px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--mts-bg); }

@media (max-width: 767px) {
	.mts-cal .fc .fc-toolbar { flex-direction: column; gap: 8px; }
	.mts-cal .fc .fc-toolbar-title { font-size: 1.15em; }
	.mts-cal .fc-list-event .mts-cal__img { width: 64px; flex-basis: 64px; }
	.mts-cal .fc-list-event .mts-cal__ev { gap: 8px; }
	.mts-cal .fc .fc-list-event td { padding: 8px 6px; }
}

/* Inside a Kadence template card (custom event layout): the card already gives the box and spacing. */
.kt-inside-inner-col > .mts-banner { margin: 0; padding: 0; background: none; border: 0; }

/* Badges: tagline-style type (Poppins bold, 12px, uppercase, 0.3px spacing) and Kadence palette colours.
   Fallbacks keep them right on sites without the Kadence palette, e.g. the member portal. */
.mts-badge { font-family: var(--global-heading-font-family, Poppins, sans-serif); font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; line-height: 1.4; padding: 4px 8px; border-radius: 4px; background: var(--global-palette5, #334b5d); color: var(--global-palette9, #fff); }
.mts-badge--members { background: var(--global-palette1, #cc7c5f); color: var(--global-palette9, #fff); }
.mts-badge--partner { background: var(--global-palette5, #334b5d); color: var(--global-palette9, #fff); }
/* The theme's paragraph spacing (32px) would otherwise win over the badge's own margin. */
p.mts-badge, .single-content p.mts-badge, .entry-content p.mts-badge { margin: 0 0 8px; }
.mts-badge__icon { display: inline-block; vertical-align: -1px; margin-right: 5px; }


/* ---------- Event details: 2 x 2 grid (Date | Time, Where | Price) ---------- */
ul.mts-ev__facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0 0 1.25em; padding: 0; font-size: 0.85em; }
ul.mts-ev__facts li.mts-fact { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.6); border: 1px solid #f0ede9; }
.mts-ev__icon { flex: 0 0 auto; margin-top: 1px; color: var(--global-palette1, #cc7c5f); }
.mts-fact__text { display: flex; flex-direction: column; min-width: 0; }
.mts-fact__main { font-weight: 600; line-height: 1.4; color: var(--global-palette3, var(--mts-text)); }
.mts-fact__sub { font-size: 0.9em; line-height: 1.4; color: var(--global-palette5, var(--mts-muted)); margin-top: 2px; }
.kt-inside-inner-col > .mts-ev__facts { margin-bottom: 32px; }
@media (max-width: 479px) { ul.mts-ev__facts { grid-template-columns: 1fr; } }/* "Add to my calendar" is a secondary action: keep it quieter than the main button. */
.mts-addcal summary { font-size: 0.85em; font-weight: 500; }
/* Custom layout: main button (or members banner), then "Add to my calendar" underneath. */
.mts-ev__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mts-ev__cta .mts-banner { margin: 0; padding: 0; background: none; border: 0; }
.mts-ev__cta .mts-banner__text { margin-bottom: 12px; }
/* Badges as plain text: no box, palette 3 navy for every type. */
.mts-badge, .mts-badge--members, .mts-badge--partner { background: none; padding: 0; border-radius: 0; color: var(--global-palette3, #0d2230); }
/* Plain-text badges at 13px, with a terracotta icon. */
.mts-badge { font-size: 13px; }
.mts-badge__icon { color: var(--global-palette1, #cc7c5f); vertical-align: -3px; margin-right: 6px; }
/* Same visible line weight as the 22px detail icons (2 × 22/24 ≈ 1.8px): at 16px that needs 2.75. */
.mts-badge__icon { stroke-width: 2.75; }
/* Calendar links: same size as "Add to my calendar", one per line (flex on <details> isn't reliable in Chrome). */
.mts-addcal a { display: block; font-size: 0.85em; font-weight: 500; margin-top: 8px; padding-left: 1.6em; }
.mts-ev__cta .mts-banner__text { font-size: 0.9em; }

/* [mts_next_event]: the "Next up" card on the Events page (navy date box, olive tags, as in the November design). */
.mts-next { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mts-next p, .entry-content .mts-next p { margin: 0; }
.mts-next__date { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; border-radius: 10px; background: var(--global-palette3, #0d2230); color: var(--global-palette9, #fff); font-family: var(--global-heading-font-family, inherit); line-height: 1.3; }
.mts-next__date strong { font-weight: 600; font-size: 16px; }
.mts-next__date span { font-weight: 500; font-size: 12px; }
h3.mts-next__title { margin: 0; font-size: 18px; line-height: 1.3; }
.mts-next__title a { color: inherit; text-decoration: none; }
.mts-next__title a:hover, .mts-next__title a:focus { text-decoration: underline; }
.mts-next__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mts-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 10px; border: 1.5px solid var(--global-palette11, #5b6b3a); border-radius: 10px; background: var(--global-palette9, #fff); color: var(--global-palette11, #5b6b3a); font-family: var(--global-heading-font-family, inherit); font-weight: 600; font-size: 11px; line-height: 1.2; letter-spacing: 0.06em; white-space: nowrap; text-transform: uppercase; }
.mts-tag--members { background: var(--global-palette11, #5b6b3a); color: var(--global-palette9, #fff); }
.mts-next__where { font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--global-palette5, #334b5d); }

/* Calendar tiles, as in the November design: time in the body font, title as an underlined Poppins link,
   and a solid olive "Members" badge instead of the padlock. */
.mts-cal .mts-cal__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; line-height: 1.35; }
.mts-cal .mts-cal__time { font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 500; opacity: 1; color: var(--global-palette5, #566e81); }
.mts-cal .mts-cal__title { font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 500; color: var(--global-palette3, #334b5d); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mts-cal .fc-daygrid-event:hover .mts-cal__title, .mts-cal .fc-list-event:hover .mts-cal__title { text-decoration-thickness: 2px; }
.mts-cal__badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 10px; background: var(--global-palette11, #5b6b3a); color: var(--global-palette9, #fff); font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 600; font-size: 11px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

/* Calendar frame, as in the November design: outlined 44px buttons with 10px corners (navy when active),
   Poppins title, day names and dates. */
.mts-cal .fc .fc-toolbar.fc-header-toolbar { margin-bottom: 24px; gap: 16px; }
.mts-cal .fc .fc-toolbar-chunk { display: flex; align-items: center; gap: 8px; }
.mts-cal .fc .fc-button-group { display: flex; gap: 8px; }
.mts-cal .fc .fc-button, .mts-cal .fc .fc-button-group > .fc-button { min-width: 44px; min-height: 44px; margin: 0; padding: 8px 16px; border: 1px solid var(--global-palette3, #334b5d); border-radius: 10px; background: var(--global-palette9, #fff); color: var(--global-palette3, #334b5d); font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 500; font-size: 15px; line-height: 1.2; }
.mts-cal .fc .fc-button:hover, .mts-cal .fc .fc-button:focus { background: var(--global-palette7, #e1e6eb); color: var(--global-palette3, #334b5d); border-color: var(--global-palette3, #334b5d); }
.mts-cal .fc .fc-button:focus-visible { outline: 2px solid var(--global-palette3, #334b5d); outline-offset: 2px; box-shadow: none; }
.mts-cal .fc .fc-button-primary:not(:disabled).fc-button-active,
.mts-cal .fc .fc-button-primary:not(:disabled):active { background: var(--global-palette3, #334b5d); border-color: var(--global-palette3, #334b5d); color: var(--global-palette9, #fff); }
.mts-cal .fc .fc-button:disabled { opacity: 0.5; }
.mts-cal .fc .fc-toolbar-title { font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--global-palette3, #334b5d); }
.mts-cal .fc { --fc-border-color: #d9e3ea; }
.mts-cal .fc .fc-col-header-cell { padding: 12px 8px; }
.mts-cal .fc .fc-col-header-cell-cushion { padding: 0; font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--global-palette3, #334b5d); }
.mts-cal .fc .fc-daygrid-day-number { padding: 8px; font-family: var(--global-heading-font-family, Poppins, sans-serif); font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--global-palette3, #334b5d); }
.mts-cal .fc .fc-day-other .fc-daygrid-day-top { opacity: 1; }
.mts-cal .fc .fc-day-other .fc-daygrid-day-number { color: var(--global-palette5, #566e81); }
/* Note under the calendar: 24px below the grid, body size, navy. */
.mts-cal .mts-cal__note, .entry-content .mts-cal__note { margin: 24px 0 0; font-size: 1em; line-height: 1.5; color: var(--global-palette3, #334b5d); }
/* Grid lines: 1px #d9e3ea everywhere (FullCalendar's own 1px layout), and a single navy line along the top instead of the light one. */
.mts-cal .fc-theme-standard td, .mts-cal .fc-theme-standard th, .mts-cal .fc-theme-standard .fc-scrollgrid { border-color: #d9e3ea; }
.mts-cal .fc-theme-standard .fc-scrollgrid { border-top-color: var(--global-palette3, #334b5d); }
.mts-cal .fc-theme-standard .fc-col-header-cell { border-top-width: 0; }
/* Today: dusty blue instead of cream. */
.mts-cal .fc { --fc-today-bg-color: var(--global-palette7, #e1e6eb); }
/* Day cells: 8px padding all round, as in the November design; the event tile fills the padded width. */
.mts-cal .fc .fc-daygrid-day-frame { padding: 8px; }
.mts-cal .fc .fc-daygrid-day-top { margin-bottom: 6px; }
.mts-cal .fc .fc-daygrid-day-number { padding: 0; }
.mts-cal .fc .fc-daygrid-day-events { margin: 0; }
.mts-cal .fc .fc-daygrid-event-harness { margin: 0; }
.mts-cal .fc .fc-daygrid-event-harness + .fc-daygrid-event-harness { margin-top: 12px; }
.mts-cal .fc .fc-daygrid-event { margin: 0; }
.mts-cal .fc-daygrid-event .mts-cal__text { padding: 8px 0 0; }
.mts-cal .fc .fc-daygrid-day-bottom { margin: 0; }

/* Phone, as in the November phone wireframe (0.4.5, 0.4.6): month title with prev/next on one row, List view only,
   no Today button; compact list rows (13px date bar and time, 66px picture, 15px title). */
@media (max-width: 767px) {
	.mts-cal .fc .fc-toolbar.fc-header-toolbar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title nav"; align-items: center; gap: 8px; margin-bottom: 12px; }
	.mts-cal .fc .fc-toolbar-chunk:nth-child(1) { grid-area: nav; gap: 6px; }
	.mts-cal .fc .fc-toolbar-chunk:nth-child(2) { grid-area: title; justify-content: flex-start; }
	/* List only on phones: Month and Week don't fit (0.4.6). */
	.mts-cal .fc .fc-toolbar-chunk:nth-child(3) { display: none; }
	.mts-cal .fc .fc-today-button { display: none; }
	.mts-cal .fc .fc-button-group { gap: 6px; }
	.mts-cal .fc .fc-button, .mts-cal .fc .fc-button-group > .fc-button { padding: 8px 12px; font-size: 13px; }
	.mts-cal .fc .fc-prev-button, .mts-cal .fc .fc-next-button { padding: 0; }
	.mts-cal .fc .fc-toolbar-title { font-size: 20px; }
	.mts-cal .fc .fc-list-day-cushion { padding: 8px 10px; font-family: var(--global-heading-font-family, Poppins, sans-serif); font-size: 13px; font-weight: 700; line-height: 1.4; }
	.mts-cal .fc .fc-list-event td { padding: 10px 6px; vertical-align: middle; }
	.mts-cal .fc .fc-list-event td:first-child { padding-left: 10px; }
	.mts-cal .fc .fc-list-event td:last-child { padding-right: 10px; }
	.mts-cal .fc .fc-list-event-time { width: 46px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--global-palette5, #566e81); }
	.mts-cal .fc .fc-list-event-graphic { display: none; }
	.mts-cal .fc-list-event .mts-cal__ev { gap: 10px; }
	.mts-cal .fc-list-event .mts-cal__img { width: 66px; flex-basis: 66px; }
	.mts-cal .fc-list-event .mts-cal__title { font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; }
	.mts-cal .fc-list-event:hover .mts-cal__title { text-decoration: underline; text-decoration-thickness: 1px; }
	.mts-cal .mts-cal__note, .entry-content .mts-cal__note { margin-top: 16px; font-size: 14px; }
}

/* Event Details (rich text from GoHighLevel, 0.4.7): bold lines become small headings above their text. */
.mts-ev__more .mts-ev__subhead { margin: 1.5em 0 0.5em; }
.mts-ev__more > .mts-ev__subhead:first-child { margin-top: 1em; }
.mts-ev__more ul, .mts-ev__more ol { margin-bottom: 1em; }

/* Single event, November wireframe (0.4.8): tags, the When / Where / Price panel and the phone sticky bar. */
.mts-ev__tags { margin: 0; }
.mts-panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid #d9e3ea; border-radius: 10px; background: var(--global-palette9, #fff); }
.mts-panel__facts { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.mts-panel__row { margin: 0; }
.mts-panel dt { margin: 0 0 2px; font-family: var(--global-heading-font-family, Poppins, sans-serif); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--global-palette5, #566e81); }
.mts-panel dd { margin: 0; display: flex; flex-direction: column; }
.mts-panel__main { font-weight: 600; line-height: 1.4; color: var(--global-palette3, #334b5d); }
.mts-panel__sub { font-size: 14px; line-height: 1.45; color: var(--global-palette5, #566e81); margin-top: 2px; }
.mts-panel__action { display: flex; flex-direction: column; gap: 10px; }
.mts-panel__action .mts-btn, .mts-panel__action .mts-banner__buttons .mts-btn { display: flex; justify-content: center; width: 100%; text-align: center; }
.mts-panel__action .mts-banner__buttons { flex-direction: column; gap: 10px; }
.mts-panel__note, .entry-content .mts-panel__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--global-palette5, #566e81); }
.mts-panel + .mts-addcal { margin-top: 12px; }
.mts-stickybar { display: none; }
@media (max-width: 1024px) {
	.mts-stickybar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--global-palette9, #fff); border-top: 1px solid #d9e3ea; box-shadow: 0 -4px 16px rgba(13, 34, 48, 0.08); }
	.mts-stickybar .mts-btn { display: flex; justify-content: center; width: 100%; text-align: center; }
	body:has(.mts-stickybar) { padding-bottom: 76px; }
}
/* Breadcrumb above the event: small and quiet, as in the wireframe. */
.single-mts_event .rank-math-breadcrumb, .single-mts_event .rank-math-breadcrumb p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--global-palette5, #566e81); }
