/* =========================================================
   CRITTENDEN MEDICAL - WEBINAR PRODUCT TEMPLATE
   Complete replacement stylesheet
   ========================================================= */

.cml-webinar-page {
	--cml-purple: #676ab1;
	--cml-blue: #41506f;
	--cml-navy: #293542;
	--cml-teal: #66e6d6;
	--cml-teal-dark: #3daec4;
	--cml-light: #f6f7fa;
	--cml-purple-light: #f1f1fa;
	--cml-border: #e1e3ea;
	--cml-text: #1a1a1a;

	background: #fff;
	color: var(--cml-text);
	font-family: "proxima-nova", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	padding: 0 0 80px;
}

.cml-webinar-page *,
.cml-webinar-page *::before,
.cml-webinar-page *::after {
	box-sizing: border-box;
}

.cml-webinar-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.cml-webinar-page h1,
.cml-webinar-page h2,
.cml-webinar-page h3,
.cml-webinar-badge,
.cml-webinar-eyebrow,
.cml-webinar-option-type,
.cml-webinar-btn,
.cml-webinar-header-meta {
	font-family: "Roboto", sans-serif;
}

.cml-webinar-product-content,
.cml-webinar-option-copy p,
.cml-webinar-speaker p,
.cml-webinar-cle p,
.cml-webinar-live-copy p,
.cml-webinar-registered-notice {
	font-family: "proxima-nova", sans-serif;
}


/* =========================================================
   BACK LINK + HEADER
   ========================================================= */

.cml-webinar-back {
	padding: 25px 0;
	border-bottom: 1px solid var(--cml-border);
}

.cml-webinar-back a {
	color: var(--cml-purple);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.cml-webinar-back a:hover {
	color: var(--cml-blue);
}

.cml-webinar-header {
	padding: 42px 0 30px;
}

.cml-webinar-badge,
.cml-webinar-eyebrow,
.cml-webinar-option-type {
	display: inline-block;
	color: var(--cml-purple);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.cml-webinar-badge {
	margin-bottom: 13px;
	padding: 6px 10px;
	border-radius: 4px;
	background: var(--cml-purple);
	color: #fff;
}

.cml-webinar-header h1 {
	max-width: 950px;
	margin: 0;
	color: var(--cml-navy);
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.04;
}

.cml-webinar-header-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 17px;
	color: var(--cml-navy);
	font-size: 14px;
	font-weight: 600;
}

.cml-webinar-header-meta-item {
	position: relative;
	padding-left: 21px;
}

.cml-webinar-header-meta-item::before {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	color: var(--cml-purple);
	font-size: 13px;
}

.cml-webinar-header-date::before {
	content: "●";
}

.cml-webinar-header-time::before {
	content: "○";
}


/* =========================================================
   ARCHIVED VIDEO
   ========================================================= */

.cml-webinar-media-section {
	width: 100%;
	margin-bottom: 22px;
}

.cml-webinar-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	box-shadow: 0 10px 35px rgba(41, 53, 66, .12);
}

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

.cml-webinar-access-placeholder {
	padding: 60px 35px;
	border: 1px solid var(--cml-border);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--cml-blue), #344461);
	color: #fff;
	text-align: center;
}

.cml-webinar-access-placeholder h2 {
	margin: 0 0 8px;
	color: #fff;
}


/* =========================================================
   UPCOMING / LIVE ACCESS
   ========================================================= */

.cml-webinar-live-access {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	gap: 25px;
	align-items: center;
	margin-bottom: 22px;
	padding: 32px;
	border: 1px solid rgba(103, 106, 177, .25);
	border-radius: 12px;
	background: linear-gradient(135deg, #f8f8fc, #f0f1f8);
}

.cml-webinar-live-icon {
	display: flex;
	width: 68px;
	height: 68px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--cml-purple);
	color: #fff;
}

.cml-webinar-live-copy h2 {
	margin: 4px 0 8px;
	color: var(--cml-navy);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
}

