/* ==========================================================================
   Commonwealth Chorale Arts Festival — Master Design System
   Organised by Soprano Events Ltd UK | 14-17 July 2027 | Milton Keynes - London
   Strictly scoped (.cmnw-*) for 100% Elementor & Royal Elementor Addons compatibility
   ========================================================================== */

:root {
	--cmnw-indigo: #13113A;
	--cmnw-royal: #211B5C;
	--cmnw-violet: #682898;
	--cmnw-magenta: #9C2B84;
	--cmnw-crimson: #D62839;
	--cmnw-flame: #F04E23;
	--cmnw-gold: #F5B82E;
	--cmnw-gold-soft: #FDE7A8;
	--cmnw-ivory: #FAF8F5;
	--cmnw-mist: #F3EFFA;
	--cmnw-white: #FFFFFF;
	--cmnw-ink: #17152B;
	--cmnw-muted: #544F6E;
	--cmnw-border: rgba(33, 27, 92, 0.12);
	--cmnw-radius: 16px;
	--cmnw-radius-sm: 10px;
	--cmnw-shadow: 0 18px 48px rgba(19, 17, 58, 0.12);
	--cmnw-shadow-lg: 0 28px 70px rgba(19, 17, 58, 0.22);
	--cmnw-font-display: 'Playfair Display', Georgia, serif;
	--cmnw-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--cmnw-font-script: 'Dancing Script', Georgia, cursive;
	--cmnw-max: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body.cmnw-body {
	margin: 0;
	padding: 0;
	font-family: var(--cmnw-font-sans);
	font-size: 16px;
	line-height: 1.72;
	color: var(--cmnw-ink);
	background-color: var(--cmnw-ivory);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.cmnw-body img {
	max-width: 100%;
	height: auto;
}

.cmnw-container {
	width: 100%;
	max-width: var(--cmnw-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ==========================================================================
   Top Event Ribbon
   ========================================================================== */

.cmnw-topbar {
	background: linear-gradient(90deg, #100E30 0%, #3E1A6B 50%, #A91E3A 100%);
	color: rgba(255, 255, 255, 0.94);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cmnw-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	padding: 6px 0;
	flex-wrap: wrap;
}

.cmnw-topbar-facts {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.cmnw-topbar-facts span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.cmnw-topbar-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cmnw-gold);
	display: inline-block;
}

.cmnw-topbar-motto {
	font-family: var(--cmnw-font-script);
	font-size: 18px;
	font-weight: 700;
	color: var(--cmnw-gold-soft);
	letter-spacing: 0.01em;
}

/* ==========================================================================
   Sticky Royal Header & Navigation
   ========================================================================== */

.cmnw-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(19, 17, 58, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.admin-bar .cmnw-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .cmnw-header {
		top: 46px;
	}
}

.cmnw-header.is-scrolled {
	background: rgba(15, 13, 46, 0.98);
	box-shadow: 0 12px 34px rgba(10, 8, 30, 0.34);
}

.cmnw-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 78px;
	padding: 10px 0;
}

.cmnw-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #FFFFFF;
	flex-shrink: 0;
}

.cmnw-brand-logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	transition: transform 0.25s ease;
}

.cmnw-brand:hover .cmnw-brand-logo {
	transform: scale(1.05);
}

.cmnw-brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cmnw-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.cmnw-brand-title {
	font-family: var(--cmnw-font-display);
	font-size: 18px;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: 0.01em;
}

.cmnw-brand-sub {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--cmnw-gold);
	margin-top: 2px;
}

.cmnw-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cmnw-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.cmnw-menu li {
	position: relative;
}

.cmnw-menu a {
	display: inline-flex;
	align-items: center;
	padding: 9px 13px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.cmnw-menu a:hover,
.cmnw-menu .current-menu-item > a,
.cmnw-menu .current_page_item > a {
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.12);
}

.cmnw-menu .current-menu-item > a::after,
.cmnw-menu .current_page_item > a::after {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--cmnw-gold);
	margin-left: 7px;
}

.cmnw-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cmnw-crimson) 0%, var(--cmnw-flame) 100%);
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(214, 40, 57, 0.36);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	margin-left: 8px;
}

