/**
 * Certify — 課程單頁 /courses/{slug}
 *
 * @package Certify
 */

:root {
	--cs-primary: #1a4d8c;
	--cs-primary-mid: #2d6eb5;
	--cs-primary-light: #4a9fd4;
	--cs-accent: #f0a020;
	--cs-accent-dark: #d98910;
	--cs-centre: #2e9b5e;
	--cs-hot: #d93025;
	--cs-whatsapp: #25d366;
	--cs-text: #1e293b;
	--cs-muted: #64748b;
	--cs-border: #e2e8f0;
	--cs-bg-soft: #f8fafc;
	--cs-cert-bg: #fffbeb;
	--cs-radius: 12px;
	--cs-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

div#main > .container-fluid {
	padding: 0;
}

.certify-courses-page--single {
	color: var(--cs-text);
}

/* ── Hero（圖片背景版）──────────────────────────────────────── */
.certify-course-single__hero {
	position: relative;
	background-color: var(--cs-primary);
	background-size: cover;
	background-position: center;
	color: #fff;
	margin-bottom: 0;
}

.certify-course-single__hero-overlay {
	padding: 52px 0 52px;
	background: linear-gradient(180deg, rgba(10, 20, 40, 0.4) 0%, rgba(10, 20, 40, 0.72) 100%);
}

.certify-course-single__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.certify-course-single__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.certify-course-single__badge-star {
	font-size: 14px;
	line-height: 1;
}

.certify-course-single__badge--centre {
	background: rgba(74, 94, 26, 0.82);
	color: #fff;
}

.certify-course-single__badge--hot {
	background: rgba(217, 48, 37, 0.82);
	color: #fff;
}

.certify-course-single__badge--cat {
	background: rgba(255, 255, 255, 0.88);
	color: #1e293b;
}

.certify-course-single__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.certify-course-single__subtitle {
	margin: 0;
	font-size: 15px;
	opacity: 0.9;
	line-height: 1.5;
	color: #fff;
}

/* ── Back-link bar ────────────────────────────────────────────── */
.certify-course-single__back-bar {
	padding: 12px 0;
	background: #fff;
	border-bottom: 1px solid var(--cs-border);
}

.certify-course-single__back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--cs-primary);
	text-decoration: none;
}

.certify-course-single__back-link:hover {
	text-decoration: underline;
	color: var(--cs-primary);
}

/* ── 課程資訊卡（側欄）──────────────────────────────────────── */
.certify-course-single__info-card {
	background: #fff;
	border-radius: var(--cs-radius);
	box-shadow: var(--cs-shadow);
	padding: 20px 20px 22px;
	margin-bottom: 14px;
	color: var(--cs-text);
}

.certify-course-single__info-title {
	margin: 0 0 16px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--cs-primary);
}

.certify-course-single__info-rows {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.certify-course-single__info-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.certify-course-single__info-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	background: var(--cs-muted);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.certify-course-single__info-row--date .certify-course-single__info-icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.certify-course-single__info-row--location .certify-course-single__info-icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E");
}

.certify-course-single__info-row--time .certify-course-single__info-icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.certify-course-single__info-row--mode .certify-course-single__info-icon {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
}

.certify-course-single__info-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.certify-course-single__info-label {
	font-size: 12px;
	color: var(--cs-muted);
	line-height: 1.3;
}

.certify-course-single__info-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--cs-text);
	line-height: 1.4;
}

/* ── 報名情況 (quota bar 側欄版) ──────────────────────────────── */
.certify-course-single__quota {
	margin-bottom: 16px;
}

.certify-course-single__quota-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--cs-muted);
	font-weight: 500;
	margin-bottom: 7px;
}

.certify-course-single__quota-remaining {
	font-weight: 700;
	color: #7a9a2a;
}

.certify-course-single__quota-bar {
	height: 6px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
	margin-bottom: 6px;
}

