/**
 * Vui Hát Lễ - Tap Le Shortcodes Styles
 * UI/UX Pro Max: Danh Sách Tập Lễ & Bộ Lễ Phụng Vụ Tuyển Chọn
 * Trang trọng, Tinh tế, Phụng vụ Công Giáo, Tương thích hoàn toàn Flatsome UX Builder.
 *
 * @package VuiHatLe
 */

:root {
	--vhl-tl-navy: #1e3a8a;
	--vhl-tl-navy-dark: #0f172a;
	--vhl-tl-navy-light: #eff6ff;
	--vhl-tl-gold: #d97706;
	--vhl-tl-gold-light: #fef3c7;
	--vhl-tl-gold-dark: #b45309;
	--vhl-tl-text-main: #1e293b;
	--vhl-tl-text-muted: #64748b;
	--vhl-tl-border: #e2e8f0;
	--vhl-tl-border-hover: #cbd5e1;
	--vhl-tl-bg-card: #ffffff;
	--vhl-tl-bg-subtle: #f8fafc;
	--vhl-tl-radius: 14px;
	--vhl-tl-radius-sm: 8px;
	--vhl-tl-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
	--vhl-tl-shadow-hover: 0 12px 24px -4px rgba(30, 58, 138, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

.vhl-taple-shortcode-wrap {
	margin: 2rem 0 2.5rem;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.vhl-taple-shortcode-wrap *,
.vhl-taple-shortcode-wrap *::before,
.vhl-taple-shortcode-wrap *::after {
	box-sizing: border-box;
}

/* ==========================================================================
   Header Khối (Heading - Phong cách Tối Giản Tinh Tế)
   ========================================================================== */
.vhl-taple-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f1f5f9;
	gap: 1rem;
	flex-wrap: wrap;
}

.vhl-taple-title-wrap {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.vhl-taple-shortcode-wrap .vhl-heading-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #f8fafc;
	color: var(--vhl-tl-navy);
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
	box-shadow: none;
}

.vhl-taple-shortcode-wrap .vhl-heading-texts {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.vhl-taple-title {
	margin: 0 !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	color: var(--vhl-tl-navy-dark) !important;
	letter-spacing: -0.01em;
	line-height: 1.3 !important;
}

.vhl-taple-subtitle {
	margin: 0 !important;
	font-size: 0.8rem !important;
	color: var(--vhl-tl-text-muted) !important;
	line-height: 1.35 !important;
}

.vhl-taple-heading-badge {
	font-size: 0.75rem;
	color: #64748b;
	background: #f8fafc;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	font-weight: 500;
	white-space: nowrap;
}

/* ==========================================================================
   Trường hợp không có dữ liệu (Empty State)
   ========================================================================== */
.vhl-taple-empty {
	text-align: center;
	padding: 3rem 1.5rem;
	background: var(--vhl-tl-bg-subtle);
	border: 1px dashed var(--vhl-tl-border);
	border-radius: var(--vhl-tl-radius);
	color: var(--vhl-tl-text-muted);
}

.vhl-taple-empty .vhl-empty-icon {
	font-size: 2.2rem;
	display: block;
	margin-bottom: 0.5rem;
}

.vhl-taple-empty p {
	margin: 0 0 0.75rem 0 !important;
	font-size: 0.95rem;
}

.vhl-taple-login-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--vhl-tl-navy);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
}

.vhl-taple-login-link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   STYLE 1: CARDS VIEW (Mạng lưới thẻ đầy đủ)
   ========================================================================== */
.vhl-taple-grid-container {
	display: grid;
	grid-template-columns: repeat(var(--vhl-cols, 3), minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
}

.vhl-taple-card-full {
	display: flex;
	flex-direction: column;
	background: var(--vhl-tl-bg-card);
	border: 1px solid var(--vhl-tl-border);
	border-radius: var(--vhl-tl-radius);
	box-shadow: var(--vhl-tl-shadow);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	height: 100%;
}

.vhl-taple-card-full:hover {
	border-color: var(--vhl-tl-border-hover);
	box-shadow: var(--vhl-tl-shadow-hover);
	transform: translateY(-3px);
}

.vhl-taple-card-inner {
	display: flex;
	flex-direction: column;
	padding: 1.15rem 1.25rem;
	height: 100%;
}

/* Card Top: Tác giả & Số bài */
.vhl-taple-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.vhl-taple-author {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	text-decoration: none !important;
	min-width: 0;
}

.vhl-author-avatar {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vhl-author-avatar img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
	margin: 0 !important;
	display: block !important;
}

.vhl-author-name {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--vhl-tl-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.15s ease;
}

.vhl-taple-author:hover .vhl-author-name {
	color: var(--vhl-tl-navy);
}

.vhl-taple-count-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.75rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--vhl-tl-navy-light);
	color: var(--vhl-tl-navy);
	border: 1px solid #dbeafe;
	flex-shrink: 0;
	font-weight: 500;
}

