/* Composition Quiet Magazine — 비디오 매거진 · 인스타그램 피드 */

.cqm {
	--cqm-ink: #1f1e1b;
	--cqm-muted: #8a7f6e;
	--cqm-line: rgba(31, 30, 27, 0.14);
	--cqm-paper: #f2efe9;
	--cqm-paper-2: #e9e4db;
	--cqm-radius: 0px;
	--cqm-zoom: 1.03;
	--cqm-head-space: 36px;
	--cqm-body-space: 16px;
	--cqm-arrow: 42px;
	--cqm-arrow-color: var(--cqm-ink);
	--cqm-arrow-bg: transparent;
	--cqm-arrow-border: rgba(31, 30, 27, 0.22);
	--cqm-progress: var(--cqm-ink);
	--cqm-progress-track: rgba(31, 30, 27, 0.12);
	--cqm-progress-space: 28px;
	--cqm-play: 58px;
	--cqm-play-color: #fff;
	--cqm-shade: 0.08;
	--cqm-badge-bg: #fff;
	--cqm-badge-color: var(--cqm-ink);
	--cqm-overlay: rgba(31, 30, 27, 0.46);
	--cqm-avatar: 40px;
	--cqm-per: 3;
	--cqm-cols: 3;
	--cqm-gap: 24px;
	--cqm-row-gap: 40px;
	--cqm-span: 1;
	--cqm-gspan: 1;
	--cqm-ratio: 16/9;
	--cqm-bleed: 0px;
	--cqm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	position: relative;
	container-type: inline-size;
	color: var(--cqm-ink);
	width: 100%;
}

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

/* ---------- 머리말 ---------- */

.cqm-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin: 0 0 var(--cqm-head-space);
}

.cqm-head--bare {
	justify-content: flex-end;
	margin-bottom: 16px;
}

.cqm-head__text {
	max-width: 640px;
	min-width: 0;
}

.cqm-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cqm-muted);
}

.cqm .cqm-head__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--cqm-ink);
}

.cqm-head__desc {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--cqm-muted);
}

.cqm-head__side {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 0 0 auto;
}

.cqm .cqm-head__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	line-height: 1;
	color: var(--cqm-ink);
	text-decoration: none;
	padding-bottom: 5px;
	border-bottom: 1px solid currentColor;
	transition: opacity 0.3s var(--cqm-ease);
	white-space: nowrap;
}

.cqm .cqm-head__link:hover {
	opacity: 0.6;
}

.cqm--head-stack .cqm-head {
	flex-direction: column;
	align-items: flex-start;
}

.cqm--head-center .cqm-head {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cqm--head-center .cqm-head__text {
	margin: 0 auto;
}

.cqm--head-center .cqm-head__title {
	justify-content: center;
}

.cqm-avatar {
	width: var(--cqm-avatar);
	height: var(--cqm-avatar);
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	border: 1px solid var(--cqm-line);
}

/* ---------- 화살표 ---------- */

.cqm-arrows {
	display: flex;
	gap: 8px;
}

.cqm .cqm-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--cqm-arrow);
	height: var(--cqm-arrow);
	padding: 0;
	margin: 0;
	border-radius: 50%;
	border: 1px solid var(--cqm-arrow-border);
	background: var(--cqm-arrow-bg);
	color: var(--cqm-arrow-color);
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.3s var(--cqm-ease), border-color 0.3s var(--cqm-ease), background-color 0.3s var(--cqm-ease);
	min-height: 0;
	line-height: 1;
}

.cqm .cqm-arrow:hover:not(:disabled) {
	border-color: var(--cqm-arrow-color);
}

.cqm .cqm-arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.cqm .cqm-arrow:focus-visible {
	outline: 1px solid var(--cqm-ink);
	outline-offset: 3px;
}

.cqm .cqm-arrow--next svg {
	transform: scaleX(-1);
}

.cqm.is-static .cqm-arrows {
	display: none;
}

.cqm-stage {
	position: relative;
}

.cqm--arrows-sides .cqm-stage > .cqm-arrows {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 3;
}