.certify-course-single__quota-fill {
	height: 100%;
	border-radius: 999px;
	background: #8a9e2e;
	transition: width 0.3s ease;
	min-width: 4px;
}

.certify-course-single__quota-detail {
	margin: 0;
	font-size: 12px;
	color: var(--cs-muted);
}

.certify-course-single__info-divider {
	border: none;
	border-top: 1px solid var(--cs-border);
	margin: 16px 0;
}

/* ── 課程費用 ──────────────────────────────────────────────────── */
.certify-course-single__price-label {
	margin: 0 0 4px;
	font-size: 12px;
	color: var(--cs-muted);
}

.certify-course-single__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin-bottom: 16px;
}

.certify-course-single__price-regular {
	font-size: 14px;
	color: var(--cs-muted);
	text-decoration: line-through;
}

.certify-course-single__price-amount {
	font-size: 2rem;
	font-weight: 800;
	color: var(--cs-text);
	line-height: 1.2;
}

.certify-course-single__cta-discount {
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: var(--cs-hot);
	padding: 3px 8px;
	border-radius: 6px;
}

/* ── CTA 按鈕 ─────────────────────────────────────────────────── */
.certify-course-single__btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.certify-course-single__btn + .certify-course-single__btn {
	margin-top: 10px;
}

.certify-course-single__btn--enroll {
	background: #8a9e2e;
	color: #fff !important;
}

.certify-course-single__btn--enroll:hover {
	background: #768a26;
	color: #fff !important;
}

.certify-course-single__btn--primary {
	background: #8a9e2e;
	color: #fff !important;
}

.certify-course-single__btn--primary:hover {
	background: #768a26;
	color: #fff !important;
}

.certify-course-single__btn--outline {
	background: #fff;
	color: var(--cs-primary);
	border: 2px solid var(--cs-primary-mid);
}

.certify-course-single__btn--outline:hover {
	background: var(--cs-bg-soft);
	color: var(--cs-primary);
}

.certify-course-single__cta-note {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--cs-muted);
	text-align: center;
}

/* ── sidebar back link ────────────────────────────────────────── */
.certify-course-single__sidebar-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--cs-primary);
	text-decoration: none;
}

.certify-course-single__sidebar-back:hover {
	text-decoration: underline;
	color: var(--cs-primary);
}

/* ── 文件下載 ─────────────────────────────────────────────────── */
.certify-course-single__section-icon--files {
	background: #64748b;
}

.certify-course-single__file-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.certify-course-single__file-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--cs-border);
}

.certify-course-single__file-item:last-child {
	border-bottom: none;
}

.certify-course-single__file-icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background-color: #2d6eb5;
	background-image: none;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center / 20px no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.certify-course-single__file-info {
	flex: 1;
	min-width: 0;
}

.certify-course-single__file-name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--cs-text);
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.certify-course-single__file-ext {
	display: inline-block;
	font-size: 12px;
	color: var(--cs-muted);
	font-weight: 500;
}

.certify-course-single__file-btn {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 8px;
	background: #ccd226;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.certify-course-single__file-btn:hover {
	background: #768a26;
}

.certify-course-single__file-btn-icon {
	flex-shrink: 0;
	width: 13px;
	height: 13px;
	background: #fff;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.certify-course-single__section-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0;
	padding: 10px 14px;
	background: var(--cs-bg-soft);
	border-radius: 8px;
	font-size: 12px;
	color: var(--cs-muted);
	line-height: 1.55;
}

/* ── 主體版面 ─────────────────────────────────────────────────── */
.certify-course-single__body {
	padding: 36px 0 56px;
	background: var(--cs-bg-soft);
}

.certify-course-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
	gap: 32px 36px;
	align-items: start;
}

.certify-course-single__main {
	display: grid;
}

.certify-course-single__section {
	background: #fff;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	padding: 24px 26px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.certify-course-single__section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--cs-primary);
}

.certify-course-single__section-title--sm {
	font-size: 1rem;
}

