/**
 * Frontend Styles for Yogafestival Schedule (True Time-Grid Timetable & Line-Up Profiles)
 * 100% Dynamic Palette powered by Backend Settings CSS Variables
 */

:root {
	--yfs-petrol: #06343C;
	--yfs-terracotta: #F9AF32;
	--yfs-teal: #F9AF32;
	--yfs-yellow: #F9CA76;
	--yfs-amber: #0A8F9F;
	--yfs-pill-text: #3C2906;
	--yfs-text-muted: #10201F;
	--yfs-subtle-grey: #0A8F9F;
	--yfs-card-bg: #FFFFFF;
	--yfs-border: #C3E5E5;
	--yfs-bg-board: #F1F8F8;
	--yfs-surface-light: rgba(6, 52, 60, 0.05);
	--yfs-panel-light: rgba(10, 143, 159, 0.12);
	--yfs-radius: 12px;
	--yfs-font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.yfs-schedule-wrapper {
	max-width: 1280px;
	margin: 32px auto;
	font-family: var(--yfs-font);
	color: var(--yfs-petrol);
	box-sizing: border-box;
}

.yfs-schedule-wrapper *,
.yfs-schedule-wrapper *::before,
.yfs-schedule-wrapper *::after {
	box-sizing: border-box;
}

/* ==========================================================================
   1. Header Bar & Day Switcher Tabs
   ========================================================================== */
.yfs-top-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--yfs-border);
}

.yfs-top-title-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.yfs-festival-title {
	font-size: 26px;
	font-weight: 800;
	color: var(--yfs-petrol);
	margin: 0;
	letter-spacing: -0.5px;
}

.yfs-festival-subtitle {
	color: var(--yfs-slate);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
	max-width: 680px;
}

.yfs-total-badge {
	background: var(--yfs-petrol);
	color: var(--yfs-yellow);
	font-size: 13px;
	font-weight: 800;
	padding: 5px 12px;
	border-radius: 20px;
	white-space: nowrap;
}

/* Day Switcher Navigation Pills */
.yfs-day-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.yfs-day-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--yfs-card-bg);
	color: var(--yfs-petrol);
	border: 1.5px solid var(--yfs-border);
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.yfs-day-tab:hover {
	border-color: var(--yfs-terracotta);
	background: var(--yfs-surface-light);
	transform: translateY(-1px);
}

.yfs-day-tab.yfs-active {
	background: var(--yfs-terracotta, #F9AF32) !important;
	color: var(--yfs-pill-text, #3C2906) !important;
	border-color: var(--yfs-terracotta, #F9AF32) !important;
	box-shadow: 0 4px 14px rgba(249, 175, 50, 0.35);
}

.yfs-tab-count {
	background: rgba(31, 36, 33, 0.08);
	color: var(--yfs-petrol);
	font-size: 11.5px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.yfs-day-tab.yfs-active .yfs-tab-count {
	background: rgba(60, 41, 6, 0.15) !important;
	color: var(--yfs-pill-text, #3C2906) !important;
}

/* ⭐ Mein Plan Tab & Badge */
.yfs-tab-myplan {
	background: var(--yfs-card-bg);
	border: 1px solid var(--yfs-border);
}

.yfs-tab-myplan.yfs-active {
	background: var(--yfs-amber) !important;
	color: var(--yfs-petrol) !important;
	border-color: var(--yfs-amber) !important;
}

.yfs-myplan-badge {
	background: var(--yfs-terracotta);
	color: #FFFFFF;
	font-size: 10px;
	font-weight: 800;
	padding: 1px 6px;
	border-radius: 10px;
	margin-left: 5px;
	line-height: 1.2;
	vertical-align: middle;
}

.yfs-tab-myplan.yfs-active .yfs-myplan-badge {
	background: var(--yfs-petrol);
	color: #FFFFFF;
}

/* Day Block Visibility */
.yfs-day-block {
	margin-bottom: 48px;
}

.yfs-day-block.yfs-day-hidden {
	display: none !important;
}

.yfs-day-block.yfs-day-visible {
	display: block;
	animation: yfsFadeIn 0.25s ease-out;
}

@keyframes yfsFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Day Sub-Banner */
.yfs-day-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--yfs-petrol);
	color: #FFFFFF;
	padding: 12px 20px;
	border-radius: var(--yfs-radius) var(--yfs-radius) 0 0;
	border-bottom: 2px solid var(--yfs-terracotta);
}

.yfs-day-heading {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #FFFFFF;
}

.yfs-day-time-span {
	color: var(--yfs-yellow);
	font-size: 13px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.1);
	padding: 3px 10px;
	border-radius: 12px;
}

/* ==========================================================================
   2. True Time-Grid Board Architecture
   ========================================================================== */
.yfs-grid-board-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--yfs-card-bg);
	border: 1px solid var(--yfs-border);
	border-top: none;
	border-radius: 0 0 var(--yfs-radius) var(--yfs-radius);
	box-shadow: 0 4px 16px rgba(31, 36, 33, 0.06);
}

.yfs-grid-board {
	min-width: 800px;
	position: relative;
	background: var(--yfs-bg-board);
}

/* Board Header Row (Sticky on top) */
.yfs-board-header-row {
	display: flex;
	background: var(--yfs-bg-board);
	border-bottom: 2px solid var(--yfs-border);
	position: sticky;
	top: 0;
	z-index: 10;
}

.yfs-col-header {
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-right: 1px solid var(--yfs-border);
}

.yfs-col-header:last-child {
	border-right: none;
}

.yfs-time-axis-header {
	width: 52px;
	min-width: 52px;
	max-width: 52px;
	padding: 12px 4px;
	font-size: 14px;
	font-weight: 800;
	text-transform: none;
	color: var(--yfs-petrol);
	justify-content: center;
	background: var(--yfs-card-bg);
	letter-spacing: normal;
}