.cml-webinar-live-copy p {
	margin: 0 0 10px;
}

.cml-webinar-live-copy p:last-child {
	margin-bottom: 0;
}

.cml-webinar-live-action {
	min-width: 210px;
	text-align: right;
}


/* =========================================================
   REGISTERED NOTICE
   ========================================================= */

.cml-webinar-registered-notice {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 20px 0 45px;
	padding: 18px 22px;
	border: 1px solid rgba(103, 106, 177, .22);
	border-radius: 8px;
	background: var(--cml-purple-light);
	color: var(--cml-navy);
}

.cml-webinar-check {
	display: flex;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--cml-purple);
	border-radius: 50%;
	color: var(--cml-purple);
	font-weight: 800;
}

.cml-webinar-registered-notice strong,
.cml-webinar-registered-notice span {
	display: block;
}

.cml-webinar-registered-notice > div > span {
	margin-top: 2px;
	color: #5d6470;
	font-size: 14px;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.cml-webinar-content-section,
.cml-webinar-speakers-section,
.cml-webinar-cle {
	margin-top: 48px;
}

.cml-webinar-content-section-first {
	margin-top: 0;
}

.cml-webinar-section-heading {
	margin-bottom: 20px;
}

.cml-webinar-section-heading > span {
	display: block;
	margin-bottom: 4px;
	color: var(--cml-purple);
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.cml-webinar-section-heading h2 {
	margin: 0;
	color: var(--cml-navy);
	font-size: clamp(27px, 3vw, 35px);
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.cml-webinar-product-content {
	max-width: none;
	color: #30343b;
	font-size: 16px;
	line-height: 1.75;
}

.cml-webinar-product-content > *:first-child {
	margin-top: 0;
}

.cml-webinar-product-content > *:last-child {
	margin-bottom: 0;
}

.cml-webinar-product-content a {
	color: var(--cml-purple);
}


/* =========================================================
   VISITOR LAYOUT
   ========================================================= */

.cml-webinar-visitor-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 52px;
	align-items: start;
}


/* =========================================================
   REGISTRATION / PRICING
   Mirrors the stronger visual hierarchy used on landing page
   ========================================================= */

.cml-webinar-registration {
	padding: 30px;
	border: 1px solid var(--cml-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(41, 53, 66, .08);
}

.cml-webinar-registration > h2 {
	margin: 5px 0 24px;
	color: var(--cml-navy);
	font-size: 27px;
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.cml-webinar-registration-options {
	display: grid;
	gap: 16px;
}

.cml-webinar-registration-option {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 18px;
	min-height: 160px;
	padding: 23px;
	border: 1px solid var(--cml-border);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(41, 53, 66, .04);
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		border-color .2s ease;
}

.cml-webinar-registration-option:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(41, 53, 66, .08);
}

.cml-webinar-registration-option.is-free {
	border-color: rgba(103, 106, 177, .38);
}

.cml-webinar-registration-option.is-cle {
	border-color: rgba(61, 174, 196, .55);
}

.cml-webinar-registration-option.is-year-pass {
	border-color: rgba(103, 106, 177, .38);
}

.cml-webinar-option-icon {
	display: flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--cml-purple);
	border-radius: 50%;
	color: var(--cml-purple);
	font-size: 17px;
}

.cml-webinar-registration-option.is-cle .cml-webinar-option-icon {
	border-color: var(--cml-teal-dark);
	color: var(--cml-teal-dark);
}

.cml-webinar-option-type {
	margin-bottom: 3px;
	font-size: 12px;
}

.cml-webinar-option-copy h3 {
	margin: 2px 0 5px;
	color: var(--cml-navy);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.25;
}

.cml-webinar-option-copy p {
	margin: 0;
	color: #626975;
	font-size: 13px;
	line-height: 1.45;
}

.cml-webinar-option-bottom,
.cml-webinar-year-pass-bottom {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
}

.cml-webinar-option-price,
.cml-webinar-year-pass-price {
	color: var(--cml-navy);
	font-family: "Roboto", sans-serif;
	font-size: 27px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1;
}

.cml-webinar-option-price .amount,
.cml-webinar-year-pass-price .amount {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}


/* =========================================================
   YEAR PASS UPSELL
   ========================================================= */

.cml-webinar-year-pass {
	margin-top: 20px;
	padding: 25px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--cml-blue), var(--cml-purple));
	color: #fff;
}