.certify-course-single__section-icon {
    display: flex;
    justify-content: center;
    align-items: center;
	text-align: center;
    color: #FFF;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cs-primary-mid);
	flex-shrink: 0;
}

.certify-course-single__section-icon i {
	font-size: 12px;
}

.certify-course-single__section-icon--intro {
	background: #fbbf24;
}

.certify-course-single__section-icon--purpose {
	background: #3b82f6;
}

.certify-course-single__section-icon--features {
	background: #22c55e;
}

.certify-course-single__section-icon--targets {
	background: #f97316;
}

.certify-course-single__section-icon--video {
	background: #8b5cf6;
}

.certify-course-single__section-icon--syllabus {
	background: var(--cs-primary);
}

.certify-course-single__richtext {
	font-size: 15px;
	line-height: 1.7;
	color: var(--cs-text);
}

.certify-course-single__richtext + .certify-course-single__richtext {
	margin-top: 16px;
}

.certify-course-single__intro-logos {
	margin-bottom: 16px;
}

.certify-course-single__intro-logo {
	max-height: 48px;
	width: auto;
}

.certify-course-single__meta-list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.8;
}

.certify-course-single__meta-list li {
	padding: 4px 0;
	border-bottom: 1px dashed var(--cs-border);
}

.certify-course-single__meta-list li:last-child {
	border-bottom: none;
}

/* ── 圖集 ─────────────────────────────────────────────────────── */
.certify-course-single__section--gallery {
	min-width: 0;
	padding: 0px;
	background: transparent;
	border: none;
	box-shadow: none;
}

/* Porto owl-carousel：勿覆寫 display，由主題 JS 初始化 */
.certify-course-single__gallery.owl-carousel {
	margin-bottom: 0;
}

.certify-course-single__gallery-slide {
	border-radius: var(--cs-radius);
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.certify-course-single__gallery-link {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: zoom-in;
}

.certify-course-single__gallery-link:hover .certify-course-single__gallery-image {
	transform: scale(1.03);
}

.certify-course-single__gallery-image {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	vertical-align: middle;
	transition: transform 0.25s ease;
}

/* ── 課程重點 grid ────────────────────────────────────────────── */
.certify-course-single__purpose-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 20px;
}

.certify-course-single__purpose-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.certify-course-single__purpose-num {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--cs-primary-mid), var(--cs-primary-light));
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.certify-course-single__purpose-title {
	margin: 0;
	font-weight: 600;
	font-size: 14px;
}

.certify-course-single__purpose-desc {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--cs-muted);
}

/* ── 列表 ───────────────────────────────────────────────────────── */
.certify-course-single__check-list,
.certify-course-single__numbered-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.certify-course-single__check-list li,
.certify-course-single__numbered-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	font-size: 14px;
	line-height: 1.55;
	border-bottom: 1px solid var(--cs-border);
}

.certify-course-single__check-list li:last-child,
.certify-course-single__numbered-list li:last-child {
	border-bottom: none;
}

.certify-course-single__check-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 50%;
	background: #22c55e;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.certify-course-single__check-icon--assess {
	background: var(--cs-primary-mid);
}

.certify-course-single__numbered-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, #fb923c, #f97316);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.certify-course-single__item-desc {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--cs-muted);
}

/* ── 影片縮圖 ─────────────────────────────────────────────────── */
.certify-course-single__videos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 16px;
}

.certify-course-single__video-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.certify-course-single__video-preview-caption {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--cs-text);
	text-align: center;
}

.certify-course-single__video-trigger {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	border-radius: var(--cs-radius);
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	background: #0f172a;
}

.certify-course-single__video-trigger img,
.certify-course-single__video-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.certify-course-single__video-placeholder {
	background: linear-gradient(135deg, #334155, #1e293b);
}

.certify-course-single__video-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.certify-course-single__video-play::after {
	content: "";
	position: absolute;
	left: 54%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--cs-primary);
}

/* ── 大綱手風琴 ───────────────────────────────────────────────── */
.certify-course-single__accordion-item {
	border: 1px solid var(--cs-border);
	border-radius: 8px;
	margin-bottom: 10px;
	overflow: hidden;
}