.yfs-room-header {
	flex: 1;
	min-width: 240px;
}

.yfs-room-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--yfs-petrol);
}

.yfs-room-pill {
	background: var(--yfs-terracotta);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 10px;
}

/* Board Body Container */
.yfs-board-body {
	position: relative;
	display: flex;
	width: 100%;
	background: var(--yfs-bg-board);
}

/* Time Axis Column (Sticky Left) */
.yfs-time-axis-track {
	width: 52px;
	min-width: 52px;
	max-width: 52px;
	position: sticky;
	left: 0;
	z-index: 5;
	background: var(--yfs-bg-board);
	border-right: 1.5px solid var(--yfs-border);
}

.yfs-time-marker {
	position: absolute;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	text-align: center;
	z-index: 2;
}

.yfs-time-marker[style*="top: 0px"],
.yfs-time-marker[style*="top: 0;"],
.yfs-time-marker[style*="top:0px"],
.yfs-time-marker[style*="top:0;"] {
	display: none !important;
}

.yfs-time-label {
	font-size: 10.5px;
	font-weight: 600;
	color: var(--yfs-subtle-grey);
	padding: 0.5px 3px;
	background: var(--yfs-bg-board);
	border-radius: 3px;
	display: inline-block;
	transition: all 0.15s ease;
}

.yfs-marker-hour .yfs-time-label {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--yfs-petrol);
}

.yfs-marker-half .yfs-time-label {
	font-size: 10.5px;
	font-weight: 500;
	color: var(--yfs-subtle-grey);
}

/* Event Start & End Times (Sonderzeiten z.B. 9:50) Highlight with Accent Color */
.yfs-marker-event .yfs-time-label {
	font-size: 10px;
	font-weight: 800;
	color: var(--yfs-terracotta);
	background: #FFFFFF;
	border: 1.5px solid var(--yfs-terracotta);
	border-radius: 3px;
	padding: 0.5px 3px;
	line-height: 1.1;
	box-shadow: 0 1px 3px rgba(237, 104, 75, 0.18);
	z-index: 4;
}

.yfs-marker-event.yfs-marker-end .yfs-time-label {
	background: var(--yfs-bg-board);
	color: var(--yfs-text-muted);
	border: 1px solid var(--yfs-border);
	padding: 0.5px 3px;
	font-size: 9.5px;
	box-shadow: none;
}

/* Background Guidelines spanning across whole board */
.yfs-grid-guidelines {
	position: absolute;
	top: 0;
	left: 52px;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.yfs-guideline {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
}

.yfs-line-hour {
	background: rgba(31, 36, 33, 0.1);
}

.yfs-line-half {
	background: repeating-linear-gradient(90deg, rgba(31, 36, 33, 0.05), rgba(31, 36, 33, 0.05) 4px, transparent 4px, transparent 8px);
}

.yfs-line-event {
	background: rgba(217, 83, 56, 0.35);
}

/* Room Tracks Container & Columns */
.yfs-rooms-tracks-container {
	flex: 1;
	display: flex;
	position: relative;
	z-index: 2;
}

.yfs-room-track {
	flex: 1;
	min-width: 240px;
	position: relative;
	border-right: 1px solid var(--yfs-border);
}

.yfs-room-track:last-child {
	border-right: none;
}

.yfs-track-empty-hint {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	text-align: center;
	color: var(--yfs-subtle-grey);
	font-style: italic;
	font-size: 13px;
}

/* ==========================================================================
   3. Workshop Card Component (Inside Grid)
   ========================================================================== */
.yfs-grid-card {
	position: absolute;
	left: 6px;
	right: 6px;
	min-height: 82px;
	box-sizing: border-box;
	background: var(--yfs-card-bg);
	border: 1.5px solid var(--yfs-border);
	border-radius: var(--yfs-radius);
	padding: 9px 10px;
	box-shadow: 0 2px 5px rgba(31, 36, 33, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, z-index 0s;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 3;
	cursor: pointer;
}

.yfs-grid-card:hover {
	transform: translateY(-2px);
	border-color: var(--yfs-terracotta);
	box-shadow: 0 8px 20px rgba(31, 36, 33, 0.12);
	z-index: 8;
}

.yfs-grid-card.yfs-expanded {
	height: auto !important;
	min-height: 100%;
	z-index: 50;
	box-shadow: 0 12px 32px rgba(31, 36, 33, 0.22);
	border-color: var(--yfs-terracotta);
	background: #FFFFFF;
}

.yfs-card-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
}

/* Card Header: Avatar & Meta */
.yfs-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Teacher Avatar */
.yfs-teacher-avatar-box {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--yfs-panel-light);
	border: 1.5px solid var(--yfs-terracotta);
	box-shadow: 0 1px 3px rgba(31, 36, 33, 0.08);
}

.yfs-avatar-circle .yfs-teacher-avatar-box {
	border-radius: 50%;
}

.yfs-avatar-rounded .yfs-teacher-avatar-box {
	border-radius: 8px;
}

.yfs-avatar-square .yfs-teacher-avatar-box {
	border-radius: 4px;
}

.yfs-teacher-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.yfs-grid-card:hover .yfs-teacher-avatar {
	transform: scale(1.06);
}

.yfs-teacher-avatar-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	background: var(--yfs-surface-light);
	color: var(--yfs-petrol);
}

.yfs-header-meta {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.yfs-header-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	width: 100%;
}

/* Favorite Star Button */
.yfs-fav-btn {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	color: var(--yfs-subtle-grey);
	transition: transform 0.15s ease, color 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	flex-shrink: 0;
}

.yfs-fav-btn:hover {
	transform: scale(1.25);
	color: var(--yfs-amber);
}

.yfs-fav-btn .yfs-fav-icon-filled {
	display: none;
}

