/* =========================================================================
   MRT Seminars — front-end styles
   Premium, modern, fully responsive redesign.
   Copper / terracotta + charcoal palette. All selectors namespaced under
   .mrt to avoid theme clashes.
   ========================================================================= */

.mrt {
	--mrt-dark: #1c1b1a;            /* near-black, warm */
	--mrt-dark-2: #232220;
	--mrt-dark-3: #141312;
	--mrt-accent: #bd7b5a;          /* copper / terracotta */
	--mrt-accent-2: #a4663f;        /* darker copper for hover */
	--mrt-accent-3: #8c542f;        /* deepest copper */
	--mrt-accent-soft: #e8c3ad;     /* light copper (decorative) */
	--mrt-accent-tint: #f6ece4;     /* very light copper wash */
	--mrt-light: #f1ede8;           /* warm cream section bg */
	--mrt-light-2: #f8f5f1;
	--mrt-white: #ffffff;
	--mrt-text: #26241f;
	--mrt-muted: #757069;
	--mrt-border: #e8e3dc;
	--mrt-radius-sm: 12px;
	--mrt-radius: 16px;
	--mrt-radius-lg: 24px;
	--mrt-shadow-sm: 0 2px 8px rgba(28, 27, 26, 0.04);
	--mrt-shadow: 0 16px 44px -24px rgba(28, 27, 26, 0.2);
	--mrt-shadow-lg: 0 34px 80px -34px rgba(28, 27, 26, 0.28);
	--mrt-shadow-accent: 0 14px 32px -14px rgba(189, 123, 90, 0.45);
	--mrt-grad-accent: linear-gradient(135deg, #c4825f 0%, #a4663f 100%);
	--mrt-grad-dark: linear-gradient(165deg, #232220 0%, #141312 100%);
	/* Signature copper button gradient (used for borders + hover fill). */
	--mrt-grad-btn: linear-gradient(90deg, rgba(162, 98, 68, 1) 0%, rgba(231, 137, 98, 1) 20%, rgba(247, 181, 145, 1) 40%, rgba(224, 132, 94, 1) 60%, rgba(162, 86, 58, 1) 80%, rgba(134, 78, 57, 1) 100%);
	--mrt-maxw: 1180px;
	--mrt-section-y: clamp(56px, 7vw, 100px); /* consistent vertical section rhythm */
	--mrt-gutter: clamp(20px, 5vw, 40px);     /* consistent horizontal page gutter */
	--mrt-ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* ---- Reference (Elementor) design tokens for the details page ---------- */
	--mrt-ref-dark: #232323;     /* charcoal sections + text */
	--mrt-ref-cream: #efedec;    /* warm grey section background */
	--mrt-ref-line: #8b4126;     /* hero bottom rule */
	--mrt-ref-bronze: #bd7b5a;   /* bronze icons / timeline */
	--mrt-ref-field: #d8d4d0;    /* form field border */

	color: var(--mrt-text);
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "kern", "liga", "calt";
	text-rendering: optimizeLegibility;
}

.mrt *,
.mrt *::before,
.mrt *::after {
	box-sizing: border-box;
}

.mrt h1, .mrt h2, .mrt h3 {
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: -0.005em;
	margin-bottom: 10px;
}

.mrt p { margin: 0 0 1em; }
.mrt ul { margin: 0; padding: 0; list-style: none; }
.mrt img { max-width: 100%; }

/* Inline SVG icons inherit colour + sit on the text baseline nicely. */
.mrt-icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	flex: none;
	vertical-align: -0.14em;
}

/* Admin-uploaded icons reuse .mrt-icon sizing; keep their aspect ratio. */
img.mrt-icon--custom {
	object-fit: contain;
}
.mrt-info__icon .mrt-icon--custom { width: 40px; height: 40px; }
.mrt-arrows__icon .mrt-icon--custom { width: 16px; height: 16px; }

/* Eyebrow / section kicker label, reused in a few sections. */
.mrt-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

/* Signature "— LABEL" eyebrow: a short copper rule precedes the text. */
.mrt-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--mrt-accent-2);
}
.mrt-eyebrow::before {
	content: "";
	width: 28px;
	height: 1.5px;
	background: var(--mrt-accent);
	flex: none;
}