.certify-course-single__accordion-item.is-open {
	border-color: var(--cs-primary-mid);
}

.certify-course-single__accordion-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: none;
	background: #fff;
	text-align: left;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: var(--cs-text);
}

.certify-course-single__accordion-num {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cs-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.certify-course-single__accordion-title {
	flex: 1;
}

.certify-course-single__accordion-icon {
	width: 20px;
	height: 20px;
	position: relative;
	flex-shrink: 0;
}

.certify-course-single__accordion-icon::before,
.certify-course-single__accordion-icon::after {
	content: "";
	position: absolute;
	background: var(--cs-muted);
	transition: transform 0.2s;
}

.certify-course-single__accordion-icon::before {
	width: 14px;
	height: 2px;
	top: 9px;
	left: 3px;
}

.certify-course-single__accordion-icon::after {
	width: 2px;
	height: 14px;
	top: 3px;
	left: 9px;
}

.certify-course-single__accordion-item.is-open .certify-course-single__accordion-icon::after {
	transform: scaleY(0);
}

.certify-course-single__accordion-panel {
	display: none;
	padding: 0 16px 16px 60px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--cs-muted);
}

.certify-course-single__accordion-item.is-open .certify-course-single__accordion-panel {
	display: block;
}

/* ── 雙欄底部 ─────────────────────────────────────────────────── */
.certify-course-single__dual {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

.certify-course-single__dual .certify-course-single__section {
	margin-bottom: 0;
}

/* ── 側欄 ─────────────────────────────────────────────────────── */
.certify-course-single__poster {
	border-radius: var(--cs-radius);
	overflow: hidden;
	box-shadow: var(--cs-shadow);
	margin-bottom: 20px;
}

.certify-course-single__poster img {
	width: 100%;
	height: auto;
	display: block;
}

.certify-course-single__cert-box {
	background: var(--cs-cert-bg);
	border: 1px solid #fde68a;
	border-radius: var(--cs-radius);
	padding: 18px 20px;
	margin-bottom: 20px;
}

.certify-course-single__cert-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #92400e;
}

.certify-course-single__cert-list {
	margin: 0;
	padding-left: 1.2em;
	font-size: 14px;
	line-height: 1.65;
	color: var(--cs-text);
}

.certify-course-single__inst-block {
	margin-bottom: 20px;
    background: #fff;
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 22px 20px;
    color: var(--cs-text);
}

.certify-course-single__inst-title {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cs-primary);
	line-height: 1.3;
}

.certify-course-single__inst-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.certify-course-single__inst-media {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 9px;
	background: var(--cs-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.certify-course-single__inst-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	background: #fff;
}

.certify-course-single__inst-icon {
	width: 24px;
	height: 24px;
	background: #fff;
	opacity: 0.95;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M12 3L1 9l11 6 9-4.91V17h4v2H0v-2h4V9L12 3z'/%3E%3Cpath d='M5 13v4c0 2.5 3.1 4 7 4s7-1.5 7-4v-4'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M12 3L1 9l11 6 9-4.91V17h4v2H0v-2h4V9L12 3z'/%3E%3Cpath d='M5 13v4c0 2.5 3.1 4 7 4s7-1.5 7-4v-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.certify-course-single__inst-body {
	flex: 1;
	min-width: 0;
}

.certify-course-single__inst-name {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--cs-muted);
}

.certify-course-single__inst-intro {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--cs-text);
}

.certify-course-single__inst-desc {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--cs-muted);
}

.certify-course-single__aside-sticky {
	position: sticky;
	top: 24px;
}

.certify-course-single__aside-sticky .certify-course-single__cta {
	margin-bottom: 14px;
}

.certify-course-single__whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 18px;
	background: var(--cs-whatsapp);
	color: #fff !important;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	font-size: 15px;
	transition: filter 0.15s;
}