.cmnw-header-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(240, 78, 35, 0.45);
}

.cmnw-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	cursor: pointer;
	padding: 0;
}

.cmnw-burger svg {
	width: 22px;
	height: 22px;
}

.cmnw-mobile-drawer {
	display: none;
	background: #13113A;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 24px 26px;
}

.cmnw-mobile-drawer.is-open {
	display: block;
}

.cmnw-mobile-drawer .cmnw-menu {
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
}

.cmnw-mobile-drawer .cmnw-menu a {
	padding: 12px 14px;
	border-radius: 10px;
}

.cmnw-mobile-drawer .cmnw-header-cta {
	width: 100%;
	justify-content: center;
	margin: 14px 0 0;
}

@media (max-width: 1080px) {
	.cmnw-nav {
		display: none;
	}
	.cmnw-burger {
		display: inline-flex;
	}
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.cmnw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: var(--cmnw-font-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cmnw-btn-primary {
	background: linear-gradient(135deg, var(--cmnw-crimson) 0%, var(--cmnw-flame) 100%);
	color: #FFFFFF;
	box-shadow: 0 12px 28px rgba(214, 40, 57, 0.3);
}

.cmnw-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(240, 78, 35, 0.42);
	color: #FFFFFF;
}

.cmnw-btn-gold {
	background: linear-gradient(135deg, #F5B82E 0%, #E09B12 100%);
	color: #13113A;
	box-shadow: 0 10px 26px rgba(245, 184, 46, 0.32);
}

.cmnw-btn-gold:hover {
	transform: translateY(-2px);
	color: #13113A;
}

.cmnw-btn-outline {
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.36);
}

.cmnw-btn-outline:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: #FFFFFF;
	color: #FFFFFF;
}

.cmnw-btn-dark {
	background: var(--cmnw-indigo);
	color: #FFFFFF;
}

.cmnw-btn-dark:hover {
	background: var(--cmnw-violet);
	transform: translateY(-2px);
	color: #FFFFFF;
}

.cmnw-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.11em;
}

.cmnw-badge-gold {
	background: rgba(245, 184, 46, 0.18);
	color: var(--cmnw-gold);
	border: 1px solid rgba(245, 184, 46, 0.36);
}

.cmnw-badge-violet {
	background: rgba(104, 40, 152, 0.1);
	color: var(--cmnw-violet);
	border: 1px solid rgba(104, 40, 152, 0.2);
}

.cmnw-script {
	font-family: var(--cmnw-font-script);
	font-weight: 700;
}

/* ==========================================================================
   Live Festival Countdown Component (Works in Elementor & Fallback)
   ========================================================================== */

.cmnw-countdown {
	display: grid;
	grid-template-columns: repeat(4, minmax(72px, 1fr));
	gap: 14px;
	max-width: 520px;
	margin: 0 auto;
}

.cmnw-countdown-left {
	margin-left: 0;
}

.cmnw-cd-box {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 16px 10px;
	text-align: center;
	box-shadow: 0 12px 28px rgba(10, 8, 30, 0.22);
}

.cmnw-cd-num {
	display: block;
	font-family: var(--cmnw-font-display);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.05;
	color: #FFFFFF;
}

.cmnw-cd-lbl {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cmnw-gold-soft);
}

.cmnw-countdown-light .cmnw-cd-box {
	background: #FFFFFF;
	border-color: var(--cmnw-border);
	box-shadow: var(--cmnw-shadow);
}

.cmnw-countdown-light .cmnw-cd-num {
	color: var(--cmnw-indigo);
}

.cmnw-countdown-light .cmnw-cd-lbl {
	color: var(--cmnw-crimson);
}

@media (max-width: 520px) {
	.cmnw-countdown {
		gap: 8px;
	}
	.cmnw-cd-box {
		padding: 12px 6px;
	}
}

/* ==========================================================================
   Official Bank Wire Transfer Card (with Click-to-Copy)
   ========================================================================== */