/* ---- Shared pills + buttons ---------------------------------------------- */
.mrt-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 14px;
	border: 1px solid var(--mrt-accent);
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mrt-accent-2) !important;
	background: var(--mrt-accent-tint) !important;
	line-height: 1.4;
}
.mrt-pill--ghost {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* Unified button: pill with a copper gradient border + dark label, filling
   with the gradient (white label) on hover. One look for every button. */
.mrt-btn {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	border-radius: 999px;
	padding: 15px 34px;
	cursor: pointer;
	color: var(--mrt-text) !important;
	border: 2px solid transparent !important;
	background: linear-gradient(var(--mrt-white), var(--mrt-white)) padding-box, var(--mrt-grad-btn) border-box !important;
	background-origin: border-box !important;
	text-align: center;
	line-height: 1.2;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.mrt-btn .mrt-icon { width: 1.05em; height: 1.05em; }
.mrt-btn:hover,
.mrt-btn:focus {
	color: var(--mrt-text) !important;
	background: linear-gradient(var(--mrt-white), var(--mrt-white)) padding-box, var(--mrt-grad-btn) border-box !important;
}
/* Hover "thicker border" drawn as an overlay ring on the OUTSIDE of the button
   so it never changes the button's box size or shifts surrounding layout. */
.mrt-btn::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	border: 4px solid transparent;
	background: var(--mrt-grad-btn) border-box;
	-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease-in-out;
}
.mrt-btn:hover::after,
.mrt-btn:focus::after { opacity: 1; }
.mrt-btn:focus-visible { outline: 3px solid rgba(189, 123, 90, 0.45); outline-offset: 3px; }

/* Modifiers kept for markup compatibility — all buttons share the style above. */
.mrt-btn--solid,
.mrt-btn--outline { color: var(--mrt-text) !important; }

/* =========================================================================
   SINGLE / DETAILS PAGE  —  matches the Elementor reference design
   ========================================================================= */

.mrt-single { background: var(--mrt-white); }

/* Shared decorative copper rings (echo the reference background circles). */
.mrt-deco {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.mrt-deco--1 {
	width: 360px; height: 360px;
	right: 0; top: -110px;
	border: 30px solid rgba(189, 123, 90, 0.13);
}
.mrt-deco--2 {
	width: 150px; height: 150px;
	left: -55px; bottom: 50px;
	border: 18px solid rgba(189, 123, 90, 0.11);
}

/* Companion circles that cluster around each ring, echoing the overlapping
   copper circles in the reference design. */
.mrt-deco--1::before,
.mrt-deco--1::after,
.mrt-deco--2::before,
.mrt-deco--2::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}
.mrt-deco--1::after {
	width: 90px; height: 90px;
	left: 24px; bottom: 30px;
	border: 14px solid rgba(189, 123, 90, 0.16);
}
.mrt-deco--1::before {
	width: 26px; height: 26px;
	left: 150px; bottom: 4px;
	background: rgba(189, 123, 90, 0.18);
}
.mrt-deco--2::after {
	width: 52px; height: 52px;
	right: -34px; top: -14px;
	border: 9px solid rgba(189, 123, 90, 0.14);
}
.mrt-deco--2::before {
	width: 16px; height: 16px;
	right: -8px; bottom: 18px;
	background: rgba(189, 123, 90, 0.16);
}

/* When a custom image is uploaded (Seminars → Icons → Decorative elements),
   it replaces the CSS ring (and its companion circles) and fills the box. */
.mrt-deco--image {
	border: 0;
	border-radius: 0;
}
.mrt-deco--image::before,
.mrt-deco--image::after { content: none; }
.mrt-deco--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---- Hero ---------------------------------------------------------------- */
.mrt-hero {
	background: var(--mrt-ref-dark);
	color: #fff;
	position: relative;
	overflow: hidden;
}
/* Copper gradient bar along the bottom edge (replaces the solid border). */
.mrt-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: linear-gradient(
		90deg,
		rgba(162, 98, 68, 1) 0%,
		rgba(231, 137, 98, 1) 20%,
		rgba(247, 181, 145, 1) 40%,
		rgba(224, 132, 94, 1) 60%,
		rgba(162, 86, 58, 1) 80%,
		rgba(134, 78, 57, 1) 100%
	);
	z-index: 4;
	pointer-events: none;
}
/* Decorative overlay image pinned to the left ~20% of the hero media (image)
   container, sitting on top of the hero image. */
