.cm-ms {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 40px;
	width: 100%;
	box-sizing: border-box;
}

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

/* ---------- Media column ---------- */
.cm-ms__media {
	order: 0;
	flex: 0 0 auto;
	width: 38%;
	max-width: 100%;
	position: relative;
	overflow: hidden;
	aspect-ratio: 9 / 16;
	background: #000;
}

.cm-ms__media img,
.cm-ms__media video,
.cm-ms__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
}

/* ---------- Content column ---------- */
.cm-ms__content {
	order: 1;
	flex: 1 1 0;
	min-width: 0;
}

.cm-ms__title {
	margin: 0 0 20px;
}

.cm-ms__text {
	margin: 0 0 30px;
}

.cm-ms__text > :last-child {
	margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.cm-ms__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.cm-ms__btn-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.cm-ms__btn-label {
	font-weight: 700;
	margin: 0;
}

.cm-ms__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border-style: solid;
	border-width: 2px;
	border-radius: 50px;
	padding: 18px 32px;
	line-height: 1.2;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.cm-ms__btn:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}