.certify-course-single__whatsapp:hover {
	filter: brightness(1.05);
	color: #fff;
}

.certify-course-single__whatsapp-icon {
	width: 22px;
	height: 22px;
	background: #fff;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.certify-course-single__related {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--cs-border);
}

.certify-course-single__related-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
}

.certify-course-single__related-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.certify-course-single__related-list a {
	display: block;
	padding: 8px 0;
	font-size: 14px;
	color: var(--cs-primary);
	text-decoration: none;
	border-bottom: 1px dashed var(--cs-border);
}

.certify-course-single__related-list a:hover {
	text-decoration: underline;
}

.certify-course-single__related-hot {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	color: var(--cs-hot);
	font-weight: 600;
}

/* ── Modals ───────────────────────────────────────────────────── */
.certify-course-single__modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.certify-course-single__modal[hidden] {
	display: none !important;
}

.certify-course-single__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
}

.certify-course-single__modal-dialog {
	position: relative;
	z-index: 1;
	max-width: 96vw;
	max-height: 92vh;
}

.certify-course-single__modal-dialog--lightbox {
	display: flex;
	align-items: center;
	gap: 12px;
}

.certify-course-single__modal-dialog--video {
	width: min(900px, 96vw);
	background: #000;
	border-radius: var(--cs-radius);
	overflow: hidden;
}

.certify-course-single__modal-dialog--enroll {
	width: min(560px, 96vw);
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border-radius: var(--cs-radius);
	box-shadow: var(--cs-shadow);
}

.certify-course-single__modal-close--inset {
	top: 14px;
	right: 14px;
	background: var(--cs-bg-soft);
}

.certify-course-single__enroll-panel {
	padding: 28px 28px 32px;
}

.certify-course-single__enroll-title {
	margin: 0 0 8px;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--cs-primary);
}

.certify-course-single__enroll-course {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--cs-muted);
	line-height: 1.5;
}

.certify-course-single__enroll-form {
	margin: 0;
}

.certify-course-single__ref-banner {
	margin: 0 0 14px;
	padding: 10px 14px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #065f46;
	line-height: 1.45;
}

.certify-course-single__ref-banner--modal {
	margin-bottom: 16px;
}

.certify-course-single__qual-status {
	margin: 0 0 14px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.certify-course-single__qual-status--ok {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
}

.certify-course-single__qual-status--warn {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
}

.certify-course-single__enroll-blocked {
	margin: 0 0 14px;
	padding: 10px 14px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #9a3412;
	line-height: 1.45;
}

.certify-course-single__enroll-blocked--modal {
	margin-bottom: 0;
}

.certify-course-single__enroll-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
	padding: 12px 14px;
	background: var(--cs-bg-soft);
	border-radius: 8px;
}

.certify-course-single__enroll-price-label {
	font-size: 13px;
	color: var(--cs-muted);
}

.certify-course-single__enroll-price-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--cs-primary);
}

.certify-course-single__enroll-payments {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.certify-course-single__enroll-payments-legend {
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--cs-text);
}

.certify-course-single__payment-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.certify-course-single__payment-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--cs-border);
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.certify-course-single__payment-option:has(input:checked) {
	border-color: var(--cs-accent, #2563eb);
	background: #eff6ff;
}

.certify-course-single__payment-option input {
	margin-top: 3px;
	flex-shrink: 0;
}

.certify-course-single__payment-option-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.certify-course-single__payment-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--cs-text);
}

.certify-course-single__payment-intro {
	font-size: 13px;
	color: var(--cs-muted);
	line-height: 1.4;
}

.certify-course-single__enroll-empty {
	margin: 0;
	font-size: 14px;
	color: var(--cs-muted);
}

.certify-course-single__enroll-feedback,
.certify-course-single__enroll-success {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	white-space: pre-line;
}

.certify-course-single__enroll-feedback.is-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.certify-course-single__enroll-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.certify-course-single__enroll-actions {
	margin-top: 20px;
}