.mrt-hero__overlay {
	position: absolute;
	left: -100px;
	top: 0;
	height: 100%;
	width: auto;
	object-fit: cover;
	object-position: left center;
	z-index: 2;
	pointer-events: none;
}
.mrt-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 600px;
}
.mrt-hero__content {
	padding: clamp(48px, 6vw, 90px) clamp(24px, 5vw, 70px);
	align-self: center;
	width: 100%;
	max-width: 760px;
	margin-left: auto;
	position: relative;
	z-index: 2;
}
.mrt-hero__tags { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.mrt-hero__tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 14px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: #fff;
	background: transparent;
	line-height: 1.5;
}
.mrt-hero__eyebrow {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	margin: 0 0 8px;
	letter-spacing: 0.01em;
}
.mrt-hero__title {
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	line-height: 1.25;
	margin: 0 0 26px;
	max-width: 18ch;
	color: #fff;
}
.mrt-hero__facts { display: grid; gap: 0; margin: 0; max-width: 560px; }
.mrt-hero__fact {
	display: grid;
	grid-template-columns: 135px 1fr;
	gap: 16px;
	font-size: 16px;
	line-height: 27px;
	padding: 4px 0;
}
.mrt-hero__fact dt { margin: 0; font-weight: 300; letter-spacing: 1px; color: #fff; }
.mrt-hero__fact dd { margin: 0; font-weight: 300; letter-spacing: 1px; color: #fff; }
.mrt-hero__note { display: none; font-size: 16px; font-weight: 600; color: #fff; margin: 22px 0 0; }

/* Hero call-to-action button (text + link set in the admin → Hero Button box).
   Outlined light pill on the dark hero, matching the reference design. */
.mrt-hero__cta { margin:  32px 32px 0 0; }
.mrt-btn.mrt-hero__btn,
.mrt-btn.mrt-hero__btn:hover,
.mrt-btn.mrt-hero__btn:focus {
	background: linear-gradient(var(--mrt-ref-dark), var(--mrt-ref-dark)) padding-box, var(--mrt-grad-btn) border-box !important;
	border: 2px solid transparent !important;
	color: #fff !important;
}

.mrt-hero__media { position: relative; min-height: 600px; z-index: 3; }
.mrt-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}
.mrt-hero__placeholder { position: absolute; inset: 0; background: #2c2b2a; }
.mrt-hero__badge {
	position: absolute;
	left: -135px;
	top: 50%;
	transform: translateY(-50%) rotate(-7deg);
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: #fff;
	color: #000;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 6px;
	text-align: center;
	padding: 34px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
	z-index: 5;
}
.mrt-hero__badge-text { font-size: 17px; font-weight: 600; line-height: 1.35; }
.mrt-hero__badge-sub {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.7;
	line-height: 1.3;
}

/* ---- Info boxes ---------------------------------------------------------- */
.mrt-info {
	background: var(--mrt-ref-cream);
	padding: clamp(70px, 10vw, 130px) var(--mrt-gutter);
}
.mrt-info__grid {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	align-items: stretch;
}
.mrt-info__box {
	background: var(--mrt-white);
	border: 1px solid var(--mrt-ref-cream);
	border-radius: 20px;
	padding: 40px;
}
.mrt-info__box--dark {
	background: var(--mrt-ref-dark);
	color: #fff;
	border-color: var(--mrt-ref-dark);
}
.mrt-info__icon {
	display: block;
	color: var(--mrt-ref-bronze);
	line-height: 0;
	margin-bottom: 18px;
}
.mrt-info__icon .mrt-icon { width: 40px; height: 40px; }
.mrt-info__title {
	font-size: 20px;
	font-weight: 500;
	color: var(--mrt-ref-dark);
	line-height: 1.3;
	margin: 0 0 14px;
}
.mrt-info__box--dark .mrt-info__title { color: #fff; }
.mrt-info__text {
	font-size: 16px;
	font-weight: 400;
	color: var(--mrt-ref-dark);
	line-height: 1.7;
}
.mrt-info__box--dark .mrt-info__text { color: #fff; }
.mrt-info__text p { margin: 0 0 1em; }
.mrt-info__text p:last-child { margin-bottom: 0; }

/* ---- Arrow lists (benefits / objectives / speaker credentials) ----------- */
.mrt-arrows { display: grid; gap: 8px; }
.mrt-arrows li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	align-items: start;
	font-size: 16px;
	line-height: 27px;
	letter-spacing: 0.2px;
}
.mrt-arrows__icon { line-height: 0; padding-top: 5px; }
.mrt-arrows__icon .mrt-icon { width: 16px; height: 16px; }
.mrt-arrows__text { display: block; }
.mrt-arrows--dark, .mrt-arrows--dark .mrt-arrows__icon { color: var(--mrt-ref-dark); }
.mrt-arrows--light, .mrt-arrows--light .mrt-arrows__icon { color: #fff; }

/* ---- Speaker ------------------------------------------------------------- */
.mrt-speaker {
	background: var(--mrt-white);
	padding: clamp(80px, 11vw, 150px) var(--mrt-gutter) clamp(70px, 10vw, 130px);
	position: relative;
	overflow: visible;
}
.mrt-speaker__grid {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
	position: relative;
	z-index: 1;
}
.mrt-speaker__photo { display: flex; justify-content: center; }
.mrt-speaker__img {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}
.mrt-speaker__label {
	font-size: clamp(24px, 3vw, 28px);
	font-weight: 300;
	color: var(--mrt-ref-dark);
	margin: 0 0 6px;
	letter-spacing: 0.3px;
}
.mrt-speaker__name {
	font-size: 20px;
	font-weight: 500;
	color: var(--mrt-ref-dark);
	margin: 0 0 18px;
}
.mrt-speaker__content .mrt-arrows { margin: 0 0 18px; }
.mrt-speaker__bio {
	font-size: 16px;
	font-weight: 400;
	color: var(--mrt-ref-dark);
	line-height: 1.7;
}
.mrt-speaker__bio p { margin: 0 0 1em; }
.mrt-speaker__bio p:last-child { margin-bottom: 0; }

/* ---- Program timeline ---------------------------------------------------- */
.mrt-program {
	background: var(--mrt-ref-dark);
	color: #fff;
	padding: clamp(110px, 15vw, 200px) var(--mrt-gutter);
	position: relative;
	overflow: visible;
}
/* Admin-uploadable decorative image, top-left (Seminars → Icons). */
.mrt-program__deco {
	position: absolute;
	left: 0;
	top: -100px;
	width: clamp(160px, 24vw, 360px);
	height: auto;
	pointer-events: none;
	z-index: 0;
}
.mrt-program__inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.mrt-program__title {
	text-align: center;
	text-transform: uppercase;
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 300;
	letter-spacing: 0.5px;
	color: #fff;
	margin: 0 0 clamp(40px, 6vw, 70px);
}
.mrt-timeline {
	position: relative;
	display: grid;
	gap: clamp(28px, 4vw, 100px);
	/* Shared vertical copper gradient for the line and the dots so they read as
	   one continuous, premium element. */
	--mrt-grad-timeline: linear-gradient(
		0deg,
		rgba(162, 98, 68, 1) 0%,
		rgba(231, 137, 98, 1) 20%,
		rgba(247, 181, 145, 1) 40%,
		rgba(224, 132, 94, 1) 60%,
		rgba(162, 86, 58, 1) 80%,
		rgba(134, 78, 57, 1) 100%
	);
}
.mrt-timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 6px;
	bottom: 6px;
	width: 4px;
	background: var(--mrt-grad-timeline);
	transform: translateX(-50%);
}
.mrt-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 28px 1fr;
	align-items: center;
}
.mrt-timeline__time {
	grid-column: 1;
	text-align: right;
	padding-right: 30px;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 1px;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.mrt-timeline__dot {
	grid-column: 2;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	/* Single solid copper picked from the line gradient (the 60% stop) so the
	   dots blend naturally with the timeline. */
	background: rgba(224, 132, 94, 1);
	justify-self: center;
}
.mrt-timeline__activity {
	grid-column: 3;
	padding-left: 30px;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.8px;
	line-height: 27px;
	color: #fff;
}

/* Scroll-reveal: items fade + rise in as they enter the viewport.
   Only active once JS adds .mrt-reveal, so without JS everything stays visible. */
.mrt-timeline.mrt-reveal .mrt-timeline__item {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s var(--mrt-ease), transform .7s var(--mrt-ease);
}
.mrt-timeline.mrt-reveal .mrt-timeline__item.is-visible {
	opacity: 1;
	transform: none;
}

/* ---- Bottom: summary + registration ------------------------------------- */
.mrt-bottom {
	background: var(--mrt-ref-cream);
	padding: clamp(70px, 10vw, 130px) var(--mrt-gutter);
	position: relative;
	overflow: visible;
}
/* Admin-uploadable decorative image on the right (Seminars → Icons). */
.mrt-bottom__deco {
	position: absolute;
	right: 0;
	top: -100px;
	width: clamp(140px, 22vw, 320px);
	height: auto;
	pointer-events: none;
	z-index: 0;
}
.mrt-bottom__grid {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 5vw, 50px);
	align-items: start;
	position: relative;
	z-index: 1;
}
.mrt-summary__title {
	font-size: clamp(24px, 2.8vw, 28px);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--mrt-ref-dark);
	margin: 0 0 50px;
}
.mrt-summary__block { margin-bottom: 25px; }
.mrt-summary__block h3 {
	font-size: 20px;
	font-weight: 500;
	color: var(--mrt-ref-dark);
	margin: 12px 0 2px;
	letter-spacing: 0;
	text-transform: none;
}
.mrt-summary__block p {
	font-size: 16px;
	font-weight: 400;
	color: var(--mrt-ref-dark);
	margin: 0;
	line-height: 1.7;
}

/* Registration card */
.mrt-register {
	background: var(--mrt-white);
	border: 1px solid var(--mrt-ref-cream);
	border-radius: 20px;
	padding: clamp(26px, 3.5vw, 40px);
	scroll-margin-top: 90px;
}
.mrt-register__title {
	font-size: clamp(24px, 2.8vw, 28px);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--mrt-ref-dark);
	margin: 0 0 4px;
}
.mrt-register__lead {
	font-size: 20px;
	font-weight: 500;
	color: var(--mrt-ref-dark);
	margin: 0 0 24px;
}
.mrt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
/* Fields span the full width by default; "half width" fields take one column,
   so two of them sit side by side on one row. */
.mrt-form > * { grid-column: 1 / -1; }
.mrt-form > .mrt-form__half { grid-column: span 1; }
.mrt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
/* Notched "floating" labels that sit on the top edge of each field's border,
   matching the reference registration form. */
.mrt-form__field { position: relative; display: block; font-size: 14px; color: var(--mrt-ref-dark); }
.mrt-form__field > span {
	position: absolute;
	top: 0;
	left: 13px;
	transform: translateY(-50%);
	padding: 0 7px;
	background: var(--mrt-white);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: #8a827d;
	z-index: 1;
	pointer-events: none;
	white-space: nowrap;
	max-width: calc(100% - 26px);
	overflow: hidden;
	text-overflow: ellipsis;
}
.mrt-form__field em { color: var(--mrt-ref-bronze); font-style: normal; }
.mrt-form__field input,
.mrt-form__field select,
.mrt-form__field textarea {
	width: 100%;
	border: 1px solid var(--mrt-ref-field) !important;
	border-radius: 50px;
	padding: 15px 20px;
	font-size: 16px;
	color: var(--mrt-ref-dark);
	background: var(--mrt-white) !important;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
	transition: box-shadow .2s var(--mrt-ease), border-color .2s var(--mrt-ease);
}
/* Lift the label colour to bronze when its field is focused. */
.mrt-form__field:focus-within > span { color: var(--mrt-ref-bronze); }
.mrt-form__field input::placeholder,
.mrt-form__field textarea::placeholder { color: #aaa4a0; }
.mrt-form__field input:focus,
.mrt-form__field select:focus,
.mrt-form__field textarea:focus {
	outline: none;
	border-color: var(--mrt-ref-bronze) !important;
	box-shadow: 0 0 0 3px rgba(189, 123, 90, 0.14);
}
.mrt-form__field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 42px;
}
.mrt-form__field textarea { resize: vertical; min-height: 150px; }
.mrt-form__submit { margin-top: 4px; justify-self: center; width: auto; min-width: 160px; border-radius: 50px; }
.mrt-form__status {
	margin: 0;
	padding: 14px 16px;
	border-radius: 15px;
	font-size: 14.5px;
	font-weight: 500;
}
.mrt-form__status.is-success { background: #eaf6ec; color: #1f6b34; border: 1px solid #bfe3c6; }
.mrt-form__status.is-error   { background: #fdecea; color: #a6291b; border: 1px solid #f3c4bd; }
.mrt-form.is-sending { opacity: 0.6; pointer-events: none; }

/* Grouped field types from the form builder: radio, checkbox and file. */
.mrt-form__block { display: block; border: 0; padding: 0; margin: 0; min-width: 0; }
.mrt-form__block-label {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--mrt-ref-dark);
}
.mrt-form__block em { color: var(--mrt-ref-bronze); font-style: normal; }
.mrt-form__choices { display: grid; gap: 12px; }
.mrt-form__choice {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: var(--mrt-ref-dark);
	cursor: pointer;
}
.mrt-form__choice input[type="radio"],
.mrt-form__choice input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin: 0;
	accent-color: var(--mrt-ref-bronze);
}
.mrt-form__file input[type="file"] {
	width: 100%;
	border: 1px dashed var(--mrt-ref-field);
	border-radius: 16px;
	padding: 14px 18px;
	font-size: 14px;
	color: var(--mrt-ref-dark);
	background: var(--mrt-white);
	cursor: pointer;
}
.mrt-form__file input[type="file"]:focus {
	outline: none;
	border-color: var(--mrt-ref-bronze);
	box-shadow: 0 0 0 3px rgba(189, 123, 90, 0.14);
}

/* ---- Organisation -------------------------------------------------------- */
.mrt-org {
	background: var(--mrt-white);
	padding: clamp(70px, 10vw, 120px) var(--mrt-gutter);
	position: relative;
	overflow: visible;
}
.mrt-org::after {
	content: "";
	position: absolute;
	left: -90px;
	top: -90px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	border: 26px solid rgba(189, 123, 90, 0.12);
	pointer-events: none;
}
/* When a custom image is uploaded (Seminars → Icons → Decorative elements),
   hide the built-in ring and show the image in the same spot. */
.mrt-org--has-deco::after { content: none; }
.mrt-org__deco {
	position: absolute;
	left: -90px;
	top: -90px;
	width: 360px;
	height: 360px;
	pointer-events: none;
	z-index: 0;
}
.mrt-org__inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.mrt-org__title {
	text-align: center;
	text-transform: uppercase;
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 300;
	letter-spacing: 0.5px;
	color: var(--mrt-ref-dark);
	margin: 0 0 50px;
}
.mrt-org__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
	justify-items: center;
	max-width: 100%;
	margin: 0 auto;
}
.mrt-org__col {
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
}
.mrt-org__label {
	font-size: 16px;
	font-weight: 400;
	color: var(--mrt-ref-dark);
	margin: 0;
}
.mrt-org__logo {
	display: block;
	height: 45px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	margin: 0;
}
.mrt-org__info {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--mrt-ref-dark);
	margin: 0;
	text-align: left;
}