.yfs-fav-btn.yfs-is-favorited {
	color: var(--yfs-amber);
}

.yfs-fav-btn.yfs-is-favorited .yfs-fav-icon-empty {
	display: none;
}

.yfs-fav-btn.yfs-is-favorited .yfs-fav-icon-filled {
	display: inline;
	animation: yfsPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes yfsPop {
	0% { transform: scale(0.6); }
	70% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

/* Highlight favorited card */
.yfs-grid-card.yfs-is-favorited {
	border-color: var(--yfs-amber);
	background: #FFFDF9;
}

/* Time Pill (Identical badge styling) */
.yfs-time-pill {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	background: var(--yfs-surface-light);
	border: 1px solid var(--yfs-border);
	color: var(--yfs-petrol);
	font-size: 10.5px;
	font-weight: 700;
	padding: 1.5px 6px;
	border-radius: 5px;
	white-space: nowrap;
	line-height: 1.2;
}

.yfs-time-pill.yfs-pill-subtle {
	background: var(--yfs-surface-light);
	border: 1px solid var(--yfs-border);
	color: var(--yfs-text-muted);
}

/* Teacher Byline (+2pt larger) */
.yfs-teacher-byline {
	font-size: 14px;
	font-weight: 800;
	color: var(--yfs-petrol);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.yfs-teacher-link {
	color: var(--yfs-petrol);
	text-decoration: none;
	transition: color 0.15s ease;
}

.yfs-teacher-link:hover {
	color: var(--yfs-terracotta);
	text-decoration: underline;
}

/* Card Title */
.yfs-card-title {
	margin: 1px 0 0 0;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--yfs-petrol);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.yfs-grid-card.yfs-expanded .yfs-card-title {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.yfs-card-title a {
	color: var(--yfs-petrol);
	text-decoration: none;
	transition: color 0.15s ease;
}

.yfs-card-title a:hover {
	color: var(--yfs-terracotta);
}

/* Compact Badges & Inline mehr Button */
.yfs-card-compact-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px 4px;
	margin-top: 3px;
}

.yfs-badge-group {
	display: contents;
}

.yfs-badge,
.yfs-card-expand-btn.yfs-badge-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 18px;
	min-height: 18px;
	max-height: 18px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	padding: 0 5px;
	border-radius: 4px;
	line-height: 1;
	white-space: nowrap;
	margin: 0;
	vertical-align: middle;
	background: var(--yfs-surface-light);
	border: 1px solid var(--yfs-border);
	color: var(--yfs-petrol);
	text-decoration: none;
}

.yfs-badge:hover {
	background: var(--yfs-panel-light);
	border-color: var(--yfs-amber);
}

/* Inline 'mehr ▾' Button */
.yfs-card-expand-btn.yfs-badge-more {
	background: var(--yfs-surface-light);
	border: 1px solid var(--yfs-border);
	color: var(--yfs-petrol);
	font-weight: 800;
	cursor: pointer;
	transition: all 0.15s ease;
}

.yfs-card-expand-btn.yfs-badge-more:hover {
	background: var(--yfs-panel-light);
	border-color: var(--yfs-amber);
	color: var(--yfs-petrol);
}

.yfs-card-expand-btn.yfs-badge-more .yfs-btn-less {
	display: none;
}

.yfs-grid-card.yfs-expanded .yfs-card-expand-btn.yfs-badge-more {
	background: var(--yfs-panel-light);
	border-color: var(--yfs-border);
	color: var(--yfs-petrol);
}

.yfs-grid-card.yfs-expanded .yfs-card-expand-btn.yfs-badge-more .yfs-btn-more {
	display: none;
}

.yfs-grid-card.yfs-expanded .yfs-card-expand-btn.yfs-badge-more .yfs-btn-less {
	display: inline;
}

.yfs-field-text {
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--yfs-petrol);
}

.yfs-field-label {
	color: var(--yfs-subtle-grey);
	margin-right: 4px;
}

.yfs-field-value {
	color: var(--yfs-petrol);
}

/* Room Pill Badge (Hidden as requested) */
.yfs-room-pill {
	display: none !important;
}

.yfs-card-expanded-content {
	display: none;
	padding-top: 8px;
	margin-top: 6px;
	border-top: 1px dashed var(--yfs-border);
	font-size: 12px;
	line-height: 1.45;
	color: var(--yfs-text-muted);
}

.yfs-grid-card.yfs-expanded .yfs-card-expanded-content {
	display: block;
	animation: yfsFadeIn 0.2s ease-out;
}

/* Landscape Header Image in Expanded Card */
.yfs-card-expanded-banner {
	width: 100%;
	height: 130px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 10px;
	background: var(--yfs-surface-light);
}

.yfs-card-expanded-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.yfs-card-desc-body {
	font-size: 12px;
	line-height: 1.45;
	color: var(--yfs-petrol);
	margin-bottom: 8px;
}

.yfs-card-desc-body p {
	margin: 0 0 6px 0;
}

/* ==========================================================================
   4. Open Time Bucket
   ========================================================================== */
.yfs-open-time-bucket {
	background: var(--yfs-bg-board);
	border: 1px solid var(--yfs-amber);
	border-radius: 0 0 var(--yfs-radius) var(--yfs-radius);
	padding: 20px 24px;
	margin-top: -1px;
}

.yfs-open-time-title {
	margin: 0 0 16px 0;
	font-size: 15px;
	font-weight: 800;
	color: var(--yfs-petrol);
}

.yfs-open-time-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.yfs-static-card {
	background: var(--yfs-card-bg);
	border: 1px solid var(--yfs-border);
	border-radius: var(--yfs-radius);
	padding: 12px;
	box-shadow: 0 2px 6px rgba(31, 36, 33, 0.04);
}

/* ==========================================================================
   5. Mobile 1-Room Swipe & Responsive Breakpoints
   ========================================================================== */
.yfs-mobile-room-nav {
	display: none;
}

@media (max-width: 900px) {
	.yfs-top-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.yfs-festival-title {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	/* Mobile Room Navigation Bar */
	.yfs-mobile-room-nav {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		background: var(--yfs-surface-light);
		padding: 10px 14px;
		border: 1px solid var(--yfs-border);
		border-bottom: none;
	}

	.yfs-m-swipe-hint {
		font-size: 13px;
		color: var(--yfs-petrol);
		font-weight: 700;
		display: flex;
		align-items: center;
		gap: 6px;
		letter-spacing: 0.01em;
	}

	.yfs-m-swipe-hint strong {
		color: var(--yfs-terracotta);
		font-weight: 800;
	}

	.yfs-m-room-pills {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		max-width: 100%;
		padding: 3px 2px;
		-webkit-overflow-scrolling: touch;
	}

	.yfs-m-room-pill {
		background: #FFFFFF;
		border: 1px solid var(--yfs-border);
		color: var(--yfs-petrol);
		font-size: 12px;
		font-weight: 700;
		padding: 6px 14px;
		border-radius: 20px;
		white-space: nowrap;
		cursor: pointer;
		transition: all 0.15s ease;
		display: inline-flex;
		align-items: center;
		gap: 4px;
		box-shadow: 0 1px 3px rgba(31, 36, 33, 0.04);
	}

	.yfs-m-room-pill.yfs-active {
		background: var(--yfs-petrol);
		color: #FFFFFF;
		border-color: var(--yfs-petrol);
		box-shadow: 0 2px 6px rgba(6, 52, 60, 0.25);
	}

	/* Scroll & Snap Mechanics */
	.yfs-grid-board-scroll {
		container-type: inline-size;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 48px;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
	}

	.yfs-grid-board {
		min-width: unset;
		width: max-content;
	}

	.yfs-board-header-row {
		width: max-content;
	}

	.yfs-board-body {
		width: max-content;
	}

	.yfs-rooms-tracks-container {
		width: max-content;
	}

	/* Sticky Time Column */
	.yfs-time-axis-header,
	.yfs-time-axis-track {
		width: 48px;
		min-width: 48px;
		max-width: 48px;
		position: sticky;
		left: 0;
		z-index: 15;
		background: var(--yfs-card-bg);
		box-shadow: 2px 0 8px rgba(31, 36, 33, 0.08);
	}

	.yfs-grid-guidelines {
		left: 48px;
	}

	.yfs-time-label {
		font-size: 9.5px;
	}

	/* 1 Room per Screen Snap (Container-relative width) */
	.yfs-room-header,
	.yfs-room-track {
		width: calc(100vw - 80px);
		width: calc(100cqw - 48px);
		width: var(--yfs-mobile-room-width, calc(100cqw - 48px));
		min-width: 0;
		max-width: none;
		flex: 0 0 var(--yfs-mobile-room-width, calc(100cqw - 48px));
		scroll-snap-align: start;
		scroll-snap-stop: always;
		box-sizing: border-box;
	}

	.yfs-card-title {
		font-size: 13.5px;
	}
}

/* ==========================================================================
   5. ⭐ Mein Plan (Personal Schedule View & Cards)
   ========================================================================== */
.yfs-myplan-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--yfs-petrol);
	padding: 14px 20px;
	border-radius: var(--yfs-radius) var(--yfs-radius) 0 0;
	border-bottom: 2.5px solid var(--yfs-amber);
	gap: 12px;
	flex-wrap: wrap;
}