.cmnw-bank-card {
	background: linear-gradient(145deg, #13113A 0%, #27185E 65%, #4A1864 100%);
	color: #FFFFFF;
	border-radius: 22px;
	padding: 34px;
	box-shadow: var(--cmnw-shadow-lg);
	border: 1px solid rgba(245, 184, 46, 0.28);
	position: relative;
	overflow: hidden;
}

.cmnw-bank-card::before {
	content: '';
	position: absolute;
	top: -70px;
	right: -70px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(240, 78, 35, 0.28) 0%, transparent 70%);
	pointer-events: none;
}

.cmnw-bank-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.cmnw-bank-head h3 {
	margin: 6px 0 0;
	font-family: var(--cmnw-font-display);
	font-size: 26px;
	color: #FFFFFF;
}

.cmnw-bank-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 680px) {
	.cmnw-bank-grid {
		grid-template-columns: 1fr;
	}
	.cmnw-bank-card {
		padding: 24px 20px;
	}
}

.cmnw-bank-item {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cmnw-bank-item-full {
	grid-column: 1 / -1;
}

.cmnw-bank-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--cmnw-gold-soft);
	margin-bottom: 4px;
}

.cmnw-bank-val {
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
	word-break: break-word;
	font-variant-numeric: tabular-nums;
}

.cmnw-copy-btn {
	background: rgba(255, 255, 255, 0.14);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
}

.cmnw-copy-btn:hover {
	background: var(--cmnw-gold);
	color: #13113A;
	border-color: var(--cmnw-gold);
}

.cmnw-bank-note {
	margin: 20px 0 0;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.65;
}

/* ==========================================================================
   Dynamic Submission Form System (Editable via WP Admin > Festival Forms)
   ========================================================================== */

.cmnw-form-wrap {
	background: #FFFFFF;
	border-radius: 22px;
	padding: 36px;
	box-shadow: var(--cmnw-shadow);
	border: 1px solid var(--cmnw-border);
}

@media (max-width: 640px) {
	.cmnw-form-wrap {
		padding: 24px 18px;
		border-radius: 16px;
	}
}

.cmnw-form-header {
	margin-bottom: 26px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--cmnw-border);
}

.cmnw-form-title {
	margin: 0 0 8px;
	font-family: var(--cmnw-font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--cmnw-indigo);
	line-height: 1.25;
}

.cmnw-form-intro {
	margin: 0;
	color: var(--cmnw-muted);
	font-size: 15px;
}

.cmnw-form-notice {
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 22px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
}

.cmnw-form-notice.cmnw-ok {
	background: #ECFDF3;
	border: 1px solid #86EFAC;
	color: #14532D;
}

.cmnw-form-notice.cmnw-err {
	background: #FEF2F2;
	border: 1px solid #FCA5A5;
	color: #991B1B;
}

.cmnw-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
	width: 0 !important;
}

.cmnw-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

@media (max-width: 680px) {
	.cmnw-form-grid {
		grid-template-columns: 1fr;
	}
}

.cmnw-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.cmnw-field-full {
	grid-column: 1 / -1;
}

.cmnw-field-half {
	grid-column: span 1;
}

.cmnw-field-section {
	grid-column: 1 / -1;
	margin-top: 10px;
	padding-top: 16px;
	border-top: 1px dashed rgba(33, 27, 92, 0.18);
}

.cmnw-field-section h4 {
	margin: 0 0 4px;
	font-family: var(--cmnw-font-display);
	font-size: 20px;
	color: var(--cmnw-indigo);
}

.cmnw-field-section p {
	margin: 0;
	font-size: 13.5px;
	color: var(--cmnw-muted);
}

.cmnw-field label.cmnw-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--cmnw-indigo);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cmnw-req {
	color: var(--cmnw-crimson);
	font-weight: 800;
}