.cqm--arrows-sides .cqm-stage > .cqm-arrows .cqm-arrow {
	position: absolute;
	top: var(--cqm-arrow-top, 40%);
	transform: translateY(-50%);
	pointer-events: auto;
	background: var(--cqm-arrow-bg, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.cqm--arrows-sides .cqm-stage > .cqm-arrows .cqm-arrow--prev {
	left: 12px;
}

.cqm--arrows-sides .cqm-stage > .cqm-arrows .cqm-arrow--next {
	right: calc(12px - var(--cqm-bleed));
}

.cqm--arrows-sides {
	--cqm-arrow-bg: rgba(255, 255, 255, 0.72);
	--cqm-arrow-border: rgba(255, 255, 255, 0.9);
}

.cqm--arrows-sides .cqm-arrow:disabled {
	opacity: 0;
}

/* ---------- 트랙 ---------- */

.cqm-viewport {
	position: relative;
}

.cqm--bleed .cqm-viewport {
	margin-right: calc(-1 * var(--cqm-bleed));
	overflow-x: clip;
}

.cqm-track {
	--cqm-cw: calc((100% - (var(--cqm-per) - 1) * var(--cqm-gap)) / var(--cqm-per));
	--cqm-cw: calc((100cqi - (var(--cqm-per) - 1) * var(--cqm-gap)) / var(--cqm-per));
	display: flex;
	gap: var(--cqm-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cqm--scroll .cqm-track {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	outline: none;
}

.cqm--scroll .cqm-track::-webkit-scrollbar {
	display: none;
}

.cqm--scroll .cqm-track:focus-visible {
	outline: 1px dashed var(--cqm-line);
	outline-offset: 6px;
}

.cqm--snap .cqm-track {
	scroll-snap-type: x mandatory;
}

.cqm--snap.is-dragging .cqm-track {
	scroll-snap-type: none;
}

.cqm.is-dragging .cqm-track {
	cursor: grabbing;
	user-select: none;
}

.cqm.is-dragging .cqm-card {
	pointer-events: none;
}

/* 화면 끝까지 흘러나갈 때, 마지막 칸이 본문 오른쪽 줄에 멈추도록 여백 */
.cqm--bleed .cqm-track::after {
	content: "";
	flex: 0 0 max(1px, calc(var(--cqm-bleed) - var(--cqm-gap)));
}

.cqm--scroll .cqm-card {
	flex: 0 0 var(--cqm-cw);
	width: var(--cqm-cw);
	scroll-snap-align: start;
}

.cqm--scroll .cqm-card.is-first {
	flex-basis: calc(var(--cqm-cw) * var(--cqm-span) + var(--cqm-gap) * (var(--cqm-span) - 1));
	width: calc(var(--cqm-cw) * var(--cqm-span) + var(--cqm-gap) * (var(--cqm-span) - 1));
}

.cqm--grid .cqm-track {
	display: grid;
	grid-template-columns: repeat(var(--cqm-cols), minmax(0, 1fr));
	gap: var(--cqm-row-gap) var(--cqm-gap);
}

.cqm--grid .cqm-card.is-first {
	grid-column: span var(--cqm-gspan);
}

/* ---------- 카드 ---------- */

.cqm .cqm-card {
	position: relative;
	display: block;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.cqm-media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--cqm-ratio);
	border-radius: var(--cqm-radius);
	background: var(--cqm-paper);
	isolation: isolate;
}

.cqm-media img,
.cqm-media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	border: 0;
	margin: 0;
}

.cqm-media img {
	object-fit: cover;
	transition: transform 1.2s var(--cqm-ease), opacity 0.6s var(--cqm-ease);
	-webkit-user-drag: none;
	user-select: none;
}

.cqm a.cqm-card:hover .cqm-media img {
	transform: scale(var(--cqm-zoom));
}

.cqm a.cqm-card:focus-visible {
	outline: none;
}

.cqm a.cqm-card:focus-visible .cqm-media {
	outline: 1px solid var(--cqm-ink);
	outline-offset: 4px;
}

.cqm-body {
	display: block;
	padding-top: var(--cqm-body-space);
}

.cqm-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 8px;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.06em;
	color: var(--cqm-muted);
}

.cqm-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 9px;
	margin-right: 10px;
	background: currentColor;
	opacity: 0.5;
	vertical-align: -0.02em;
}