.cml-webinar-year-pass .cml-webinar-option-type {
	color: #fff;
	opacity: .82;
}

.cml-webinar-year-pass h3 {
	margin: 5px 0 7px;
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -.015em;
	line-height: 1.25;
}

.cml-webinar-year-pass p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	opacity: .92;
}

.cml-webinar-year-pass-price {
	color: #fff;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.cml-webinar-btn {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 12px 21px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		box-shadow .2s ease;
}

.cml-webinar-btn-primary {
	background: var(--cml-purple);
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(103, 106, 177, .18);
}

.cml-webinar-btn-primary:hover {
	background: var(--cml-blue);
	color: #fff !important;
}

.cml-webinar-btn-teal {
	background: var(--cml-teal-dark);
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(61, 174, 196, .18);
}

.cml-webinar-btn-teal:hover {
	background: var(--cml-blue);
	color: #fff !important;
}

.cml-webinar-btn-outline {
	border-color: var(--cml-purple);
	background: #fff;
	color: var(--cml-purple) !important;
}

.cml-webinar-btn-outline:hover {
	background: var(--cml-purple);
	color: #fff !important;
}

.cml-webinar-year-pass .cml-webinar-btn-primary {
	background: #fff;
	color: var(--cml-purple) !important;
	box-shadow: none;
}

.cml-webinar-year-pass .cml-webinar-btn-primary:hover {
	background: var(--cml-light);
	color: var(--cml-blue) !important;
}


/* =========================================================
   SPEAKERS
   ========================================================= */

.cml-webinar-speakers-section {
	padding-top: 45px;
	border-top: 1px solid var(--cml-border);
}

.cml-webinar-speaker-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.cml-webinar-speaker {
	text-align: center;
}

.cml-webinar-speaker-photo {
	width: 145px;
	height: 145px;
	margin: 0 auto 15px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--cml-light);
}

.cml-webinar-speaker-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cml-webinar-speaker-placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	background: #e4e5e9;
}

.cml-webinar-speaker-placeholder::before {
	content: "";
	position: absolute;
	top: 29px;
	left: 50%;
	width: 48px;
	height: 48px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: #c5c7cc;
}

.cml-webinar-speaker-placeholder::after {
	content: "";
	position: absolute;
	right: 25px;
	bottom: 18px;
	left: 25px;
	height: 58px;
	border-radius: 48px 48px 18px 18px;
	background: #c5c7cc;
}

.cml-webinar-speaker h3 {
	margin: 0 0 5px;
	color: var(--cml-navy);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.25;
}

.cml-webinar-speaker p {
	margin: 2px 0;
	font-size: 13px;
	line-height: 1.4;
}

.cml-webinar-speaker-title {
	color: #454c57;
}

.cml-webinar-speaker-company {
	color: #6a707b;
}


/* =========================================================
   CLE
   ========================================================= */

.cml-webinar-cle {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 35px;
	align-items: center;
	padding: 30px;
	border: 1px solid var(--cml-border);
	border-radius: 10px;
	background: var(--cml-light);
}

.cml-webinar-cle h2 {
	margin: 4px 0 8px;
	color: var(--cml-navy);
	font-size: 25px;
	font-weight: 500;
	letter-spacing: -.015em;
}