.cmnw-field input[type="text"],
.cmnw-field input[type="email"],
.cmnw-field input[type="tel"],
.cmnw-field input[type="number"],
.cmnw-field input[type="date"],
.cmnw-field input[type="url"],
.cmnw-field select,
.cmnw-field textarea {
	width: 100%;
	padding: 13px 15px;
	border-radius: 11px;
	border: 1.5px solid rgba(33, 27, 92, 0.18);
	background: #FCFBFE;
	color: var(--cmnw-ink);
	font-family: var(--cmnw-font-sans);
	font-size: 15px;
	line-height: 1.45;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cmnw-field input:focus,
.cmnw-field select:focus,
.cmnw-field textarea:focus {
	outline: none;
	border-color: var(--cmnw-violet);
	background: #FFFFFF;
	box-shadow: 0 0 0 4px rgba(104, 40, 152, 0.12);
}

.cmnw-field textarea {
	min-height: 120px;
	resize: vertical;
}

.cmnw-help {
	font-size: 12.5px;
	color: var(--cmnw-muted);
	line-height: 1.45;
}

.cmnw-options-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cmnw-option-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1.5px solid rgba(33, 27, 92, 0.16);
	background: #FCFBFE;
	font-size: 14px;
	font-weight: 600;
	color: var(--cmnw-ink);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.cmnw-option-pill:hover {
	border-color: var(--cmnw-violet);
	background: var(--cmnw-mist);
}

.cmnw-option-pill input {
	accent-color: var(--cmnw-crimson);
	width: 16px;
	height: 16px;
	margin: 0;
}

.cmnw-checkbox-single {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--cmnw-mist);
	border: 1px solid rgba(104, 40, 152, 0.18);
	font-size: 14px;
	line-height: 1.55;
	color: var(--cmnw-ink);
	cursor: pointer;
}

.cmnw-checkbox-single input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--cmnw-crimson);
	flex-shrink: 0;
}

.cmnw-file-box {
	position: relative;
	border: 2px dashed rgba(104, 40, 152, 0.3);
	border-radius: 12px;
	background: #FBF9FE;
	padding: 16px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.cmnw-file-box:hover {
	border-color: var(--cmnw-crimson);
	background: #FFF7F8;
}

.cmnw-file-box input[type="file"] {
	width: 100%;
	font-size: 14px;
	color: var(--cmnw-ink);
}

.cmnw-form-actions {
	margin-top: 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.cmnw-form-security {
	font-size: 12.5px;
	color: var(--cmnw-muted);
}

/* Form Switcher Tabs (Registration Hub) */
.cmnw-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
	justify-content: center;
}

.cmnw-tab-btn {
	padding: 12px 20px;
	border-radius: 999px;
	border: 1.5px solid rgba(33, 27, 92, 0.16);
	background: #FFFFFF;
	color: var(--cmnw-indigo);
	font-family: var(--cmnw-font-sans);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.cmnw-tab-btn:hover {
	border-color: var(--cmnw-violet);
	background: var(--cmnw-mist);
}

.cmnw-tab-btn.is-active {
	background: linear-gradient(135deg, var(--cmnw-indigo) 0%, var(--cmnw-violet) 100%);
	color: #FFFFFF;
	border-color: transparent;
	box-shadow: 0 10px 24px rgba(33, 27, 92, 0.24);
}

.cmnw-tab-panel {
	display: none;
}

.cmnw-tab-panel.is-active {
	display: block;
}

/* ==========================================================================
   Hero Banner Slideshow (100% Elementor Editable & Responsive)
   ========================================================================== */

.cmnw-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #120F38;
	color: #FFFFFF;
}

.cmnw-slider-track {
	position: relative;
	width: 100%;
	min-height: 610px;
}

.cmnw-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.75s ease, visibility 0.75s ease;
	display: flex;
	align-items: center;
	padding: 68px 0 88px;
}

.cmnw-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}

.cmnw-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	transition: transform 6.5s ease-out;
	z-index: 0;
}

.cmnw-slide.is-active .cmnw-slide-bg {
	transform: scale(1);
}

.cmnw-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(16, 13, 48, 0.88) 0%, rgba(36, 20, 88, 0.56) 52%, rgba(120, 28, 72, 0.28) 100%);
	z-index: 1;
}

.cmnw-slide-inner {
	position: relative;
	z-index: 3;
	width: 100%;
}

.cmnw-slide-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 44px;
	align-items: center;
}

.cmnw-slide-single {
	max-width: 780px;
}

.cmnw-slide-single.is-centered {
	margin: 0 auto;
	text-align: center;
}

.cmnw-slide-single.is-centered .cmnw-hero-lead {
	margin-left: auto;
	margin-right: auto;
}

.cmnw-slide-single.is-centered .cmnw-hero-actions {
	justify-content: center;
}