.cqm-no {
	font-variant-numeric: tabular-nums;
}

.cqm-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.55;
	font-weight: 500;
	color: var(--cqm-ink);
	transition: color 0.3s var(--cqm-ease);
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.cqm-desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--cqm-muted);
	word-break: keep-all;
}

/* ---------- 비디오: 재생 표시 ---------- */

.cqm-video .cqm-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 15, var(--cqm-shade));
	transition: background-color 0.6s var(--cqm-ease);
	pointer-events: none;
	z-index: 1;
}

.cqm-video a.cqm-card:hover .cqm-media::after {
	background: rgba(20, 18, 15, calc(var(--cqm-shade) + 0.08));
}

.cqm-video .cqm-more .cqm-media::after,
.cqm-video .cqm-soon .cqm-media::after,
.cqm-video .cqm-card.is-playing .cqm-media::after {
	display: none;
}

.cqm-play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--cqm-play);
	height: var(--cqm-play);
	margin: calc(var(--cqm-play) / -2) 0 0 calc(var(--cqm-play) / -2);
	border-radius: 50%;
	color: var(--cqm-play-color);
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: transform 0.6s var(--cqm-ease), background-color 0.6s var(--cqm-ease);
}

.cqm-play svg {
	width: 42%;
	height: 42%;
	margin-left: 6%;
}

.cqm a.cqm-card:hover .cqm-play {
	transform: scale(1.06);
	background: rgba(255, 255, 255, 0.22);
}

.cqm--play-line .cqm-play {
	border: 0;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.25));
}

.cqm--play-line .cqm-play svg {
	width: 56%;
	height: 56%;
}

.cqm-badge {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 2;
	padding: 5px 9px 4px;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--cqm-badge-bg);
	color: var(--cqm-badge-color);
	border-radius: 2px;
}

.cqm-card.is-playing .cqm-play,
.cqm-card.is-playing .cqm-badge {
	display: none;
}

/* ---------- 더 보기 칸 ---------- */

.cqm-more .cqm-media {
	background: transparent;
	border: 1px solid var(--cqm-line);
	transition: border-color 0.4s var(--cqm-ease), background-color 0.4s var(--cqm-ease);
}

.cqm .cqm-more:hover .cqm-media {
	border-color: var(--cqm-ink);
}

.cqm-more__in {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	text-align: center;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cqm-ink);
}

.cqm-more__in svg {
	transition: transform 0.5s var(--cqm-ease);
}

.cqm .cqm-more:hover .cqm-more__in > svg:last-child {
	transform: translateX(4px);
}

.cqm-more__handle {
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--cqm-muted);
}

/* ---------- 준비 중 / 빈 틀 ---------- */

.cqm-soon .cqm-media {
	background: var(--cqm-paper);
}

.cqm-soon--ghost .cqm-media {
	background: transparent;
	border: 1px solid var(--cqm-line);
}

.cqm-soon__in {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 10px;
	padding: clamp(18px, 4cqi, 36px);
	color: var(--cqm-ink);
}

.cqm-ig .cqm-soon__in {
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px;
}

.cqm-soon--ghost .cqm-soon__in {
	justify-content: flex-start;
}

.cqm-soon__label {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cqm-muted);
	font-variant-numeric: tabular-nums;
}

.cqm-soon--ghost .cqm-soon__label {
	opacity: 0.6;
}

.cqm-soon__title {
	font-size: clamp(20px, 2.2vw, 28px);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.cqm-ig .cqm-soon__title {
	font-size: 13px;
	letter-spacing: 0;
}

.cqm-soon__text {
	font-size: 14px;
	line-height: 1.75;
	color: var(--cqm-muted);
	word-break: keep-all;
}

.cqm-ig .cqm-soon__text {
	font-size: 13px;
}

.cqm-soon__dot {
	position: absolute;
	right: clamp(18px, 4cqi, 36px);
	top: clamp(18px, 4cqi, 36px);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cqm-muted);
	animation: cqm-breath 3.6s ease-in-out infinite;
}