.certify-course-single__enroll-submit[data-loading] {
	opacity: 0.7;
	pointer-events: none;
}

.certify-course-single__modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	z-index: 2;
}

.certify-course-single__modal-close::before,
.certify-course-single__modal-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--cs-text);
}

.certify-course-single__modal-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.certify-course-single__modal-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.certify-course-single__lightbox-figure {
	margin: 0;
	max-width: min(1100px, 85vw);
	max-height: 85vh;
}

.certify-course-single__lightbox-figure img {
	max-width: 100%;
	max-height: 85vh;
	width: auto;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: var(--cs-shadow);
}

.certify-course-single__modal-nav {
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	flex-shrink: 0;
}

.certify-course-single__modal-nav--prev::after,
.certify-course-single__modal-nav--next::after {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: auto;
	border: solid var(--cs-text);
	border-width: 0 2px 2px 0;
}

.certify-course-single__modal-nav--prev::after {
	transform: rotate(135deg);
	margin-left: 18px;
}

.certify-course-single__modal-nav--next::after {
	transform: rotate(-45deg);
	margin-right: 18px;
}

.certify-course-single__video-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.certify-course-single__video-player iframe,
.certify-course-single__video-player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.certify-course-single__video-caption {
	margin: 0;
	padding: 12px 16px;
	font-size: 14px;
	color: #e2e8f0;
	background: #0f172a;
}

body.certify-modal-open {
	overflow: hidden;
}

/* ── RWD ──────────────────────────────────────────────────────── */
@media (max-width: 991px) {
	.certify-course-single__layout {
		grid-template-columns: 1fr;
	}

	.certify-course-single__purpose-grid,
	.certify-course-single__dual,
	.certify-course-single__videos {
		grid-template-columns: 1fr;
	}

	.certify-course-single__video-preview-caption {
		text-align: left;
	}

	.certify-course-single__aside-sticky {
		position: static;
	}
}

@media (max-width: 575px) {
	.certify-course-single__hero-overlay {
		padding: 36px 0 40px;
	}

	.certify-course-single__title {
		font-size: 1.45rem;
	}

	.certify-course-single__file-item {
		flex-wrap: wrap;
	}

	.certify-course-single__file-btn {
		align-self: flex-start;
	}
}

/* ── 會員導師課程單頁（is_centre = 0）──────────────────────────── */
.certify-courses-page--single-member {
	--csm-accent: #f0a020;
	--csm-featured: #e85d4a;
	--csm-category: #2563eb;
	--csm-category-bg: #e8f4fc;
	background: var(--cs-bg-soft);
}

.csm-hero {
	position: relative;
	min-height: 320px;
	background-color: #334155;
	background-size: cover;
	background-position: center;
}

.csm-hero__overlay {
	min-height: inherit;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.72) 100%);
	padding: 52px 0 40px;
}

.csm-hero__inner {
	width: 100%;
}

/* hero uses shared certify-course-single__badges / __title / __subtitle */
.csm-hero .certify-course-single__badges {
	margin-bottom: 14px;
}

.csm-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.csm-hero__badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.csm-hero__badge--featured {
	background: var(--csm-featured);
}

.csm-hero__badge--category {
	background: var(--csm-category-bg);
	color: var(--csm-category);
}

.csm-hero__badge--hot {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.csm-hero__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3.2vw, 2.125rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.csm-hero__breadcrumbs {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.92);
}

.csm-hero__breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.csm-hero__breadcrumbs a:hover {
	text-decoration: underline;
}

.csm-hero__breadcrumbs-sep {
	margin: 0 8px;
	opacity: 0.65;
}

.csm-body {
	padding: 24px 0 56px;
	background: var(--cs-bg-soft);
}

/* section cards share styles with centre course, reuse within csm-main */
.csm-main .certify-course-single__section {
	margin-bottom: 20px;
}

.csm-main .certify-course-single__section:last-child {
	margin-bottom: 0;
}

.csm-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 28px 36px;
	align-items: start;
}