.cmnw-slide h1,
.cmnw-slide h2.cmnw-slide-title {
	margin: 14px 0 10px;
	font-family: var(--cmnw-font-display);
	font-size: clamp(34px, 4.6vw, 56px);
	font-weight: 800;
	line-height: 1.08;
	color: #FFFFFF;
}

.cmnw-slide-script {
	font-family: var(--cmnw-font-script);
	font-size: clamp(28px, 3.4vw, 40px);
	color: var(--cmnw-gold);
	margin: 0 0 14px;
	line-height: 1.15;
}

.cmnw-slide-visual {
	border-radius: 22px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.24);
	box-shadow: 0 28px 70px rgba(8, 5, 28, 0.52);
	background: #1B154A;
}

.cmnw-slide-visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* Prev / Next Arrows */
.cmnw-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(19, 17, 58, 0.52);
	backdrop-filter: blur(8px);
	color: #FFFFFF;
	font-size: 24px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cmnw-slider-arrow:hover {
	background: var(--cmnw-crimson);
	border-color: var(--cmnw-crimson);
	transform: translateY(-50%) scale(1.06);
}

.cmnw-slider-prev { left: 20px; }
.cmnw-slider-next { right: 20px; }

/* Bottom Pagination & Counter Bar */
.cmnw-slider-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	pointer-events: none;
}

.cmnw-slider-dots {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(19, 17, 58, 0.55);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	pointer-events: auto;
}

.cmnw-slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: width 0.28s ease, background 0.28s ease;
}

.cmnw-slider-dot.is-active {
	width: 30px;
	background: var(--cmnw-gold);
}

.cmnw-slider-count {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(19, 17, 58, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--cmnw-gold-soft);
	pointer-events: auto;
}

.cmnw-slider-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: rgba(255, 255, 255, 0.12);
	z-index: 12;
}

.cmnw-slider-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--cmnw-crimson), var(--cmnw-gold));
	transition: width 0.25s linear;
}

@media (max-width: 1024px) {
	.cmnw-slide-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.cmnw-slider-arrow {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
	.cmnw-slider-prev { left: 10px; }
	.cmnw-slider-next { right: 10px; }
}

@media (max-width: 640px) {
	.cmnw-slide {
		padding: 48px 0 82px;
	}
	.cmnw-slider-arrow {
		display: none;
	}
}

/* ==========================================================================
   Fallback Page Sections (Rendered cleanly before Elementor is activated,
   and also reusable as building blocks inside Elementor HTML/Shortcodes)
   ========================================================================== */

.cmnw-hero {
	position: relative;
	background: linear-gradient(140deg, #120F38 0%, #2C1864 48%, #6E1D7B 82%, #B5233E 100%);
	color: #FFFFFF;
	padding: 78px 0 88px;
	overflow: hidden;
}

.cmnw-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../images/hero-stage-pattern.svg') center/cover no-repeat;
	opacity: 0.85;
	pointer-events: none;
}

.cmnw-hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 44px;
	align-items: center;
}

@media (max-width: 960px) {
	.cmnw-hero-grid {
		grid-template-columns: 1fr;
	}
}

.cmnw-hero h1 {
	margin: 16px 0 14px;
	font-family: var(--cmnw-font-display);
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.08;
	color: #FFFFFF;
}

.cmnw-hero-motto {
	font-family: var(--cmnw-font-script);
	font-size: clamp(28px, 3.6vw, 40px);
	color: var(--cmnw-gold);
	margin: 0 0 16px;
	line-height: 1.15;
}

.cmnw-hero-lead {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 28px;
	max-width: 580px;
}

.cmnw-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 34px;
}

.cmnw-banner-frame {
	border-radius: 24px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 28px 70px rgba(8, 5, 28, 0.48);
	background: #1B154A;
}

.cmnw-banner-frame img {
	display: block;
	width: 100%;
	height: auto;
}

.cmnw-section {
	padding: 80px 0;
}

.cmnw-section-mist {
	background: var(--cmnw-mist);
}

.cmnw-section-white {
	background: #FFFFFF;
}