.vhl-taple-count-pill strong {
	font-weight: 700;
}

/* Card Title */
.vhl-taple-item-title {
	margin: 0 0 0.35rem 0 !important;
	font-size: 1.05rem !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
}

.vhl-taple-item-title a {
	color: var(--vhl-tl-navy-dark);
	text-decoration: none;
	transition: color 0.15s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vhl-taple-item-title a:hover {
	color: var(--vhl-tl-navy);
}

/* Choir & Parish */
.vhl-taple-item-choir {
	margin: 0 0 0.75rem 0 !important;
	font-size: 0.78rem !important;
	color: #94a3b8 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Preview Bài Hát trong Tập Lễ */
.vhl-taple-preview-wrap {
	flex: 1 1 auto;
	margin: 0.5rem 0 1rem 0;
	padding: 0.65rem 0.75rem;
	background: var(--vhl-tl-bg-subtle);
	border: 1px solid #f1f5f9;
	border-radius: var(--vhl-tl-radius-sm);
}

.vhl-taple-preview-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.vhl-preview-song-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	min-width: 0;
}

.vhl-preview-ritual-tag {
	display: inline-block;
	font-size: 0.68rem;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-weight: 600;
	flex-shrink: 0;
	line-height: 1.25;
}

/* Phối màu phụng vụ chuẩn mực */
.vhl-preview-ritual-tag.is-nhap_le {
	background: #eff6ff;
	color: #1e40af;
	border: 1px solid #dbeafe;
}

.vhl-preview-ritual-tag.is-bo_le {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid #fef3c7;
}

.vhl-preview-ritual-tag.is-dap_ca {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.vhl-preview-ritual-tag.is-alleluia {
	background: #faf5ff;
	color: #6b21a8;
	border: 1px solid #f3e8ff;
}

.vhl-preview-ritual-tag.is-dang_le {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.vhl-preview-ritual-tag.is-hiep_le {
	background: #fdf2f8;
	color: #9d174d;
	border: 1px solid #fbcfe8;
}

.vhl-preview-ritual-tag.is-ta_le {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.vhl-preview-ritual-tag.is-khac {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
}

.vhl-preview-song-name {
	color: var(--vhl-tl-text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1 1 auto;
}

.vhl-preview-more-count {
	margin-top: 0.4rem;
	font-size: 0.72rem;
	color: #94a3b8;
	font-style: italic;
	text-align: right;
}

.vhl-preview-empty-hint {
	font-size: 0.78rem;
	color: #94a3b8;
	font-style: italic;
	text-align: center;
	padding: 0.5rem 0;
}

/* Card Footer */
.vhl-taple-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.75rem;
	border-top: 1px solid #f1f5f9;
	margin-top: auto;
}

.vhl-taple-time {
	font-size: 0.75rem;
	color: #94a3b8;
}

.vhl-link-view-taple {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--vhl-tl-navy);
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.vhl-link-view-taple svg {
	transition: transform 0.2s ease;
}

.vhl-link-view-taple:hover {
	color: #1d4ed8;
}

.vhl-link-view-taple:hover svg {
	transform: translateX(3px);
}

/* ==========================================================================
   STYLE 2: COMPACT VIEW (Thanh Ngang Tối Giản Tinh Tế)
   ========================================================================== */
.vhl-taple-compact-grid {
	display: grid;
	grid-template-columns: repeat(var(--vhl-cols, 3), minmax(0, 1fr));
	gap: 0.75rem;
	width: 100%;
}

.vhl-taple-compact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.85rem;
	background: var(--vhl-tl-bg-card);
	border: 1px solid var(--vhl-tl-border);
	border-radius: var(--vhl-tl-radius-sm);
	text-decoration: none !important;
	transition: all 0.2s ease;
	min-width: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.vhl-taple-compact-item:hover {
	border-color: var(--vhl-tl-border-hover);
	background: var(--vhl-tl-bg-subtle);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px -2px rgba(15, 23, 42, 0.06);
}

.vhl-compact-icon-wrap {
	width: 34px;
	height: 34px;
	min-width: 34px;
	border-radius: 8px;
	background: var(--vhl-tl-navy-light);
	color: var(--vhl-tl-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid #dbeafe;
}

.vhl-compact-content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.vhl-compact-title {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--vhl-tl-navy-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.vhl-taple-compact-item:hover .vhl-compact-title {
	color: var(--vhl-tl-navy);
}

.vhl-compact-subinfo {
	font-size: 0.74rem;
	color: var(--vhl-tl-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.vhl-compact-right {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	padding-left: 0.25rem;
}

.vhl-compact-arrow {
	font-size: 1.15rem;
	color: #94a3b8;
	line-height: 1;
	transition: transform 0.15s ease, color 0.15s ease;
}

.vhl-taple-compact-item:hover .vhl-compact-arrow {
	color: var(--vhl-tl-navy);
	transform: translateX(2px);
}

.vhl-compact-badge.is-private {
	font-size: 0.85rem;
	line-height: 1;
}

/* ==========================================================================
   STYLE 3: LIST VIEW (Danh Sách Dọc)
   ========================================================================== */
.vhl-taple-list-container {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	width: 100%;
}

.vhl-taple-list-container .vhl-taple-compact-item {
	padding: 0.85rem 1.15rem;
}

.vhl-taple-list-container .vhl-compact-title {
	font-size: 0.95rem;
}

.vhl-taple-list-container .vhl-compact-subinfo {
	font-size: 0.78rem;
}

/* ==========================================================================
   STYLE 4: SLIDER / CAROUSEL (Trình Chiếu Tập Lễ)
   ========================================================================== */
.vhl-style-slider .vhl-slider-outer {
	position: relative;
	width: 100%;
}

.vhl-taple-slider-track {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.5rem 0.25rem 1rem;
	margin: -0.5rem -0.25rem -1rem;
	user-select: none;
	cursor: grab;
}

.vhl-taple-slider-track::-webkit-scrollbar {
	display: none;
}

.vhl-taple-slider-track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
}

.vhl-taple-slide {
	flex: 0 0 calc((100% - (var(--vhl-cols, 3) - 1) * 1.25rem) / var(--vhl-cols, 3));
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	display: flex;
	min-width: 0;
	box-sizing: border-box;
}

.vhl-taple-slide .vhl-taple-card-full {
	width: 100%;
	height: 100%;
}

/* Reset Flatsome button styles for Slider Arrows & Dots */
.vhl-taple-shortcode-wrap button.vhl-slider-arrow,
.vhl-taple-shortcode-wrap .vhl-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	border-radius: 50% !important;
	background: #ffffff;
	border: 1px solid var(--vhl-tl-border);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
	z-index: 10;
	color: var(--vhl-tl-navy-dark);
	transition: all 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.vhl-taple-shortcode-wrap button.vhl-slider-arrow:hover {
	background: var(--vhl-tl-navy);
	color: #ffffff;
	border-color: var(--vhl-tl-navy);
	box-shadow: 0 6px 18px rgba(30, 58, 138, 0.25);
	transform: translateY(-50%) scale(1.06);
}

.vhl-taple-shortcode-wrap .vhl-slider-prev {
	left: -18px;
}

.vhl-taple-shortcode-wrap .vhl-slider-next {
	right: -18px;
}

.vhl-taple-shortcode-wrap button.vhl-slider-arrow.is-disabled,
.vhl-taple-shortcode-wrap button.vhl-slider-arrow:disabled {
	opacity: 0.18 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	transform: translateY(-50%) !important;
	box-shadow: none !important;
}

/* Chấm phân trang (Dots) */
.vhl-taple-shortcode-wrap .vhl-slider-dots {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	margin: 1.25rem 0 0.5rem 0 !important;
	padding: 0 !important;
	list-style: none !important;
	line-height: 1 !important;
}

.vhl-taple-shortcode-wrap .vhl-slider-dots button.vhl-slider-dot,
.vhl-taple-shortcode-wrap .vhl-slider-dot {
	display: inline-block !important;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px !important;
	max-width: 24px !important;
	min-height: 8px !important;
	max-height: 8px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #cbd5e1 !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
	outline: none !important;
	overflow: hidden !important;
	vertical-align: middle !important;
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease !important;
}

.vhl-taple-shortcode-wrap .vhl-slider-dots button.vhl-slider-dot:hover {
	background: #94a3b8 !important;
}

.vhl-taple-shortcode-wrap .vhl-slider-dots button.vhl-slider-dot.is-active {
	width: 24px !important;
	background: var(--vhl-tl-navy) !important;
}

/* ==========================================================================
   Nút Hành Động Ở Cuối Khối (Action Bar)
   ========================================================================== */
.vhl-taple-action-bar {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

.vhl-taple-shortcode-wrap a.vhl-taple-action-btn,
.vhl-taple-action-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem;
	padding: 0.65rem 1.5rem !important;
	border-radius: 999px !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	background: #ffffff !important;
	color: var(--vhl-tl-navy) !important;
	border: 1px solid #bfdbfe !important;
	box-shadow: 0 2px 6px rgba(30, 58, 138, 0.06) !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
	transition: all 0.2s ease !important;
}

.vhl-taple-shortcode-wrap a.vhl-taple-action-btn:hover,
.vhl-taple-action-btn:hover {
	background: var(--vhl-tl-navy) !important;
	color: #ffffff !important;
	border-color: var(--vhl-tl-navy) !important;
	box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2) !important;
	transform: translateY(-1px);
}

/* ==========================================================================
   Responsive (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 991px) {
	.vhl-taple-grid-container {
		grid-template-columns: repeat(var(--vhl-cols-md, 2), minmax(0, 1fr));
	}

	.vhl-taple-compact-grid {
		grid-template-columns: repeat(var(--vhl-cols-md, 2), minmax(0, 1fr));
	}

	.vhl-taple-slide {
		flex: 0 0 calc((100% - (var(--vhl-cols-md, 2) - 1) * 1.25rem) / var(--vhl-cols-md, 2));
	}
}

@media (max-width: 640px) {
	.vhl-taple-heading {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.vhl-taple-grid-container {
		grid-template-columns: repeat(var(--vhl-cols-sm, 1), minmax(0, 1fr));
		gap: 1rem;
	}

	.vhl-taple-compact-grid {
		grid-template-columns: repeat(var(--vhl-cols-sm, 1), minmax(0, 1fr));
		gap: 0.65rem;
	}

	.vhl-taple-slide {
		flex: 0 0 calc((100% - (var(--vhl-cols-sm, 1) - 1) * 1rem) / var(--vhl-cols-sm, 1));
	}

	.vhl-taple-shortcode-wrap .vhl-slider-prev {
		left: -8px;
	}

	.vhl-taple-shortcode-wrap .vhl-slider-next {
		right: -8px;
	}

	.vhl-taple-shortcode-wrap button.vhl-slider-arrow {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
		min-height: 34px !important;
	}
}

/* ==========================================================================
   ELEMENT: GỢI Ý THÁNH CA CHÚA NHẬT (PHỤNG VỤ & TẬP HÁT)
   ========================================================================== */

.vhl-sunday-setlists-wrapper {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.vhl-sunday-setlists-wrapper *,
.vhl-sunday-setlists-wrapper *::before,
.vhl-sunday-setlists-wrapper *::after {
	box-sizing: border-box;
}

/* Header khối */
.vhl-sunday-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	padding-bottom: 1.25rem;
	flex-wrap: wrap;
}

.vhl-sunday-title-box {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-width: 720px;
}

.vhl-sunday-pretitle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #1e3a8a;
	background: #eff6ff;
	padding: 3px 10px;
	border-radius: 999px;
	width: fit-content;
}

.vhl-sunday-heading {
	margin: 0 !important;
}

.vhl-sunday-subheading {
	margin: 0 !important;
	font-size: 0.92rem !important;
	color: #64748b !important;
	line-height: 1.45 !important;
}

.vhl-sunday-create-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.15rem;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 9px;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
	transition: all 0.2s ease;
}

.vhl-sunday-create-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(30, 58, 138, 0.28);
	color: #1e3a8a !important;
}

/* ==========================================================================
   BỐ CỤC 2 CỘT SONG SONG (COLUMNS LAYOUT - PHẲNG, TỐI GIẢN, TRANG TRỌNG)
   ========================================================================== */

.vhl-sunday-columns-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.vhl-sunday-column {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vhl-sunday-column.is-this-sunday {
	border-top: 3px solid #1e3a8a;
}

.vhl-sunday-column.is-next-sunday {
	border-top: 3px solid #4338ca;
	background: #ffffff;
}

.vhl-sunday-column-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.vhl-col-header-main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
}

.vhl-col-top-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
}

.vhl-col-title {
	margin: 0 !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.25 !important;
	white-space: nowrap;
}

.vhl-col-date-tag {
	font-size: 0.8rem;
	color: #475569;
	font-weight: 600;
	background: #f1f5f9;
	padding: 1px 7px;
	border-radius: 6px;
	line-height: 1.4;
	white-space: nowrap;
	flex-shrink: 0;
}

.vhl-col-feast-line {
	font-size: 0.84rem;
	color: #1e40af;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.35;
}

.vhl-sunday-column.is-next-sunday .vhl-col-feast-line {
	color: #4338ca;
}

.vhl-badge-rehearse {
	font-size: 0.68rem;
	font-weight: 700;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #fde68a;
	padding: 1px 7px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.4;
}

.vhl-col-count {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 600;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 3px 9px;
	border-radius: 999px;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ==========================================================================
   BỐ CỤC TABS (TABS LAYOUT - PHẲNG, TINH TẾ)
   ========================================================================== */

.vhl-sunday-tabs-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.vhl-sunday-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	color: #475569;
	font-size: 0.88rem;
	font-weight: 500;
	transition: all 0.18s ease;
	outline: none;
	min-height: 42px;
	line-height: 1.3;
}

.vhl-sunday-tab-btn:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.vhl-sunday-tab-btn.is-active {
	background: #ffffff;
	border-color: #1e3a8a;
	color: #1e3a8a;
	box-shadow: 0 0 0 1px #1e3a8a, 0 2px 8px rgba(30, 58, 138, 0.08);
}

.vhl-sunday-tab-btn[data-target="#vhl-sunday-pane-next"].is-active {
	border-color: #4338ca;
	color: #4338ca;
	box-shadow: 0 0 0 1px #4338ca, 0 2px 8px rgba(67, 56, 202, 0.08);
}

.vhl-tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: currentColor;
	flex-shrink: 0;
}

.vhl-tab-label-group {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.vhl-tab-name {
	font-weight: 700;
	font-size: 0.88rem;
	line-height: 1.25;
}

.vhl-tab-date {
	font-size: 0.74rem;
	color: #64748b;
}

.vhl-tab-rehearse-tag {
	font-size: 0.68rem;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 999px;
	background: #fef3c7;
	color: #92400e;
}

.vhl-tab-feast-tag {
	font-size: 0.72rem;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1e40af;
	max-width: 130px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vhl-tab-count-badge {
	font-size: 0.72rem;
	font-weight: 700;
	background: #f1f5f9;
	color: #475569;
	padding: 2px 7px;
	border-radius: 999px;
}

.vhl-sunday-tab-btn.is-active .vhl-tab-count-badge {
	background: #eff6ff;
	color: #1e3a8a;
}

.vhl-sunday-tab-btn[data-target="#vhl-sunday-pane-next"].is-active .vhl-tab-count-badge {
	background: #f5f3ff;
	color: #4338ca;
}

/* ==========================================================================
   LƯỚI THẺ & THẺ TẬP LỄ (CARDS GRID & CARDS - PHẲNG & TỐI GIẢN)
   ========================================================================== */

.vhl-sunday-cards-grid {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.layout-tabs .vhl-sunday-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.15rem;
}

.vhl-sunday-card {

	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	position: relative;
}

.vhl-sunday-card:hover {
	transform: translateY(-1px);
}

.vhl-sunday-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.65rem;
}

.vhl-sunday-feast-badge {
	font-size: 0.72rem;
	font-weight: 600;
	color: #1e40af;
	background: #eff6ff;
	border: 1px solid #dbeafe;
	padding: 2px 8px;
	border-radius: 6px;
	letter-spacing: 0.01em;
	max-width: 80%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Nút Thả Tim trên thẻ */
.vhl-btn-fav-taple {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 3px 8px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	min-height: 28px;
	transition: all 0.15s ease;
	outline: none;
}

.vhl-btn-fav-taple:hover {
	border-color: #fca5a5;
	color: #dc2626;
	background: #fef2f2;
}

.vhl-btn-fav-taple.is-favorited {
	border-color: #fecaca;
	color: #dc2626;
	background: #fef2f2;
}

.vhl-btn-fav-taple.is-favorited .vhl-fav-heart {
	animation: vhlHeartPulse 0.3s ease;
}

@keyframes vhlHeartPulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.3);
	}

	100% {
		transform: scale(1);
	}
}