.csm-card {
	background: #fff;
	border-radius: var(--cs-radius);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
	padding: 24px 28px;
	margin-bottom: 24px;
}

.csm-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--cs-primary);
}

.csm-card__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #fff7e6;
}

.csm-card__icon--details {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / 18px no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / 18px no-repeat;
	background-color: var(--csm-accent);
}

.csm-card__icon--intro {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E") center / 18px no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E") center / 18px no-repeat;
	background-color: var(--csm-accent);
}

.csm-card__icon--detail {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center / 18px no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center / 18px no-repeat;
	background-color: var(--csm-accent);
}

.csm-details-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 28px;
	margin: 0;
}

.csm-details-grid__item {
	margin: 0;
}

.csm-details-grid__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--cs-muted);
}

.csm-details-grid__value {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--cs-text);
}

.csm-details-grid__icon {
	width: 16px;
	height: 16px;
	background: var(--cs-muted);
	opacity: 0.7;
}

.csm-details-grid__item--date .csm-details-grid__icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-details-grid__item--location .csm-details-grid__icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-details-grid__item--time .csm-details-grid__icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-details-grid__item--capacity .csm-details-grid__icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-card__richtext {
	font-size: 15px;
	line-height: 1.7;
	color: var(--cs-text);
}

.csm-card__richtext + .csm-card__richtext {
	margin-top: 12px;
}

.csm-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.csm-tags__item {
	display: inline-flex;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	color: var(--cs-muted);
	background: var(--cs-bg-soft);
	border: 1px solid var(--cs-border);
}

.csm-detail-block + .csm-detail-block {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--cs-border);
}

.csm-detail-block__heading {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--cs-primary);
}

.csm-detail-block__list {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cs-text);
}

.csm-detail-block__list--numbered {
	list-style: decimal;
}

.csm-detail-block__list li + li {
	margin-top: 8px;
}

.csm-detail-block__sub {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--cs-muted);
	font-weight: 400;
}

.csm-detail-block__text {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cs-text);
}

.csm-detail-block__richtext {
	font-size: 15px;
	line-height: 1.65;
	color: var(--cs-text);
}

.csm-aside__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cs-primary);
	text-decoration: none;
}

.csm-aside__back:hover {
	text-decoration: underline;
}

.csm-aside__back-icon {
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-aside__sticky {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.csm-aside-card {
	background: #fff;
	border-radius: var(--cs-radius);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
	padding: 20px 22px;
}

.csm-aside-card__price {
	margin: 0 0 14px;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--cs-primary);
	line-height: 1.2;
}

.csm-aside-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.csm-aside-card__meta-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--cs-text);
}

.csm-aside-card__meta-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	background: var(--cs-muted);
	opacity: 0.75;
}

.csm-aside-card__meta-item--date .csm-aside-card__meta-icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-aside-card__meta-item--time .csm-aside-card__meta-icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-aside-card__meta-item--location .csm-aside-card__meta-icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-aside-card__heading {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	color: var(--cs-primary);
}

.csm-host {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.csm-host__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.csm-host__avatar--placeholder {
	background: var(--cs-border);
}

.csm-host__name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--cs-text);
}

.csm-host__subtitle {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--cs-muted);
}

.csm-host__link {
	font-size: 13px;
	font-weight: 600;
	color: var(--cs-primary);
	text-decoration: none;
}

.csm-host__link:hover {
	text-decoration: underline;
}

.csm-register-notice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	font-size: 13px;
	line-height: 1.5;
	color: #1e40af;
}

.csm-register-notice__icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-register-notice p {
	margin: 0;
}

.csm-register-notice p strong {
    color: #08598d;
}

.csm-register__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--cs-text);
}

.csm-register__whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 18px;
	border-radius: 10px;
	background: var(--cs-whatsapp);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
	transition: filter 0.15s ease;
}

.csm-register__whatsapp:hover {
	filter: brightness(1.05);
	color: #fff;
}