.cmnw-section-dark {
	background: linear-gradient(155deg, #13113A 0%, #24195E 60%, #441A6B 100%);
	color: #FFFFFF;
}

.cmnw-section-head {
	max-width: 740px;
	margin: 0 auto 48px;
	text-align: center;
}

.cmnw-section-head h2 {
	margin: 12px 0 14px;
	font-family: var(--cmnw-font-display);
	font-size: clamp(30px, 3.8vw, 44px);
	line-height: 1.16;
	color: var(--cmnw-indigo);
}

.cmnw-section-dark .cmnw-section-head h2 {
	color: #FFFFFF;
}

.cmnw-section-head p {
	margin: 0;
	font-size: 17px;
	color: var(--cmnw-muted);
}

.cmnw-section-dark .cmnw-section-head p {
	color: rgba(255, 255, 255, 0.82);
}

.cmnw-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

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

@media (max-width: 900px) {
	.cmnw-grid-3, .cmnw-grid-2 {
		grid-template-columns: 1fr;
	}
}

.cmnw-card {
	background: #FFFFFF;
	border-radius: 20px;
	padding: 32px 28px;
	border: 1px solid var(--cmnw-border);
	box-shadow: var(--cmnw-shadow);
}

.cmnw-card h3 {
	margin: 0 0 10px;
	font-family: var(--cmnw-font-display);
	font-size: 24px;
	color: var(--cmnw-indigo);
}

.cmnw-card p {
	margin: 0;
	color: var(--cmnw-muted);
}

.cmnw-page-hero {
	background: linear-gradient(135deg, #13113A 0%, #371A71 58%, #9C2242 100%);
	color: #FFFFFF;
	padding: 68px 0 60px;
	text-align: center;
}

.cmnw-page-hero h1 {
	margin: 14px 0 12px;
	font-family: var(--cmnw-font-display);
	font-size: clamp(32px, 4.5vw, 50px);
	color: #FFFFFF;
}

.cmnw-page-hero p {
	margin: 0 auto;
	max-width: 680px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
}

.cmnw-fee-price {
	font-family: var(--cmnw-font-display);
	font-size: 52px;
	font-weight: 800;
	color: var(--cmnw-crimson);
	line-height: 1;
	margin: 14px 0;
}

.cmnw-checklist {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cmnw-checklist li {
	position: relative;
	padding-left: 26px;
	color: var(--cmnw-ink);
}

.cmnw-checklist li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--cmnw-crimson);
	font-weight: 800;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.cmnw-footer {
	background: linear-gradient(180deg, #120F36 0%, #0B0924 100%);
	color: rgba(255, 255, 255, 0.84);
	padding-top: 70px;
	border-top: 4px solid var(--cmnw-crimson);
}

.cmnw-footer-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
	gap: 40px;
	padding-bottom: 52px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
	.cmnw-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.cmnw-footer-grid {
		grid-template-columns: 1fr;
	}
}

.cmnw-footer h4 {
	margin: 0 0 18px;
	font-family: var(--cmnw-font-display);
	font-size: 20px;
	color: #FFFFFF;
}

.cmnw-footer p {
	margin: 0 0 14px;
	font-size: 14.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

.cmnw-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cmnw-footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14.5px;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.cmnw-footer-links a:hover {
	color: var(--cmnw-gold);
	padding-left: 4px;
}

.cmnw-footer-socials {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.cmnw-footer-socials a {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.cmnw-footer-socials a:hover {
	background: var(--cmnw-crimson);
	transform: translateY(-2px);
}

.cmnw-footer-bottom {
	padding: 22px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.65);
}

.cmnw-footer-bottom a {
	color: var(--cmnw-gold-soft);
	text-decoration: none;
}

/* ==========================================================================
   Standard WordPress Blog / Single / 404 Layout
   ========================================================================== */

.cmnw-article-wrap {
	max-width: 820px;
	margin: 56px auto 80px;
	background: #FFFFFF;
	border-radius: 22px;
	padding: 44px;
	box-shadow: var(--cmnw-shadow);
	border: 1px solid var(--cmnw-border);
}

@media (max-width: 640px) {
	.cmnw-article-wrap {
		padding: 26px 20px;
		margin: 32px auto 56px;
	}
}

.cmnw-main {
	min-height: 55vh;
}