.vhl-sunday-card-title {
	margin: 0 !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.01em;
	flex: 1;
	min-width: 0;
}

.vhl-sunday-card-title a {
	color: #0f172a !important;
	text-decoration: none !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.15s ease;
}

.vhl-sunday-card-title a:hover {
	color: #1e40af !important;
}

/* Tác giả ca đoàn */
.vhl-sunday-author-row {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.vhl-sunday-author-avatar img {
	width: 22px !important;
	height: 22px !important;
	border-radius: 50% !important;
	display: block;
}

.vhl-sunday-author-meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	flex-wrap: wrap;
}

.vhl-sunday-author-name {
	font-weight: 600;
	color: #334155 !important;
	text-decoration: none !important;
}

.vhl-sunday-author-name:hover {
	color: #1e3a8a !important;
	text-decoration: underline !important;
}

.vhl-sunday-author-sub {
	color: #94a3b8;
	font-size: 0.74rem;
}

/* Preview 4 bài hát */
.vhl-sunday-preview-wrap {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 8px;
	padding: 0.6rem 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.vhl-sunday-preview-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.vhl-sunday-preview-row {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8rem;
	color: #334155;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vhl-preview-pill {
	font-size: 0.68rem;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 4px;
	flex-shrink: 0;
	letter-spacing: 0.02em;
}

.vhl-preview-pill.is-nhap_le {
	background: #fef2f2;
	color: #991b1b;
}

.vhl-preview-pill.is-bo_le {
	background: #f0fdf4;
	color: #166534;
}

.vhl-preview-pill.is-dap_ca {
	background: #eff6ff;
	color: #1e40af;
}

.vhl-preview-pill.is-alleluia {
	background: #faf5ff;
	color: #6b21a8;
}

.vhl-preview-pill.is-dang_le {
	background: #fffbeb;
	color: #92400e;
}

.vhl-preview-pill.is-hiep_le {
	background: #fdf4ff;
	color: #86198f;
}

.vhl-preview-pill.is-ta_le {
	background: #f0fdfa;
	color: #115e59;
}

.vhl-preview-pill.is-khac {
	background: #f1f5f9;
	color: #475569;
}

.vhl-sunday-song-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vhl-sunday-more-songs {
	font-size: 0.72rem;
	color: #64748b;
	font-style: italic;
	padding-top: 2px;
}

/* Card Footer */
.vhl-sunday-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.65rem;
	border-top: 1px solid #f1f5f9;
	gap: 0.5rem;
}

