:root {
    --motion-ink: #17201b;
    --motion-muted: #667067;
    --motion-border: #dfe4df;
    --motion-paper: #f6f7f4;
    --motion-green: #1f5b45;
}
.mt-con h1,.mt-con h2,.mt-con h3,.mt-con h{
	background:none !important;
	border:none !important;
	color:black !important;
}

.motion-hero {
    background:
        linear-gradient(135deg, rgba(19, 30, 24, .96), rgba(31, 91, 69, .92));
    color: #fff;
    padding: 72px 0 54px;
}

.motion-hero__eyebrow,
.motion-editor-heading__eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 16px;
    font-weight: 700;
    opacity: .78;
}

.motion-hero h1 {
    max-width: 850px;
    margin: 10px 0 16px;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: .98;
	color:white !important;
}

.motion-hero p {
    max-width: 720px;
    font-size: 16px;
    opacity: .88;
}

.motion-discipline-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.motion-discipline-nav a {
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    padding: 9px 16px;
    text-decoration: none;
}

.motion-discipline-nav a:hover,
.motion-discipline-nav a.is-active {
    background: #fff;
    color: var(--motion-ink);
}

.motion-page {
    padding-top: 34px;
    padding-bottom: 70px;
}

.motion-filter-panel,
.motion-editor-section,
.motion-info-box {
    border: 1px solid var(--motion-border);
    background: #fff;
    padding: 24px;
}

.motion-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.motion-filter-actions,
.motion-page__actions,
.motion-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.motion-page__actions {
    margin: 22px 0;
}

.motion-view-switcher {
    display: flex;
    border-bottom: 1px solid var(--motion-border);
    margin-bottom: 24px;
}

.motion-view-switcher button {
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 12px 18px;
    font-weight: 700;
}

.motion-view-switcher button.is-active {
    border-bottom-color: var(--motion-green);
}

.motion-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.motion-event-card {
    border: 1px solid var(--motion-border);
    background: #fff;
    overflow: hidden;
}

.motion-event-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--motion-paper);
    color: var(--motion-ink);
    text-decoration: none;
}

.motion-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.motion-event-card:hover img {
    transform: scale(1.025);
}

.motion-event-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 20px;
    font-weight: 700;
    text-align: center;
}

.motion-event-card__featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: var(--motion-ink);
    padding: 6px 9px;
    font-size: 16px;
    font-weight: 700;
}

.motion-event-card__body {
    padding: 20px;
}

.motion-event-card__date {
    color: var(--motion-green);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.motion-event-card h2 {
    margin: 7px 0 8px;
    font-size: 2.35rem;
	color:white !important;
}

.motion-event-card h2 a {
    color: var(--motion-ink);
    text-decoration: none;
}

.motion-event-card__meta,
.motion-event-card__distances {
    color: var(--motion-muted);
    font-size: 16px;
}

.motion-event-card p {
    margin-top: 15px;
}

.motion-result-summary {
    margin-bottom: 14px;
    color: var(--motion-muted);
}

#motion-map {
    height: 620px;
    border: 1px solid var(--motion-border);
}

.motion-event-hero {
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 80px 0 64px;
    background-color: var(--motion-primary);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.motion-event-hero__logo {
    max-width: 170px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 24px;
}

.motion-event-hero__discipline {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .12em;
}

.motion-event-hero h1 {
    max-width: 920px;
    margin: 10px 0 18px;
    font-size: clamp(2.5rem, 7vw, 5.8rem);
    line-height: .94;
}

.motion-event-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-weight: 700;
}

.motion-event-hero p {
    max-width: 760px;
    margin: 20px 0;
    font-size: 16px;
}

.motion-event-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.motion-event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    padding-top: 52px;
    padding-bottom: 80px;
}

.motion-event-section {
    margin-bottom: 52px;
}

.motion-event-section h2,
.motion-info-box h2 {
    margin-bottom: 20px;
}

.motion-distance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.motion-distance-card {
    border: 1px solid var(--motion-border);
    padding: 24px;
    background: var(--motion-secondary);
}

.motion-distance-card__km {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--motion-primary);
}

.motion-distance-card__km small {
    font-size: 16px;
}

.motion-distance-card dl,
.motion-info-box dl {
    margin: 18px 0;
}

.motion-distance-card dl div,
.motion-info-box dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.motion-distance-card dt,
.motion-info-box dt {
    color: var(--motion-muted);
    font-weight: 400;
}

.motion-distance-card dd,
.motion-info-box dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
}

.motion-rich-text {
    font-size: 16px;
    line-height: 1.75;
}

.motion-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.motion-gallery figure {
    margin: 0;
}

.motion-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.motion-gallery figcaption {
    padding-top: 7px;
    color: var(--motion-muted);
    font-size: 16px;
}

.motion-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.motion-sponsor-grid > * {
    min-height: 100px;
    display: grid;
    place-items: center;
    border: 1px solid var(--motion-border);
    padding: 18px;
    color: var(--motion-ink);
    text-decoration: none;
}

.motion-sponsor-grid img {
    max-width: 100%;
    max-height: 65px;
}

.motion-event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.motion-editor-page,
.motion-mine-page,
.motion-preferences-page {
    padding-top: 48px;
    padding-bottom: 80px;
}

.motion-editor-heading {
    margin-bottom: 30px;
}

.motion-editor-heading h1 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 5vw, 4rem);
}

.motion-editor-section {
    margin-bottom: 22px;
}

.motion-editor-section__header,
.motion-repeat-row__header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.motion-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.motion-checkbox-list label {
    font-weight: 600;
}

.motion-repeat-row {
    border: 1px solid var(--motion-border);
    padding: 20px;
    margin-bottom: 14px;
    background: var(--motion-paper);
}

.motion-editor-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.motion-editor-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin-bottom: 6px;
}

.motion-admin-table td,
.motion-admin-table th {
    vertical-align: middle;
}

.motion-status {
    display: inline-block;
    padding: 5px 9px;
    background: #eee;
    font-size: 16px;
    font-weight: 700;
}

.motion-status--approved {
    background: #dff4e8;
    color: #165c34;
}

.motion-status--submitted {
    background: #e5edf9;
    color: #174f8f;
}

.motion-status--rejected {
    background: #fff0d9;
    color: #825000;
}

.motion-status--cancelled {
    background: #f9dfdf;
    color: #8b1f1f;
}

@media (max-width: 991px) {
    .motion-filter-grid,
    .motion-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .motion-event-layout {
        grid-template-columns: 1fr;
    }

    .motion-event-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .motion-filter-grid,
    .motion-event-grid,
    .motion-distance-grid,
    .motion-gallery,
    .motion-sponsor-grid,
    .motion-event-sidebar {
        grid-template-columns: 1fr;
    }

    .motion-hero {
        padding: 48px 0 38px;
    }

    .motion-event-hero {
        min-height: 460px;
        padding: 60px 0 42px;
    }

    .motion-filter-panel,
    .motion-editor-section,
    .motion-info-box {
        padding: 18px;
    }

    #motion-map {
        height: 480px;
    }

    .motion-editor-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