/* =========================================================================
   ARCHIVE / LISTING PAGE (cards + filters)
   ========================================================================= */
.mrt-archive { background: var(--mrt-light-2); }
.mrt-archive__inner {
	max-width: var(--mrt-maxw);
	margin: 0 auto;
	padding: var(--mrt-section-y) var(--mrt-gutter);
}
.mrt-archive__head { text-align: center; margin-bottom: 40px; }
.mrt-archive__title {
	font-size: clamp(30px, 4vw, 46px);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.mrt-archive__lead { color: var(--mrt-muted); max-width: 60ch; margin: 14px auto 0; font-size: 17px; }

/* Filter bar */
.mrt-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	border: 1px solid var(--mrt-border);
	border-radius: var(--mrt-radius);
	padding: 18px 20px;
	margin-bottom: 34px;
	box-shadow: var(--mrt-shadow-sm);
}
.mrt-filters__search { flex: 1 1 240px; }
.mrt-filters__input,
.mrt-filters__select {
	width: 100%;
	border: none !important;
	border-radius: 999px;
	padding: 12px 18px;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--mrt-text);
	background: var(--mrt-light-2);
	-webkit-appearance: none;
	appearance: none;
	transition: box-shadow .2s var(--mrt-ease), background .2s var(--mrt-ease);
}
.mrt-filters__select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 18px;
	padding-right: 44px;
}
.mrt-filters__input,
.mrt-filters__select { color: var(--mrt-text) !important; }
.mrt-filters__input:focus,
.mrt-filters__select:focus {
	outline: none;
	background-color: #fff !important;
	box-shadow: 0 0 0 2px var(--mrt-accent), 0 0 0 5px rgba(189, 123, 90, 0.14);
}
.mrt-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mrt-chip {
	border: 1.5px solid var(--mrt-border) !important;
	background: #fff !important;
	color: var(--mrt-muted) !important;
	border-radius: 999px !important;
	padding: 9px 18px !important;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all .2s var(--mrt-ease);
	font-family: inherit;
}
.mrt-chip:hover {
	border-color: var(--mrt-accent) !important;
	color: var(--mrt-accent-2) !important;
	background: #fff !important;
	transform: translateY(-1px);
}
.mrt-chip.is-active {
	background: var(--mrt-grad-accent) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: var(--mrt-shadow-accent);
}
.mrt-filters__sort { flex: 0 0 auto; min-width: 200px; }

