/**
 * October at Made By Me Studio
 * Brand only: #FF1493 · #FEDF00 · #0076CE · cream #fffbf5
 */

.mbm-template--october-studio .mbm-oct__board {
	margin-bottom: 0;
}

.mbm-template--october-studio .mbm-oct__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
	align-items: stretch;
}

.mbm-template--october-studio .mbm-oct__card.mbm-sept__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 118, 206, 0.07);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mbm-template--october-studio .mbm-oct__card-link {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
	cursor: pointer;
}

.mbm-template--october-studio .mbm-oct__card:hover,
.mbm-template--october-studio .mbm-oct__card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(0, 118, 206, 0.12);
}

.mbm-template--october-studio .mbm-oct__card-link:focus-visible {
	outline: 3px solid #0076ce;
	outline-offset: 3px;
}

.mbm-template--october-studio .mbm-oct__card .mbm-sept__card-media {
	position: relative;
	overflow: hidden;
	min-height: 0;
	aspect-ratio: 16 / 9;
	background: #fffbf5;
}

.mbm-template--october-studio .mbm-oct__card .mbm-sept__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: contain;
	object-position: center center;
	aspect-ratio: auto;
}

.mbm-template--october-studio .mbm-oct__card .mbm-sept__card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
	padding: 1.1rem 1.2rem 1.2rem;
}

.mbm-template--october-studio .mbm-oct__when {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.15rem 0 0.1rem;
}

.mbm-template--october-studio .mbm-oct__when-box {
	display: inline-flex;
	align-items: center;
	padding: 0.38rem 0.7rem;
	border-radius: 0.7rem;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
}

.mbm-template--october-studio .mbm-oct__when-box--date {
	background: #fedf00;
	color: #ff1493;
}

.mbm-template--october-studio .mbm-oct__when-box--time {
	background: #0076ce;
	color: #fffbf5;
}

.mbm-template--october-studio .mbm-oct__card .mbm-sept__btn {
	margin-top: auto;
}

.mbm-template--october-studio .mbm-oct__card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	width: calc((100% - 1.15rem) / 2);
	justify-self: center;
}

.mbm-template--october-studio .mbm-oct__sold-ribbon {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 2;
	margin: 0;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: #ff1493;
	color: #fffbf5;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 8px 18px rgba(255, 20, 147, 0.28);
	transform: none;
}

.mbm-template--october-studio .mbm-oct__booking {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0.15rem;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}

.mbm-template--october-studio .mbm-oct__booking--registered {
	color: #0076ce;
	background: rgba(0, 118, 206, 0.1);
}

.mbm-template--october-studio .mbm-oct__booking--walkin {
	color: #ff1493;
	background: rgba(255, 20, 147, 0.1);
}

.mbm-template--october-studio .mbm-oct__booking--community {
	color: #6b4f00;
	background: rgba(254, 223, 0, 0.38);
}

.mbm-template--october-studio .mbm-oct__card--walkin {
	border-color: transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(90deg, #ff1493, #fedf00) border-box;
	border: 2px solid transparent;
}

.mbm-template--october-studio .mbm-oct__card--sold-out .mbm-sept__pills li:last-child {
	background: #ff1493;
	border-color: #ff1493;
	color: #fffbf5;
}

.mbm-template--october-studio .mbm-oct__card .mbm-sept__pills li {
	max-width: 100%;
	line-height: 1.3;
}

.mbm-template--october-studio .mbm-oct__compare {
	padding-bottom: 0;
}

.mbm-template--october-studio .mbm-oct__compare-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.25rem;
}

.mbm-template--october-studio .mbm-oct__compare-card {
	padding: 1.2rem 1.25rem 1.3rem;
	border-radius: 1.15rem;
	background: #fff;
	border: 2px solid rgba(0, 118, 206, 0.14);
	box-shadow: 0 12px 40px rgba(0, 118, 206, 0.08);
}

.mbm-template--october-studio .mbm-oct__compare-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.2rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #0076ce;
}

.mbm-template--october-studio .mbm-oct__compare-card p:last-child {
	margin: 0;
	color: rgba(0, 118, 206, 0.78);
	line-height: 1.5;
}

.mbm-template--october-studio .mbm-oct__compare-card--walkin {
	border-color: transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(90deg, #ff1493, #fedf00) border-box;
	border: 2px solid transparent;
}

.mbm-scw__status--sold-out {
	background: #ff1493 !important;
	color: #fffbf5 !important;
}

.mbm-scw__status--sold-out .mbm-scw__status-dot {
	background: #fedf00;
	box-shadow: 0 0 0 0.2rem rgba(254, 223, 0, 0.35);
}

.mbm-cfh-soldout {
	padding: 1.35rem 1.4rem 1.5rem;
	border-radius: 1rem;
	background: #fff;
	border: 2px solid #ff1493;
	box-shadow: 0 12px 32px rgba(255, 20, 147, 0.12);
}

.mbm-cfh-soldout__label {
	margin: 0 0 0.35rem;
	color: #ff1493;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mbm-cfh-soldout__title {
	margin: 0 0 0.5rem;
	color: #0076ce;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.mbm-cfh-soldout__lead {
	margin: 0 0 1rem;
	color: rgba(0, 118, 206, 0.78);
}

@media (max-width: 720px) {
	.mbm-template--october-studio .mbm-oct__compare-grid,
	.mbm-template--october-studio .mbm-oct__grid {
		grid-template-columns: 1fr;
	}

	.mbm-template--october-studio .mbm-oct__card.mbm-sept__card {
		grid-template-columns: 1fr;
	}

	.mbm-template--october-studio .mbm-oct__card:last-child {
		width: 100%;
	}
}