.yfs-myplan-subheading {
	margin: 2px 0 0 0;
	font-size: 12.5px;
	color: var(--yfs-border);
}

.yfs-myplan-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.yfs-myplan-share-btn {
	background: var(--yfs-amber, #0A8F9F);
	border: 1px solid var(--yfs-amber, #0A8F9F);
	color: #FFFFFF;
	font-size: 11.5px;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	box-shadow: 0 2px 6px rgba(10, 143, 159, 0.25);
}

.yfs-myplan-share-btn:hover {
	background: var(--yfs-terracotta, #F9AF32);
	border-color: var(--yfs-terracotta, #F9AF32);
	transform: translateY(-1px);
}

.yfs-myplan-clear-btn {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #FFFFFF;
	font-size: 11.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.yfs-myplan-clear-btn:hover {
	background: var(--yfs-terracotta);
	border-color: var(--yfs-terracotta);
}

.yfs-myplan-container {
	background: var(--yfs-bg-board);
	border: 1px solid var(--yfs-border);
	border-top: none;
	border-radius: 0 0 var(--yfs-radius) var(--yfs-radius);
	padding: 24px 20px;
	min-height: 280px;
}

/* Empty State */
.yfs-myplan-empty {
	text-align: center;
	padding: 48px 20px;
	max-width: 480px;
	margin: 0 auto;
}

.yfs-myplan-empty-icon {
	font-size: 42px;
	color: var(--yfs-amber);
	margin-bottom: 12px;
	line-height: 1;
}

.yfs-myplan-empty-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--yfs-petrol);
	margin: 0 0 8px 0;
}

.yfs-myplan-empty-text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--yfs-text-muted);
	margin: 0;
}

/* Populated List & Chronological Timeslot Groups */
.yfs-myplan-day-section {
	margin-bottom: 28px;
}

.yfs-myplan-day-section:last-child {
	margin-bottom: 0;
}

.yfs-myplan-day-title {
	border-bottom: 2px solid var(--yfs-border);
	padding-bottom: 6px;
	margin-bottom: 16px;
}

.yfs-myplan-day-title h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--yfs-petrol);
}

