/**
 * Workshop Landing Page Pattern Styles
 *
 * Styles for the pre-conference workshop landing page pattern
 * Color Scheme: Dark Navy (#151525) + Gold (#d4a843)
 */

/* ========================================
   Layout Override
======================================== */

[class*="workshop-"].is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
[class*="workshop-"] .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

/* ========================================
   Hero Section
======================================== */

.workshop-hero {
	background-color: #151525 !important;
}

/* ========================================
   Workshop Badge (Top pill)
======================================== */

.workshop-badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: auto !important;
	max-width: fit-content !important;
	background: transparent !important;
	border: 1.5px solid #d4a843 !important;
	border-radius: 50px !important;
	padding: 10px 24px !important;
}

.workshop-badge .wp-block-image {
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	flex-shrink: 0;
}

.workshop-badge .wp-block-image img {
	display: block;
	margin: 0;
	filter: brightness(0) saturate(100%) invert(73%) sepia(60%) saturate(400%) hue-rotate(5deg) brightness(95%) contrast(90%);
}

.workshop-badge p {
	margin: 0 !important;
	line-height: 1 !important;
}

/* ========================================
   Title Accent ("Inflammation" gradient)
======================================== */

.workshop-title-accent {
	background: linear-gradient(135deg, #e87461 0%, #c76bbf 40%, #d4a843 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ========================================
   Info Pills (Date, Time, Audience, Format)
======================================== */

.workshop-info-pill {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	width: auto !important;
	max-width: fit-content !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 50px !important;
	padding: 12px 24px !important;
	transition: all 0.3s ease;
}

.workshop-info-pill:hover {
	border-color: rgba(212, 168, 67, 0.5) !important;
}

.workshop-info-pill .wp-block-image {
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	flex-shrink: 0;
}

.workshop-info-pill .wp-block-image img {
	display: block;
	margin: 0;
	filter: brightness(0) saturate(100%) invert(73%) sepia(60%) saturate(400%) hue-rotate(5deg) brightness(95%) contrast(90%);
}

.workshop-info-pill p {
	margin: 0 !important;
	line-height: 1 !important;
}

/* ========================================
   CTA Button
======================================== */

.workshop-cta .wp-block-button__link {
	box-shadow: 0 4px 6px -1px rgba(212, 168, 67, 0.3), 0 2px 4px -1px rgba(212, 168, 67, 0.2) !important;
	transition: all 0.2s ease !important;
}

.workshop-cta .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(212, 168, 67, 0.4), 0 4px 6px -2px rgba(212, 168, 67, 0.3) !important;
}

/* ========================================
   Icon Circles (used across sections)
======================================== */

.workshop-icon-circle {
	width: fit-content !important;
	background-color: #fef9ee !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0;
}

.workshop-icon-circle .wp-block-image {
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.workshop-icon-circle .wp-block-image img {
	display: block;
	margin: 0;
}

/* ========================================
   Test Cards (KBMO cards in Why section)
======================================== */

.workshop-test-card {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
	transition: all 0.3s ease;
	gap: 16px !important;
}

.workshop-test-card:hover {
	box-shadow: 0 4px 12px rgba(212, 168, 67, 0.15) !important;
	transform: translateY(-2px);
}

.workshop-test-card .wp-block-image {
	margin: 0 !important;
}

/* ========================================
   Objective Cards (What You'll Learn)
======================================== */

.workshop-objective-card {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
	transition: all 0.3s ease;
	align-items: center !important;
	gap: 16px !important;
}

.workshop-objective-card:hover {
	box-shadow: 0 8px 20px rgba(212, 168, 67, 0.15) !important;
	transform: translateY(-2px);
	border-left-color: #c4962e !important;
}

.workshop-objective-card .wp-block-image {
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	flex-shrink: 0;
}

.workshop-objective-card .wp-block-image img {
	display: block;
	margin: 0;
}

.workshop-objective-card > p {
	margin: 0 !important;
	flex: 1;
}

/* ========================================
   Workshop Part Cards (Inside the Workshop)
======================================== */

.workshop-part-card {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
	border: 1px solid #e5e7eb !important;
	border-left: none !important;
	border-radius: 12px !important;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.workshop-part-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(to bottom, #7c3aed, #d4a843);
	border-radius: 12px 0 0 12px;
}

.workshop-qa::before {
	background: #d4a843;
}

.workshop-part-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Part Icon */
.workshop-part-icon {
	width: fit-content !important;
	background-color: #f3f0ff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0;
}

.workshop-part-icon .wp-block-image {
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.workshop-part-icon .wp-block-image img {
	display: block;
	margin: 0;
}

/* Duration Badge */
.workshop-duration-badge {
	background-color: #f3f4f6 !important;
	border-radius: 20px !important;
	padding: 4px 12px !important;
	margin: 0 !important;
	white-space: nowrap;
}

/* Topic Lists */
.workshop-topic-list {
	list-style: none !important;
	padding-left: 0 !important;
}

.workshop-topic-list li {
	position: relative;
	padding-left: 20px;
}

.workshop-topic-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #d4a843;
}

/* Context Cards (sub-sections within parts) */
.workshop-context-card {
	background-color: #f9fafb !important;
	border: 1px solid #e5e7eb;
}

/* Highlight Cards (Advanced insight, Interactive Discussion) */
.workshop-highlight-card {
	background-color: #fef9ee !important;
	border: 1px solid #fde68a;
}

/* Case Study Cards */
.workshop-case-card {
	background-color: #f9fafb !important;
	border: 1px solid #e5e7eb;
	gap: 12px !important;
	align-items: center !important;
}

.workshop-case-card .wp-block-image {
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	flex-shrink: 0;
}

.workshop-case-card .wp-block-image img {
	display: block;
	margin: 0;
}

.workshop-case-card > p {
	margin: 0 !important;
}

/* Marker Pills */
.workshop-marker-pill {
	background-color: #f3f4f6 !important;
	border: 1px solid #e5e7eb;
	border-radius: 20px !important;
	padding: 4px 14px !important;
	margin: 0 !important;
}

/* ========================================
   Audience Section
======================================== */

.workshop-audience-pill {
	background-color: #ffffff !important;
	border: 1px solid #e5e7eb;
	border-radius: 20px !important;
	padding: 8px 20px !important;
	margin: 0 !important;
}

.workshop-audience-card {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
	border: 1px solid #e5e7eb !important;
	transition: all 0.3s ease;
	height: 100%;
}

.workshop-audience-card:hover {
	box-shadow: 0 8px 20px rgba(212, 168, 67, 0.12) !important;
	border-color: #d4a843 !important;
	transform: translateY(-2px);
}

/* ========================================
   Takeaway Cards (What You'll Walk Away With)
======================================== */

.workshop-takeaway-card {
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	gap: 16px !important;
	align-items: center !important;
	transition: all 0.3s ease;
}

.workshop-takeaway-card:hover {
	background-color: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(212, 168, 67, 0.3) !important;
	transform: translateY(-2px);
}

.workshop-takeaway-card .workshop-icon-circle {
	background-color: rgba(212, 168, 67, 0.15) !important;
}

.workshop-takeaway-card .wp-block-image {
	margin: 0 !important;
}

.workshop-takeaway-card > p {
	margin: 0 !important;
	flex: 1;
}

/* ========================================
   Speaker Section
======================================== */

.workshop-speaker-image {
	position: relative;
}

.workshop-speaker-image img {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.workshop-speaker-image::before {
	content: '';
	position: absolute;
	top: -12px;
	left: -12px;
	right: 12px;
	bottom: 12px;
	background: linear-gradient(135deg, #466DD8 0%, #7c3aed 100%);
	border-radius: 20px;
	z-index: -1;
}

.workshop-speaker-image:hover img {
	transform: scale(1.02);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   New to Testing Card
======================================== */

.workshop-new-testing-card {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

/* Checklist styling */
.workshop-checklist {
	list-style: none !important;
	padding-left: 0 !important;
}

.workshop-checklist li {
	position: relative;
	padding-left: 28px;
}

.workshop-checklist li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	top: 0;
	color: #d4a843;
	font-weight: 600;
}

/* ========================================
   Upsell Card (This Is Just the Beginning)
======================================== */

.workshop-upsell-card {
	background: linear-gradient(135deg, #fef9ee 0%, #fdf4ff 50%, #eef2ff 100%) !important;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Stat Cards */
.workshop-stat-card {
	background-color: rgba(255, 255, 255, 0.7) !important;
	border: 1px solid #e5e7eb;
}

/* ========================================
   Disclaimer
======================================== */

.workshop-disclaimer {
	background-color: #fef9ee !important;
	border: 1px solid #fde68a;
	gap: 12px !important;
	align-items: flex-start !important;
}

.workshop-disclaimer .wp-block-image {
	margin: 0 !important;
	flex-shrink: 0;
}

.workshop-disclaimer > p {
	margin: 0 !important;
}

/* ========================================
   Responsive Styles
======================================== */

@media (max-width: 781px) {
	/* Stack info pills on tablet */
	.wp-block-group:has(.workshop-info-pill) {
		flex-direction: column !important;
		align-items: center !important;
	}

	.workshop-info-pill {
		width: 100%;
		max-width: 300px;
		justify-content: center !important;
	}

	/* Heading sizes */
	.workshop-hero h1,
	.workshop-hero h2 {
		font-size: clamp(32px, 6vw, 56px) !important;
	}

	/* Hero spacing */
	.workshop-hero {
		padding-top: 60px !important;
		padding-bottom: 60px !important;
	}

	/* Objective cards */
	.workshop-objective-card {
		flex-direction: row !important;
		align-items: flex-start !important;
	}

	/* Part cards */
	.workshop-part-card {
		padding: 24px !important;
	}

	/* Speaker section */
	.workshop-speaker-image {
		max-width: 350px;
		margin: 0 auto 32px;
	}

	/* Audience cards */
	.workshop-audience-card {
		padding: 24px !important;
	}

	/* Takeaway cards */
	.workshop-takeaway-card {
		flex-direction: row !important;
	}
}

@media (max-width: 600px) {
	/* Smaller headings */
	.workshop-hero h1,
	.workshop-hero h2 {
		font-size: clamp(28px, 6vw, 40px) !important;
	}

	/* Badge size */
	.workshop-badge {
		font-size: 12px !important;
		padding: 8px 16px !important;
	}

	.workshop-badge p {
		font-size: 12px !important;
	}

	/* Info pill size */
	.workshop-info-pill {
		font-size: 14px !important;
		padding: 10px 20px !important;
	}

	/* Full width button */
	.workshop-cta {
		width: 100%;
	}

	.workshop-cta .wp-block-button__link {
		display: block;
		text-align: center;
		width: 100%;
		font-size: 16px !important;
		padding: 14px 32px !important;
	}

	/* Hero spacing */
	.workshop-hero {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	/* Part cards */
	.workshop-part-card {
		padding: 20px !important;
	}

	/* Part header flex wrap */
	.workshop-part-card > .wp-block-group:first-child {
		flex-wrap: wrap !important;
		gap: 8px !important;
	}

	/* Upsell card */
	.workshop-upsell-card {
		padding: 24px !important;
	}

	/* Final CTA */
	.wp-block-group:has(.workshop-cta) h2 {
		font-size: clamp(28px, 5vw, 40px) !important;
	}
}

@media (max-width: 480px) {
	/* Very small screens */
	.workshop-hero h1,
	.workshop-hero h2 {
		font-size: clamp(24px, 6vw, 36px) !important;
	}

	.workshop-info-pill {
		max-width: 100%;
	}

	/* Objective cards stack */
	.workshop-objective-card {
		padding: 16px !important;
		gap: 12px !important;
	}

	/* Speaker section */
	.workshop-speaker-image {
		max-width: 100%;
	}

	.workshop-speaker-image::before {
		top: -8px;
		left: -8px;
		right: 8px;
		bottom: 8px;
	}

	/* Part cards */
	.workshop-part-card {
		padding: 16px !important;
	}
}