.csm-register__whatsapp-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: #fff;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-register__whatsapp-text {
	flex: 1;
	text-align: left;
}

.csm-register__whatsapp-ext {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	background: #fff;
	opacity: 0.9;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-register__hint {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--cs-muted);
}

/* ── 公告橫幅 ─────────────────────────────────────────────────── */
.csm-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	margin-bottom: 24px;
	background: #f2f8df;
	border: 1px solid #cfe276;
	border-radius: var(--cs-radius);
	font-size: 14px;
	line-height: 1.65;
	color: #3b5015;
}

.csm-notice__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	background: #5a7c1e;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.csm-notice__text {
	margin: 0;
}

/* ── 小節（section 內的 subsection）────────────────────────────── */
.certify-course-single__subsection {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px dashed var(--cs-border);
}

.certify-course-single__subsection-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--cs-muted);
	letter-spacing: 0.03em;
	text-transform: none;
}

/* ── 導師 + 報名卡 ───────────────────────────────────────────── */
.csm-host-card {
	background: #fff;
	border-radius: var(--cs-radius);
	box-shadow: var(--cs-shadow);
	padding: 20px;
	margin-bottom: 14px;
}

.csm-host-card__profile {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--cs-border);
}

.csm-host-card__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--cs-border);
}

.csm-host-card__avatar--placeholder {
	display: block;
}

.csm-host-card__info {
	flex: 1;
	min-width: 0;
}

.csm-host-card__name {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 700;
	color: var(--cs-text);
}

.csm-host-card__role {
	margin: 0;
	font-size: 12px;
	color: var(--cs-muted);
	line-height: 1.35;
}

.csm-host-card__register-heading {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--cs-text);
}

.csm-host-card__btns {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.csm-host-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	text-align: center;
	border: none;
	cursor: pointer;
	transition: filter 0.15s ease, background 0.15s ease;
}

.csm-host-card__btn--enroll {
	background: #8a9e2e;
	color: #fff !important;
}

.csm-host-card__btn--enroll:hover {
	background: #768a26;
	color: #fff !important;
}

.csm-host-card__btn--whatsapp {
	background: #25d366;
	color: #fff !important;
}

.csm-host-card__btn--whatsapp:hover {
	filter: brightness(1.06);
	color: #fff !important;
}

.csm-host-card__btn--info {
	background: #fff;
	color: var(--cs-primary) !important;
	border: 1.5px solid var(--cs-border);
}

.csm-host-card__btn--info:hover {
	background: var(--cs-bg-soft);
	color: var(--cs-primary) !important;
}

.csm-host-card__btn-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.csm-host-card__btn--enroll .csm-host-card__btn-icon,
.csm-host-card__btn--whatsapp .csm-host-card__btn-icon {
	background: #fff;
}

.csm-host-card__btn--info .csm-host-card__btn-icon {
	background: var(--cs-primary);
}

.csm-host-card__btn-icon--enroll {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14L21 3'/%3E%3C/svg%3E");
}

.csm-host-card__btn-icon--whatsapp {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.csm-host-card__btn-icon--info {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E");
}

.csm-share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: 1px solid var(--cs-border);
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--cs-text);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.csm-share:hover {
	border-color: var(--cs-primary-light);
	background: var(--cs-bg-soft);
}

.csm-share__icon {
	width: 18px;
	height: 18px;
	background: var(--cs-muted);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.59 13.51l6.83 3.98M15.41 6.51l-6.82 3.98'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.59 13.51l6.83 3.98M15.41 6.51l-6.82 3.98'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 991px) {
	.csm-layout {
		grid-template-columns: 1fr;
	}

	.csm-aside__sticky {
		position: static;
	}

	.csm-aside__back {
		margin-top: 4px;
	}
}

@media (max-width: 575px) {
	.csm-details-grid {
		grid-template-columns: 1fr;
	}

	.csm-hero {
		min-height: 260px;
	}

	.csm-card {
		padding: 20px 18px;
	}
}