.yfs-myplan-day-slots {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.yfs-myplan-slot-group {
	display: grid;
	gap: 14px;
	width: 100%;
}

/* 1 Column full width for single timeslot workshop */
.yfs-myplan-slot-group.yfs-single-slot {
	grid-template-columns: 1fr;
}

/* 2 Columns side-by-side for parallel/same-time workshops */
.yfs-myplan-slot-group.yfs-multi-slot {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 680px) {
	.yfs-myplan-slot-group.yfs-multi-slot {
		grid-template-columns: 1fr;
	}
}

.yfs-myplan-card {
	background: var(--yfs-card-bg);
	border: 1.5px solid var(--yfs-border);
	border-left: 4px solid var(--yfs-amber);
	border-radius: 10px;
	padding: 14px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	box-shadow: 0 2px 6px rgba(31, 36, 33, 0.04);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yfs-myplan-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(31, 36, 33, 0.08);
}

.yfs-myplan-card-left {
	flex: 1;
	min-width: 0;
}

.yfs-myplan-time-room {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.yfs-myplan-title {
	margin: 0 0 4px 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.yfs-myplan-title a {
	color: var(--yfs-petrol);
	text-decoration: none;
}

.yfs-myplan-title a:hover {
	color: var(--yfs-terracotta);
}

.yfs-myplan-teacher {
	font-size: 13px;
	color: var(--yfs-text-muted);
	margin-bottom: 6px;
}

.yfs-myplan-teacher strong {
	color: var(--yfs-petrol);
}

.yfs-myplan-remove-btn {
	color: var(--yfs-amber);
	font-size: 18px;
}

.yfs-myplan-remove-btn:hover {
	color: var(--yfs-terracotta);
}

/* ==========================================================================
   6. Teacher Workshops Bidirectional Box & Divi 5 Module
   ========================================================================== */
.yfs-divi5-module-wrap {
	width: 100%;
	display: block;
}

.yfs-teacher-schedule-box {
	margin: 40px 0;
	padding: 0;
	font-family: var(--yfs-font, "Nunito Sans", sans-serif);
	box-sizing: border-box;
}

.yfs-teacher-schedule-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--yfs-border);
}

.yfs-ts-heading {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	color: var(--yfs-petrol);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.yfs-ts-subheading {
	margin: 6px 0 0 0;
	font-size: 14px;
	color: var(--yfs-text-muted);
	line-height: 1.4;
}

.yfs-ts-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.yfs-ts-header-btn,
a.yfs-ts-header-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--yfs-amber, #0A8F9F) !important;
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 800;
	padding: 8px 18px;
	border-radius: 20px;
	text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(10, 143, 159, 0.25);
	transition: all 0.2s ease;
	white-space: nowrap;
}

.yfs-ts-header-btn:hover,
a.yfs-ts-header-btn:hover {
	background: var(--yfs-petrol, #06343C) !important;
	color: #FFFFFF !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(6, 52, 60, 0.3);
}

.yfs-ts-badge {
	background: var(--yfs-petrol);
	color: var(--yfs-yellow);
	font-size: 13px;
	font-weight: 800;
	padding: 6px 14px;
	border-radius: 20px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(31, 36, 33, 0.15);
}

.yfs-teacher-workshops-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.yfs-teacher-ws-card {
	background: var(--yfs-card-bg);
	border: 1.5px solid var(--yfs-border);
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 4px 14px rgba(31, 36, 33, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.yfs-teacher-ws-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(31, 36, 33, 0.1);
	border-color: var(--yfs-amber, #0A8F9F) !important;
}

/* Workshop Landscape Banner for Line-Up Card */
.yfs-tws-banner-box {
	width: calc(100% + 40px);
	margin: -20px -20px 16px -20px;
	height: 180px;
	max-height: 200px;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
	background: var(--yfs-panel-light);
}

.yfs-tws-banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.yfs-teacher-ws-card:hover .yfs-tws-banner-img {
	transform: scale(1.03);
}

.yfs-tws-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.yfs-tws-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.yfs-tws-fav-btn {
	width: 34px;
	height: 34px;
	font-size: 24px;
	flex-shrink: 0;
	background: var(--yfs-surface-light, rgba(6, 52, 60, 0.05));
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.yfs-tws-fav-btn:hover {
	background: var(--yfs-panel-light, rgba(10, 143, 159, 0.12));
	transform: scale(1.15);
}

.yfs-tws-pill {
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	line-height: 1.3;
}

.yfs-tws-day {
	background: var(--yfs-petrol);
	color: #FFFFFF;
}

.yfs-tws-time {
	background: var(--yfs-bg-board);
	color: var(--yfs-petrol);
	border: 1px solid var(--yfs-border);
	font-weight: 800;
}

.yfs-tws-room {
	background: var(--yfs-surface-light);
	color: var(--yfs-petrol);
	border: 1px solid var(--yfs-border);
}

.yfs-tws-title {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

.yfs-tws-title a {
	color: var(--yfs-petrol);
	text-decoration: none;
	transition: color 0.15s ease;
}

.yfs-tws-title a:hover {
	color: var(--yfs-terracotta);
}

.yfs-tws-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.yfs-tws-badges .yfs-badge {
	background: var(--yfs-surface-light);
	color: var(--yfs-petrol);
	border: 1px solid var(--yfs-border);
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
}

.yfs-tws-excerpt {
	margin: 8px 0 16px 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--yfs-text-muted);
}

.yfs-tws-excerpt p {
	margin: 0 0 10px 0;
}

.yfs-tws-excerpt p:last-child {
	margin-bottom: 0;
}

.yfs-tws-footer {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed var(--yfs-border);
	display: flex;
	justify-content: flex-end;
}

.yfs-tws-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--yfs-surface-light);
	color: var(--yfs-petrol);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 8px;
	border: 1px solid var(--yfs-border);
	text-decoration: none;
	transition: all 0.15s ease;
}

.yfs-tws-btn:hover {
	background: var(--yfs-terracotta);
	color: #FFFFFF;
	border-color: var(--yfs-terracotta);
}

@media (max-width: 768px) {
	.yfs-teacher-schedule-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.yfs-ts-heading {
		font-size: 20px;
	}

	.yfs-teacher-workshops-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   YFS Bio-Site Master Hero & Full Line-Up Teacher Profile
   ========================================================================== */

/* Unconstrain Divi row & section container for Line-Up */
body.single-line-up .et_pb_section,
body.single-line-up .et_pb_row,
.et_pb_row:has(.yfs-lineup-master-container) {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.yfs-lineup-master-container {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto 40px auto;
	padding: 0 24px;
	box-sizing: border-box;
	font-family: var(--yfs-font);
	color: var(--yfs-petrol);
}

/* 1. Cover Banner */
.yfs-lup-hero-wrapper {
	position: relative;
	margin-bottom: 48px;
}

.yfs-lup-cover-banner {
	width: 100%;
	height: 380px;
	border-radius: 24px;
	background-size: cover;
	background-position: center center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(31, 36, 33, 0.12);
}

.yfs-lup-cover-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 52, 60, 0.15) 0%, rgba(6, 52, 60, 0.75) 100%);
}

/* 2. Overlapping Profile Header (50/50 Overlap) */
.yfs-lup-profile-header {
	position: relative;
	text-align: center;
	padding: 0 20px;
	margin-top: -95px;
	z-index: 10;
}

.yfs-lup-avatar-wrap {
	position: relative;
	display: inline-block;
	margin-bottom: 12px;
}

.yfs-lup-avatar-img {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 5px solid #FFFFFF;
	object-fit: cover;
	box-shadow: 0 12px 36px rgba(31, 36, 33, 0.22);
	background: #FFFFFF;
	display: block;
}

.yfs-lup-avatar-fallback {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 5px solid #FFFFFF;
	background: var(--yfs-bg-board);
	color: var(--yfs-petrol);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	box-shadow: 0 12px 36px rgba(31, 36, 33, 0.22);
}

.yfs-lup-verified-badge {
	display: none !important;
}

.yfs-lup-name {
	font-family: var(--yfs-font);
	font-size: 42px;
	font-weight: 800;
	color: var(--yfs-petrol);
	margin: 8px 0 4px 0;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.yfs-lup-style-subtitle {
	font-size: 19px;
	font-weight: 700;
	color: var(--yfs-text-muted);
	margin: 0 0 18px 0;
}

/* Quick-Facts Pills */
.yfs-lup-pills-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
}

.yfs-lup-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--yfs-surface-light);
	color: var(--yfs-petrol);
	border: 1px solid var(--yfs-border);
	border-radius: 24px;
	padding: 7px 18px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(31, 36, 33, 0.04);
}