@keyframes cqm-breath {
	0%, 100% { opacity: 0.25; transform: scale(0.85); }
	50% { opacity: 1; transform: scale(1.15); }
}

.cqm a.cqm-soon {
	cursor: pointer;
}

.cqm a.cqm-soon:hover .cqm-media {
	background: var(--cqm-paper-2);
}

/* ---------- 인스타그램 ---------- */

.cqm-type {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: flex;
	color: #fff;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
	pointer-events: none;
}

.cqm-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	padding: 16px;
	background: var(--cqm-overlay);
	color: #fff;
	opacity: 0;
	transition: opacity 0.5s var(--cqm-ease);
}

.cqm-overlay .cqm-cap {
	color: #fff;
	transform: translateY(6px);
	transition: transform 0.6s var(--cqm-ease);
}

.cqm .cqm-card--ig:hover .cqm-overlay,
.cqm .cqm-card--ig:focus-visible .cqm-overlay {
	opacity: 1;
}

.cqm .cqm-card--ig:hover .cqm-overlay .cqm-cap {
	transform: none;
}

.cqm-cap {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.65;
	white-space: pre-line;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.cqm-body .cqm-cap {
	color: var(--cqm-ink);
}

@media (hover: none) {
	.cqm--cap-hover .cqm-overlay {
		display: none;
	}
}

/* ---------- 진행 선 ---------- */

.cqm-progress {
	position: relative;
	height: 1px;
	margin-top: var(--cqm-progress-space);
	background: var(--cqm-progress-track);
	overflow: hidden;
}

.cqm-progress span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--cqm-thumb, 30%);
	background: var(--cqm-progress);
	transform: translateX(var(--cqm-thumb-x, 0));
	transition: width 0.3s var(--cqm-ease);
}

.cqm.is-static .cqm-progress {
	visibility: hidden;
}

/* ---------- 편집 화면 안내 ---------- */

.cqm-editor-note {
	margin: 14px 0 0;
	padding: 10px 14px;
	font-size: 12px;
	line-height: 1.6;
	color: #6d5a2e;
	background: #fbf6e9;
	border: 1px dashed #e0cf9f;
}

/* ---------- 라이트박스 ---------- */

.cqm-lb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 4vw;
	background: rgba(20, 19, 17, 0.92);
	opacity: 0;
	transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cqm-lb.is-open {
	opacity: 1;
}

.cqm-lb__box {
	position: relative;
	width: min(1200px, 100%, calc((100vh - 128px) * 16 / 9));
	max-height: 100%;
}

.cqm-lb--video .cqm-lb__box {
	aspect-ratio: 16 / 9;
	background: #000;
}