.cml-webinar-cle p {
	margin: 0;
	max-width: 800px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

	.cml-webinar-live-access {
		grid-template-columns: 68px 1fr;
	}

	.cml-webinar-live-action {
		grid-column: 2;
		text-align: left;
	}

	.cml-webinar-visitor-layout {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.cml-webinar-registration {
		max-width: 720px;
	}

	.cml-webinar-speaker-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.cml-webinar-page {
		padding-bottom: 55px;
	}

	.cml-webinar-container {
		width: min(100% - 30px, 1180px);
	}

	.cml-webinar-back {
		padding: 20px 0;
	}

	.cml-webinar-header {
		padding: 30px 0 25px;
	}

	.cml-webinar-header h1 {
		font-size: 35px;
		letter-spacing: -.03em;
		line-height: 1.05;
	}

	.cml-webinar-header-meta {
		gap: 13px 18px;
		margin-top: 14px;
		font-size: 13px;
	}

	.cml-webinar-live-access {
		grid-template-columns: 1fr;
		padding: 24px 20px;
	}

	.cml-webinar-live-action {
		grid-column: auto;
	}

	.cml-webinar-live-action .cml-webinar-btn {
		width: 100%;
	}

	.cml-webinar-registered-notice {
		align-items: flex-start;
		margin-bottom: 35px;
	}

	.cml-webinar-content-section,
	.cml-webinar-speakers-section,
	.cml-webinar-cle {
		margin-top: 38px;
	}

	.cml-webinar-content-section-first {
		margin-top: 0;
	}

	.cml-webinar-section-heading h2 {
		font-size: 26px;
	}

	.cml-webinar-product-content {
		font-size: 15px;
		line-height: 1.7;
	}

	.cml-webinar-registration {
		padding: 22px 18px;
	}

	.cml-webinar-registration > h2 {
		font-size: 25px;
	}

	.cml-webinar-registration-option {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 14px;
		min-height: 0;
		padding: 18px;
	}

	.cml-webinar-option-icon {
		width: 50px;
		height: 50px;
	}

	.cml-webinar-option-copy h3 {
		font-size: 18px;
	}

	.cml-webinar-option-price,
	.cml-webinar-year-pass-price {
		font-size: 26px;
	}

	.cml-webinar-option-bottom,
	.cml-webinar-year-pass-bottom {
		align-items: stretch;
		flex-direction: column;
		margin-top: 13px;
	}

	.cml-webinar-option-bottom .cml-webinar-btn,
	.cml-webinar-year-pass-bottom .cml-webinar-btn {
		width: 100%;
		min-height: 48px;
		font-size: 14px;
	}

	.cml-webinar-year-pass {
		padding: 22px;
	}

	/*
	 * Compact 3-column speaker row on mobile.
	 * Keeps the page much shorter while preserving all speakers.
	 */
	.cml-webinar-speakers-section {
		padding-top: 35px;
	}

	.cml-webinar-speaker-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.cml-webinar-speaker-photo {
		width: 76px;
		height: 76px;
		margin-bottom: 9px;
	}

	.cml-webinar-speaker h3 {
		font-size: 11px;
		overflow-wrap: anywhere;
	}

	.cml-webinar-speaker p {
		font-size: 9px;
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	.cml-webinar-speaker-placeholder::before {
		top: 14px;
		width: 25px;
		height: 25px;
	}

	.cml-webinar-speaker-placeholder::after {
		right: 12px;
		bottom: 8px;
		left: 12px;
		height: 31px;
	}

	.cml-webinar-cle {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px 20px;
	}

	.cml-webinar-cle-action .cml-webinar-btn {
		width: 100%;
	}

	.cml-webinar-cle h2 {
		font-size: 24px;
	}
}


@media (max-width: 390px) {

	.cml-webinar-speaker-photo {
		width: 68px;
		height: 68px;
	}

	.cml-webinar-speaker h3 {
		font-size: 10px;
	}

	.cml-webinar-speaker p {
		font-size: 8px;
	}
}