.vhl-sunday-song-count {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 600;
}

.vhl-sunday-footer-actions {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.vhl-sunday-btn-clone {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 6px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	min-height: 30px;
	transition: all 0.15s ease;
	outline: none;
}

.vhl-sunday-btn-clone:hover {
	background: #1e3a8a;
	color: #ffffff;
	border-color: #1e3a8a;
}

.vhl-sunday-btn-view {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 6px;
	background: #eff6ff;
	border: 1px solid #dbeafe;
	font-size: 0.75rem;
	font-weight: 600;
	color: #1e40af !important;
	text-decoration: none !important;
	min-height: 30px;
	transition: all 0.15s ease;
}

.vhl-sunday-btn-view:hover {
	background: #1e3a8a;
	color: #ffffff !important;
	border-color: #1e3a8a;
}

/* ==========================================================================
   TRẠNG THÁI RỖNG (EMPTY CARD STATE - PHẲNG & TINH GỌN)
   ========================================================================== */

.vhl-sunday-empty-card {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	padding: 1.35rem 1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.vhl-sunday-empty-msg {
	margin: 0 !important;
	font-size: 0.86rem !important;
	color: #64748b !important;
	font-weight: 500;
	line-height: 1.4 !important;
}

.vhl-sunday-empty-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	background: #1e3a8a;
	color: #ffffff !important;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
	line-height: 1.3;
}

.vhl-sunday-empty-btn:hover {
	background: #1e40af;
	transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE PHỤ CHO KHỐI GỢI Ý CHÚA NHẬT (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 991px) {
	.vhl-sunday-columns-container {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.vhl-sunday-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
	}
}

@media (max-width: 640px) {
	.vhl-sunday-column {
		padding: 1rem;
		border-radius: 10px;
	}

	.vhl-sunday-column-header {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 8px;
		padding-bottom: 10px;
	}

	.vhl-col-top-row {
		gap: 6px;
	}

	.vhl-col-title {
		font-size: 0.98rem !important;
	}

	.vhl-col-date-tag {
		font-size: 0.74rem;
		padding: 1px 6px;
	}

	.vhl-badge-rehearse {
		font-size: 0.64rem;
		padding: 1px 5px;
	}

	.vhl-col-feast-line {
		font-size: 0.8rem;
	}

	.vhl-col-count {
		font-size: 0.72rem;
		padding: 2px 7px;
	}

	/* Segmented switch tab on mobile: 2 compact columns side by side */
	.vhl-sunday-tabs-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px;
		background: #f1f5f9;
		padding: 4px;
		border-radius: 8px;
		border: 1px solid #e2e8f0;
		margin-bottom: 1rem;
	}

	.vhl-sunday-tab-btn {
		width: 100%;
		padding: 6px 4px;
		border: none;
		border-radius: 6px;
		background: transparent;
		justify-content: center;
		text-align: center;
		box-shadow: none;
		min-height: 44px;
		flex-direction: column;
		gap: 2px;
	}

	.vhl-sunday-tab-btn.is-active {
		background: #ffffff;
		border-color: transparent;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	}

	.vhl-sunday-tab-btn .vhl-tab-icon {
		display: none;
	}

	.vhl-sunday-tab-btn .vhl-tab-feast-tag {
		display: none;
	}

	.vhl-sunday-tab-btn .vhl-tab-label-group {
		align-items: center;
	}

	.vhl-sunday-tab-btn .vhl-tab-name {
		font-size: 0.8rem;
		text-align: center;
	}

	.vhl-sunday-tab-btn .vhl-tab-date {
		font-size: 0.7rem;
	}

	.vhl-sunday-tab-btn .vhl-tab-count-badge {
		display: none;
	}

	.vhl-sunday-card {
		padding: 0.9rem;
	}

	.vhl-sunday-card-title {
		font-size: 0.96rem !important;
	}

	.vhl-sunday-btn-clone,
	.vhl-sunday-btn-view {
		min-height: 34px;
		padding: 5px 9px;
		font-size: 0.74rem;
	}
}

/* ==========================================================================
   BỐ CỤC KHỐI TẬP LỄ TỔNG HỢP (UNIFIED CONTAINER)
   ========================================================================== */
.vhl-taple-unified-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.vhl-taple-top-right-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.vhl-taple-footer-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vhl-taple-card-full .vhl-sunday-feast-badge {
	margin-right: auto;
}