.yfs-lup-pill a {
	color: var(--yfs-petrol);
	text-decoration: none;
	transition: color 0.15s ease;
}

.yfs-lup-pill a:hover {
	color: var(--yfs-terracotta);
}

.yfs-lup-hero-cta {
	margin-top: 8px;
	margin-bottom: 36px;
}

.yfs-lup-hero-btn,
a.yfs-lup-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--yfs-amber, #0A8F9F) !important;
	color: #FFFFFF !important;
	font-size: 16px;
	font-weight: 800;
	padding: 14px 36px;
	border-radius: 30px;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(10, 143, 159, 0.35);
	transition: all 0.2s ease;
}

.yfs-lup-hero-btn:hover,
a.yfs-lup-hero-btn:hover {
	background: var(--yfs-petrol, #06343C) !important;
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(6, 52, 60, 0.45);
}

/* 2. Story & Highlights 2-Column Grid */
.yfs-lup-bio-section {
	margin-bottom: 64px;
}

.yfs-lup-bio-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
	align-items: start;
}

.yfs-lup-section-heading {
	font-family: var(--yfs-font);
	font-size: 28px;
	font-weight: 800;
	color: var(--yfs-petrol);
	margin: 0 0 16px 0;
	letter-spacing: -0.01em;
}

.yfs-lup-bio-body {
	font-size: 17px;
	line-height: 1.7;
	color: var(--yfs-text-muted);
}

.yfs-lup-bio-body p {
	margin-bottom: 16px;
}

/* Trust / Highlights Card (3 Fakten Card) */
.yfs-lup-trust-card {
	background: var(--yfs-bg-board);
	border: 1.5px solid var(--yfs-border);
	border-radius: 20px;
	padding: 32px 28px;
	box-shadow: 0 8px 24px rgba(31, 36, 33, 0.05);
}

.yfs-trust-heading {
	font-family: var(--yfs-font);
	font-size: 20px;
	font-weight: 800;
	color: var(--yfs-petrol);
	margin: 0 0 18px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--yfs-border);
}

.yfs-trust-list {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.yfs-trust-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.yfs-trust-icon {
	font-size: 22px;
	line-height: 1.2;
	flex-shrink: 0;
}

.yfs-trust-text strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--yfs-petrol);
	margin-bottom: 2px;
}

.yfs-trust-text p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--yfs-text-muted);
}

.yfs-trust-card-footer {
	border-top: 1px dashed var(--yfs-border);
	padding-top: 14px;
	text-align: center;
}