/* Card grid — single column of horizontal cards, like the mockup.
   Even cards flip the image to the right side. */
.mrt-grid { display: grid; gap: 28px; }
.mrt-card {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	background: #fff;
	border-radius: var(--mrt-radius-lg);
	overflow: hidden;
	box-shadow: var(--mrt-shadow);
	border: 1px solid rgba(231, 227, 223, 0.8);
	min-height: 300px;
	transition: transform .35s var(--mrt-ease), box-shadow .35s var(--mrt-ease);
}
.mrt-card:hover { transform: translateY(-5px); box-shadow: var(--mrt-shadow-lg); }
.mrt-card:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.mrt-card:nth-child(even) .mrt-card__media { order: 2; }

.mrt-card__media {
	position: relative;
	display: block;
	min-height: 240px;
	background: var(--mrt-light);
	overflow: hidden;
}
.mrt-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s var(--mrt-ease);
}
.mrt-card:hover .mrt-card__img { transform: scale(1.04); }
.mrt-card__placeholder {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 30%, #d8c4b6, transparent 60%),
		var(--mrt-light);
}
.mrt-card__body {
	padding: clamp(26px, 3vw, 42px);
	display: flex;
	flex-direction: column;
	gap: 13px;
	justify-content: center;
}
.mrt-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mrt-card__eyebrow {
	margin: 0;
	color: var(--mrt-accent-2) !important;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.mrt-card__title { font-size: clamp(21px, 2.4vw, 25px); margin: 0; }
.mrt-card__title a { color: var(--mrt-text) !important; text-decoration: none !important; transition: color .2s var(--mrt-ease); }
.mrt-card__title a:hover { color: var(--mrt-accent-2) !important; }
.mrt-card__meta { display: grid; gap: 6px; font-size: 14.5px; color: var(--mrt-muted); list-style: none; }
.mrt-card__label { color: var(--mrt-text) !important; font-weight: 600; }
.mrt-card .mrt-btn { margin-top: 10px; align-self: flex-start; }

.mrt-empty,
.mrt-no-results {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--mrt-muted);
	padding: 56px 20px;
	font-size: 16px;
}

