.mrt-challenge-carousel {
	--mrt-cc-gap: 20px;
	--mrt-cc-radius: 14px;
	--mrt-cc-accent: #f97316;
	--mrt-cc-text: #fff;
	--mrt-cc-overlay: 7, 20, 15;
	--mrt-cc-overlay-opacity: .78;
	--mrt-cc-card-desktop: calc(29.41176% - 14.118px);
	--mrt-cc-card-tablet: calc(45.45455% - 10.909px);
	--mrt-cc-card-mobile: calc(89.28571% - 2.143px);
	position: relative;
	width: 100%;
	min-width: 0;
	color: #111827;
}

.mrt-challenge-carousel *, .mrt-challenge-carousel *::before, .mrt-challenge-carousel *::after { box-sizing: border-box; }
.mrt-challenge-carousel__header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.mrt-challenge-carousel__header h2 { margin: 0; color: inherit; font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1.02; letter-spacing: -.035em; }
.mrt-challenge-carousel__arrows { display: flex; flex: 0 0 auto; gap: 9px; }
.mrt-challenge-carousel__arrows button {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid rgba(17, 24, 39, .14); border-radius: 50%; background: #fff; color: #111827;
	box-shadow: 0 7px 22px rgba(17, 24, 39, .08); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mrt-challenge-carousel__arrows button:hover { border-color: var(--mrt-cc-accent); background: var(--mrt-cc-accent); color: #fff; transform: translateY(-2px); }
.mrt-challenge-carousel__arrows button:focus-visible, .mrt-challenge-carousel__pagination button:focus-visible, .mrt-challenge-card__author:focus-visible, .mrt-challenge-card__link:focus-visible { outline: 3px solid var(--mrt-cc-accent); outline: 3px solid color-mix(in srgb, var(--mrt-cc-accent) 55%, transparent); outline-offset: 3px; }
.mrt-challenge-carousel__arrows button[disabled] { opacity: .38; pointer-events: none; }

.mrt-challenge-carousel__viewport { width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-inline: contain; }
.mrt-challenge-carousel__viewport::-webkit-scrollbar { display: none; }
.mrt-challenge-carousel__track { display: flex; align-items: stretch; gap: var(--mrt-cc-gap); width: 100%; min-width: 100%; }

.mrt-challenge-card {
	position: relative; isolation: isolate; flex: 0 0 var(--mrt-cc-card-desktop); min-width: 0; overflow: hidden;
	border-radius: var(--mrt-cc-radius); background: rgb(var(--mrt-cc-overlay)); color: var(--mrt-cc-text); scroll-snap-align: start;
	box-shadow: 0 16px 38px rgba(16, 24, 20, .14); transform: translateZ(0);
}
.mrt-challenge-carousel--3-4 .mrt-challenge-card { aspect-ratio: 3 / 4; }
.mrt-challenge-carousel--4-5 .mrt-challenge-card { aspect-ratio: 4 / 5; }
.mrt-challenge-carousel--1-1 .mrt-challenge-card { aspect-ratio: 1 / 1; }
.mrt-challenge-carousel--16-10 .mrt-challenge-card { aspect-ratio: 16 / 10; }
.mrt-challenge-card__media, .mrt-challenge-card__shade, .mrt-challenge-card__link { position: absolute; inset: 0; }
.mrt-challenge-card__media { z-index: -2; overflow: hidden; }
.mrt-challenge-card__image { display: block; width: 100%; height: 100% !important; margin: 0 !important; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.mrt-challenge-card__image--empty { background: radial-gradient(circle at 75% 15%, rgba(249,115,22,.72), transparent 34%), linear-gradient(145deg, #27483a, #0f2019); }
.mrt-challenge-card__shade { z-index: -1; background: linear-gradient(180deg, rgba(var(--mrt-cc-overlay), .24) 0%, rgba(var(--mrt-cc-overlay), .05) 34%, rgba(var(--mrt-cc-overlay), var(--mrt-cc-overlay-opacity)) 100%); }
.mrt-challenge-card__link { z-index: 1; border-radius: inherit; }
.mrt-challenge-card:hover .mrt-challenge-card__image { transform: scale(1.045); }
.mrt-challenge-card__content { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; width: 100%; height: 100%; padding: clamp(18px, 2vw, 26px); pointer-events: none; }
.mrt-challenge-card__top { display: flex; align-items: flex-start; flex-direction: column; }
.mrt-challenge-card h3 { max-width: 95%; margin: 0; color: inherit; font-size: clamp(1.4rem, 2.15vw, 2.15rem); font-weight: 650; line-height: 1.07; letter-spacing: -.025em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.mrt-challenge-card__featured { display: inline-flex; margin-bottom: 10px; padding: 5px 9px; border-radius: 999px; background: var(--mrt-cc-accent); color: #fff; font-size: .69rem; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.mrt-challenge-card__author { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 12px; color: inherit !important; font-size: .84rem; font-weight: 700; line-height: 1.2; text-decoration: none !important; pointer-events: auto; }
.mrt-challenge-card__author img { width: 28px !important; height: 28px !important; margin: 0 !important; border: 2px solid rgba(255,255,255,.78); border-radius: 50%; object-fit: cover; }
.mrt-challenge-card__author span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 9px rgba(0,0,0,.45); }
.mrt-challenge-card__tags { display: flex; flex-wrap: wrap; gap: 7px; align-content: end; }
.mrt-challenge-card__tags span { display: inline-flex; max-width: 100%; padding: 6px 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(4,12,8,.38); color: inherit; font-size: clamp(.69rem, .8vw, .78rem); font-weight: 700; line-height: 1; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(7px); }

.mrt-challenge-carousel__pagination { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 12px; margin-top: 18px; }
.mrt-challenge-carousel__pagination button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #111827; opacity: .22; cursor: pointer; transition: width .2s ease, opacity .2s ease, background .2s ease; }
.mrt-challenge-carousel__pagination button[aria-current="true"] { width: 24px; background: var(--mrt-cc-accent); opacity: 1; }
.mrt-challenge-carousel-empty { padding: 18px 20px; border: 1px dashed #cbd5e1; border-radius: 12px; color: #64748b; }

@media (max-width: 1024px) { .mrt-challenge-card { flex-basis: var(--mrt-cc-card-tablet); } }
@media (max-width: 690px) {
	.mrt-challenge-card { flex-basis: var(--mrt-cc-card-mobile); }
	.mrt-challenge-carousel__header { align-items: center; margin-bottom: 18px; }
	.mrt-challenge-carousel__arrows button { width: 40px; height: 40px; }
	.mrt-challenge-card__content { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.mrt-challenge-carousel__viewport { scroll-behavior: auto; }
	.mrt-challenge-card__image, .mrt-challenge-carousel__arrows button, .mrt-challenge-carousel__pagination button { transition: none; }
}