.cqm-lb--video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cqm-lb--image .cqm-lb__box {
	width: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.cqm-lb--image img {
	display: block;
	max-width: min(92vw, 1080px);
	max-height: calc(100vh - 200px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.cqm-lb__cap {
	max-width: min(92vw, 640px);
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
	white-space: pre-line;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.cqm-lb__link {
	font-size: 13px;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	padding-bottom: 3px;
}

.cqm-lb__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	min-height: 0;
	box-shadow: none;
}

.cqm-lb__close:hover {
	border-color: #fff;
	background: transparent;
}

html.cqm-lb-lock,
html.cqm-lb-lock body {
	overflow: hidden;
}

/* ---------- 반응형 ---------- */

@media (max-width: 767px) {
	.cqm {
		--cqm-head-space: 24px;
		--cqm-play: 48px;
		--cqm-progress-space: 20px;
	}

	.cqm--head-split .cqm-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.cqm--arrows-desk .cqm-arrows {
		display: none;
	}

	.cqm-title {
		font-size: 16px;
	}

	.cqm-lb {
		padding: 64px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cqm *,
	.cqm-lb {
		transition: none !important;
		animation: none !important;
	}
}

.cqm .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.cqm-ig .cqm-soon__title {
	max-width: 100%;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.cqm-ig .cqm-soon__title {
		font-size: 12px;
	}
}

/* 준비 중 — 예고 이미지 */
.cqm-soon--image .cqm-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(20, 18, 15, 0.9), rgba(20, 18, 15, 0.15) 70%);
	opacity: 0.35;
	pointer-events: none;
}

.cqm-soon--image.cqm-soon--notext .cqm-media::before {
	display: none;
}

.cqm-soon--image .cqm-soon__in {
	z-index: 2;
	color: #fff;
}

.cqm-soon--image .cqm-soon__label,
.cqm-soon--image .cqm-soon__text {
	color: rgba(255, 255, 255, 0.82);
}

.cqm-soon--image .cqm-soon__dot {
	background: #fff;
}

.cqm a.cqm-soon--image:hover .cqm-media img {
	transform: scale(var(--cqm-zoom));
}

/* ---------- 라이브 (1.0.8) ---------- */

.cqm-live {
	--cqm-live-bg: #1f1e1b;
	--cqm-live-badge-bg: rgba(255, 255, 255, 0.92);
	--cqm-live-badge-color: #1f1e1b;
	--cqm-live-dot: #c8553d;
	--cqm-live-shade: 0.45;
	--cqm-live-ratio: 16/9;
}

.cqm-live__stage {
	position: relative;
	width: 100%;
	margin: 0 auto;
	aspect-ratio: var(--cqm-live-ratio);
	background: var(--cqm-live-bg);
	border-radius: var(--cqm-radius);
	overflow: hidden;
}

.cqm-live__on,
.cqm-live__off {
	position: absolute;
	inset: 0;
}

.cqm-live.is-off .cqm-live__on,
.cqm-live.is-live .cqm-live__off {
	display: none;
}

.cqm-live--off-hide.is-off:not(.is-editor) {
	display: none;
}

.cqm-live__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.cqm-live__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px 5px 9px;
	background: var(--cqm-live-badge-bg);
	color: var(--cqm-live-badge-color);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1;
	pointer-events: none;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.cqm-live__badge i,
.cqm-live__off-eyebrow i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cqm-live-dot);
	flex: none;
}

.cqm-live__badge i {
	animation: cqm-live-pulse 2.4s var(--cqm-ease) infinite;
}

@keyframes cqm-live-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

.cqm-live__off {
	display: flex;
	align-items: flex-end;
	color: #fff;
	background: var(--cqm-live-bg);
}

.cqm-live__off-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.25);
}

.cqm-live__off.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31, 30, 27, calc(var(--cqm-live-shade) * 0.55)) 0%, rgba(31, 30, 27, var(--cqm-live-shade)) 100%);
}

.cqm-live__off-body {
	position: relative;
	z-index: 1;
	padding: clamp(20px, 5cqi, 56px);
	max-width: 640px;
}

.cqm-live .cqm-live__off-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.85;
}

.cqm-live__off-eyebrow i {
	background: currentColor;
	opacity: 0.6;
}

.cqm-live .cqm-live__off-title {
	margin: 0 0 10px;
	font-size: clamp(18px, 2.6cqi, 28px);
	line-height: 1.4;
	font-weight: 500;
	color: inherit;
}

.cqm-live .cqm-live__off-text {
	margin: 0;
	font-size: clamp(13px, 1.5cqi, 15px);
	line-height: 1.7;
	opacity: 0.85;
	color: inherit;
}

.cqm-live .cqm-live__off-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 22px;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	color: inherit;
	font-size: 13px;
	text-decoration: none;
	transition: opacity 0.3s var(--cqm-ease);
}

.cqm-live .cqm-live__off-link:hover {
	opacity: 0.7;
}

.cqm-live__off--note {
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--cqm-paper);
	color: var(--cqm-muted);
}

.cqm-live .cqm-live__meta {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--cqm-muted);
	min-height: 1.6em;
}

.cqm-live.is-off .cqm-live__meta:empty {
	display: none;
}

.cqm-live__note {
	margin: 12px 0 0;
	font-size: 12px;
	color: #b4513b;
}

@media (max-width: 767px) {
	.cqm-live__badge {
		top: 10px;
		left: 10px;
	}
	.cqm-live .cqm-live__off-text {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cqm-live__badge i {
		animation: none;
	}
}