.yfs-trust-scroll-btn {
	display: inline-block;
	color: var(--yfs-amber, #0A8F9F) !important;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.yfs-trust-scroll-btn:hover {
	color: var(--yfs-terracotta, #F9AF32) !important;
	transform: translateY(-1px);
}

/* Book Button directly under Trust Card */
.yfs-lup-book-btn,
a.yfs-lup-book-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--yfs-amber, #0A8F9F) !important;
	color: #FFFFFF !important;
	font-size: 15px;
	font-weight: 800;
	padding: 13px 28px;
	border-radius: 30px;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(10, 143, 159, 0.35);
	transition: all 0.2s ease;
	margin-top: 20px;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.yfs-lup-book-btn:hover,
a.yfs-lup-book-btn:hover {
	background: var(--yfs-petrol, #06343C) !important;
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(6, 52, 60, 0.45);
}

/* 3. Schedule Wrapper */
.yfs-lup-schedule-wrap {
	margin-bottom: 64px;
}

/* 4. Bottom High-Converting Call to Action Banner */
.yfs-lup-bottom-cta {
	background: var(--yfs-petrol);
	color: #FFFFFF;
	border-radius: 24px;
	padding: 56px 40px;
	text-align: center;
	box-shadow: 0 16px 48px rgba(31, 36, 33, 0.25);
	margin-top: 48px;
}

.yfs-bottom-cta-inner {
	max-width: 720px;
	margin: 0 auto;
}

.yfs-lineup-master-container h2.yfs-bottom-cta-title,
.yfs-bottom-cta-title {
	font-family: var(--yfs-font);
	font-size: 34px;
	font-weight: 800;
	color: var(--yfs-terracotta) !important;
	margin: 0 0 12px 0;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.yfs-bottom-cta-desc {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	margin: 0 0 28px 0;
}

/* Bottom Button: Same Button Design as Hero Button */
.yfs-bottom-cta-btn,
a.yfs-bottom-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #F9AF32 !important;
	color: #3C2906 !important;
	font-size: 16px;
	font-weight: 800;
	padding: 14px 36px;
	border-radius: 30px;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(249, 175, 50, 0.35);
	transition: all 0.2s ease;
}

.yfs-bottom-cta-btn:hover,
a.yfs-bottom-cta-btn:hover {
	background: #F9CA76 !important;
	color: #3C2906 !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(249, 175, 50, 0.45);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.yfs-lineup-master-container {
		padding: 0 12px;
	}

	.yfs-lup-cover-banner {
		height: 230px;
		border-radius: 16px;
	}

	.yfs-lup-profile-header {
		margin-top: -70px;
		padding: 0 8px;
	}

	.yfs-lup-avatar-img,
	.yfs-lup-avatar-fallback {
		width: 140px;
		height: 140px;
	}

	.yfs-lup-name {
		font-size: 30px;
	}

	.yfs-lup-style-subtitle {
		font-size: 16px;
	}

	.yfs-lup-pills-bar {
		gap: 8px;
		margin-bottom: 20px;
	}

	.yfs-lup-pill {
		padding: 6px 14px;
		font-size: 13px;
	}

	.yfs-lup-hero-btn {
		width: 100%;
		justify-content: center;
		padding: 13px 20px;
		font-size: 15px;
	}

	.yfs-lup-bio-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.yfs-lup-bottom-cta {
		padding: 36px 16px;
		border-radius: 16px;
	}

	.yfs-bottom-cta-title {
		font-size: 24px;
	}

	.yfs-bottom-cta-btn {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
	}
}

/* ==========================================================================
   Campaign Teaser Banner & Countdown Shortcode
   ========================================================================== */
.yfs-lup-campaign-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 20px;
	margin-top: 16px;
	padding: 14px 24px;
	background: #FFF9E6 !important;
	border: 1.5px solid var(--yfs-yellow, #F9CA76) !important;
	border-radius: 16px !important;
	box-shadow: 0 4px 16px rgba(249, 175, 50, 0.12) !important;
	text-align: center;
}

.yfs-lup-campaign-text {
	color: var(--yfs-amber, #0A8F9F) !important;
	font-weight: 700 !important;
	font-size: 14.5px !important;
	line-height: 1.4 !important;
}

.yfs-lup-campaign-btn,
a.yfs-lup-campaign-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--yfs-amber, #0A8F9F) !important;
	color: #FFFFFF !important;
	font-size: 13.5px !important;
	font-weight: 800 !important;
	padding: 8px 18px !important;
	border-radius: 20px !important;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(10, 143, 159, 0.25) !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
}

.yfs-lup-campaign-btn:hover,
a.yfs-lup-campaign-btn:hover {
	background: var(--yfs-petrol, #06343C) !important;
	color: #FFFFFF !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(6, 52, 60, 0.3) !important;
}

.yfs-countdown-compact-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #06191D;
	border: 1px solid rgba(60, 186, 195, 0.35);
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 12.5px;
	font-weight: 700;
	color: #3CBAC3;
	font-variant-numeric: tabular-nums;
	font-family: monospace, sans-serif;
}

/* Box Style Countdown (Matches Find a Friend Card) */
.yfs-countdown-box-wrap {
	background: #0E292E !important;
	border: 1px solid rgba(60, 186, 195, 0.25) !important;
	border-radius: 20px !important;
	padding: 26px 32px !important;
	max-width: 680px !important;
	margin: 0 auto !important;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2), 0 0 40px rgba(60, 186, 195, 0.1) !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

.yfs-countdown-box-title {
	display: block !important;
	width: 100% !important;
	color: var(--yfs-yellow, #FFC72C) !important;
	font-family: 'Nunito Sans', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	text-align: center !important;
	margin: 0 0 20px 0 !important;
}

.yfs-countdown-box-units {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
}

.yfs-countdown-unit {
	background: #06191D !important;
	border: 1px solid rgba(60, 186, 195, 0.25) !important;
	border-radius: 14px !important;
	padding: 14px 18px !important;
	min-width: 86px !important;
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	transition: border-color 0.2s, transform 0.2s !important;
}

.yfs-countdown-unit:hover {
	border-color: var(--yfs-yellow, #FFC72C) !important;
	transform: translateY(-2px) !important;
}

.yfs-countdown-val {
	color: #FFFFFF !important;
	font-size: 34px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-variant-numeric: tabular-nums !important;
	font-family: 'Nunito Sans', sans-serif !important;
}

.yfs-countdown-lbl {
	color: #FFFFFF !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	margin: 6px 0 0 0 !important;
	padding: 0 !important;
	font-family: 'Nunito Sans', sans-serif !important;
}

.yfs-countdown-sep {
	color: #3CBAC3 !important;
	font-size: 20px !important;
	margin: 0 -2px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

/* WooCommerce Stock Counter Unit */
.yfs-countdown-unit.yfs-stock-unit {
	background: #0E292E !important;
	border: 1.5px solid #FFC72C !important;
	box-shadow: 0 4px 16px rgba(255, 199, 44, 0.2) !important;
}

.yfs-countdown-val.yfs-stock-val {
	color: #FFC72C !important;
}

.yfs-countdown-lbl.yfs-stock-lbl {
	color: #FFFFFF !important;
	font-weight: 800 !important;
}

.yfs-stock-pill {
	background: #FFC72C;
	color: #06191D;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 12px;
	margin-left: 8px;
}

@media (max-width: 600px) {
	.yfs-countdown-box-wrap {
		padding: 16px 8px !important;
		border-radius: 14px !important;
	}
	.yfs-countdown-box-units {
		gap: 4px !important;
		flex-wrap: nowrap !important;
	}
	.yfs-countdown-unit {
		padding: 10px 8px !important;
		min-width: 64px !important;
	}
	.yfs-countdown-val {
		font-size: 18px !important;
	}
	.yfs-countdown-lbl {
		font-size: 8.5px !important;
		letter-spacing: 0.5px !important;
	}
	.yfs-lup-campaign-banner {
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		padding: 14px 16px !important;
	}
}


.yfs-time-pill.yfs-time-highlight,
.yfs-tws-pill.yfs-time-highlight {
	background: var(--yfs-amber);
	border-color: var(--yfs-amber);
	color: #FFFFFF;
}

/* ==========================================================================
   Share Modal, Story Preview & Toast Notification
   ========================================================================== */
.yfs-share-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(6, 25, 29, 0.75);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.yfs-share-modal-dialog {
	background: #FFFFFF;
	border-radius: 16px;
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	animation: yfsFadeIn 0.2s ease-out;
}

.yfs-share-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 24px;
	background: var(--yfs-petrol, #06343C);
	color: #FFFFFF;
	border-radius: 16px 16px 0 0;
}

.yfs-share-modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #FFFFFF;
}

.yfs-share-modal-close {
	background: transparent;
	border: none;
	color: #FFFFFF;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
	opacity: 0.8;
	transition: opacity 0.15s ease;
}

.yfs-share-modal-close:hover {
	opacity: 1;
}

.yfs-share-modal-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.yfs-share-modal-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--yfs-text-muted, #10201F);
}

.yfs-share-field-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.yfs-share-label {
	font-size: 12.5px;
	font-weight: 800;
	color: var(--yfs-petrol, #06343C);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.yfs-share-input-wrap,
.yfs-share-textarea-wrap {
	display: flex;
	gap: 8px;
}

.yfs-share-input {
	flex: 1;
	background: var(--yfs-surface-light, #F1F8F8);
	border: 1.5px solid var(--yfs-border, #C3E5E5);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	color: var(--yfs-petrol, #06343C);
	outline: none;
	font-family: inherit;
}

.yfs-share-textarea {
	flex: 1;
	background: var(--yfs-surface-light, #F1F8F8);
	border: 1.5px solid var(--yfs-border, #C3E5E5);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--yfs-petrol, #06343C);
	outline: none;
	font-family: inherit;
	resize: none;
}

.yfs-share-copy-btn {
	background: var(--yfs-amber, #0A8F9F);
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	padding: 0 16px;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.yfs-share-copy-btn:hover {
	background: var(--yfs-terracotta, #F9AF32);
	transform: translateY(-1px);
}

.yfs-share-hint {
	margin: 2px 0 0 0;
	font-size: 11.5px;
	color: var(--yfs-text-muted, #10201F);
	opacity: 0.8;
}

/* Instagram Story Visual Card Preview */
.yfs-story-card-preview {
	background: linear-gradient(145deg, #06343C, #0E292E);
	border-radius: 12px;
	padding: 18px 20px;
	color: #FFFFFF;
	border: 1.5px solid var(--yfs-amber, #0A8F9F);
	box-shadow: 0 8px 24px rgba(6, 52, 60, 0.25);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yfs-story-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding-bottom: 8px;
}

.yfs-story-logo {
	font-weight: 800;
	font-size: 13px;
	color: #FFC72C;
}

.yfs-story-badge {
	font-size: 11px;
	background: rgba(255, 255, 255, 0.15);
	padding: 2px 8px;
	border-radius: 10px;
	font-weight: 700;
}

.yfs-story-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 220px;
	overflow-y: auto;
}

.yfs-story-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 6px 10px;
	border-left: 3px solid #FFC72C;
}

.yfs-story-item-time {
	font-size: 10.5px;
	color: #3CBAC3;
	font-weight: 700;
}

.yfs-story-item-title {
	font-size: 12.5px;
	font-weight: 800;
	color: #FFFFFF;
	line-height: 1.25;
}

.yfs-story-item-teacher {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
}

.yfs-story-footer {
	text-align: center;
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.5px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 6px;
}

/* Toast Notification */
.yfs-toast-notification {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: #06343C;
	color: #FFFFFF;
	border: 1.5px solid #FFC72C;
	padding: 12px 24px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
	z-index: 1000000;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: yfsPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.yfs-toast-icon {
	color: #FFC72C;
	font-weight: 800;
	font-size: 16px;
}