.mrt-listing__footer { text-align: center; margin-top: 40px; }
.mrt-listing__spinner { color: var(--mrt-muted); font-size: 14px; }
.mrt-load-more[hidden] { display: none; }
.mrt-grid.is-loading { opacity: 0.5; transition: opacity .2s ease; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
	/* Hero stacks: image on top, content below (reference tablet behaviour). */
	.mrt-hero__grid { grid-template-columns: 1fr; }
	.mrt-hero__content { order: 2; max-width: none; margin-left: 0; padding-top: clamp(36px, 6vw, 52px); }
	.mrt-hero__media { min-height: 360px; order: 1; }
	.mrt-hero__badge { display: none; }
	.mrt-hero__note { display: block; }
	.mrt-hero__facts { max-width: none; }

	/* Info cards + speaker + summary/form stack. */
	.mrt-info__grid { grid-template-columns: 1fr; gap: 20px; }
	.mrt-speaker__grid { grid-template-columns: 1fr; gap: 30px; }
	.mrt-speaker__photo { justify-content: flex-start; }
	.mrt-bottom__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	/* Hide the decorative hero overlay image on mobile. */
	.mrt-hero__overlay { display: none; }

	.mrt-card,
	.mrt-card:nth-child(even) { grid-template-columns: 1fr; }
	.mrt-card:nth-child(even) .mrt-card__media { order: 0; }
	.mrt-card__media { min-height: 210px; }

	/* Organisation columns stack. */
	.mrt-org__grid { grid-template-columns: 1fr; gap: 36px; max-width: 360px; }
	.mrt-org__col { flex-direction: column; align-items: center; }
	.mrt-org__info { text-align: center; }

	/* Shrink the decorative rings / custom icons on mobile. */
	.mrt-deco--1 { width: 190px; height: 190px; top: -60px; border-width: 18px; }
	.mrt-deco--2 { width: 90px; height: 90px; left: -30px; border-width: 11px; }
	.mrt-org__deco { width: 190px; height: 190px; left: -60px; top: -60px; }

	/* Timeline collapses to a left rail on small screens. */
	.mrt-timeline { gap: 26px; }
	.mrt-timeline::before { left: 7px; transform: none; }
	.mrt-timeline__item { grid-template-columns: 18px 1fr; gap: 10px; }
	.mrt-timeline__time { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 3px 0; }
	.mrt-timeline__activity { grid-column: 2; grid-row: 2; padding-left: 0; }
	.mrt-timeline__dot { grid-column: 1; grid-row: 1; width: 14px; height: 14px; margin-top: 6px; justify-self: start; margin-left: 1px; }
}

@media (max-width: 560px) {
	.mrt { font-size: 15.5px; }
	/* Stack every field full-width on phones (half-width fields included). */
	.mrt-form { grid-template-columns: 1fr; }
	.mrt-form__row { grid-template-columns: 1fr; }
	.mrt-hero__content { padding-left: 20px; padding-right: 20px; }
	.mrt-hero__fact { grid-template-columns: 120px 1fr; gap: 10px; }
	.mrt-info__box { padding: 30px 24px; }
	.mrt-register { padding: 26px 20px; }
	.mrt-form__submit { width: 100%; min-width: 0; }
	.mrt-filters { flex-direction: column; align-items: stretch; }
	.mrt-filters__sort { min-width: 0; }
	.mrt-card__body { padding: 26px 22px; }
}

@media (max-width: 380px) {
	.mrt-hero__fact { grid-template-columns: 1fr; gap: 2px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.mrt *,
	.mrt *::before,
	.mrt *::after { transition: none !important; animation: none !important; }
	.mrt-card:hover,
	.mrt-info__box:hover { transform: none; }
}
