/**
 * SocialFeedPro Frontend Stylesheet (v1.2.0)
 * Author: Marlon Lamprea - XWDV Information Technology Solutions (https://www.philwebdev.com)
 * Scoped & Hardened for OBEN Theme + Tailwind CSS Compatibility
 */

.sfp-widget,
.sfp-widget *,
dialog.sfp-dialog,
dialog.sfp-dialog * {
	box-sizing: border-box !important;
}

.sfp-widget {
	font-family: var(--oben-font-family, 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif) !important;
	width: 100% !important;
	max-width: 1400px !important;
	margin: 2.5rem auto !important;
	background-color: #ffffff !important;
	border-radius: 16px !important;
	border: 1px solid #eef2f6 !important;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
	padding: 28px 34px !important;
	color: #0f172a !important;
	position: relative !important;
	z-index: 1 !important;
	overflow: visible !important;
}

@media (max-width: 640px) {
	.sfp-widget {
		margin: 1.5rem auto !important;
		padding: 18px 16px !important;
	}
}

.sfp-is-hidden,
.sfp-widget .sfp-is-hidden,
dialog.sfp-dialog .sfp-is-hidden,
.sfp-widget [hidden],
dialog.sfp-dialog [hidden] {
	display: none !important;
}

/* Visually hidden live status region */
.sfp-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Icons */
.sfp-widget .sfp-icon-xs,
dialog.sfp-dialog .sfp-icon-xs {
	width: 14px !important;
	height: 14px !important;
	display: block !important;
	flex-shrink: 0 !important;
}

.sfp-widget .sfp-icon-sm,
dialog.sfp-dialog .sfp-icon-sm {
	width: 16px !important;
	height: 16px !important;
	display: block !important;
	flex-shrink: 0 !important;
}

.sfp-widget .sfp-icon-md,
dialog.sfp-dialog .sfp-icon-md {
	width: 20px !important;
	height: 20px !important;
	display: block !important;
	flex-shrink: 0 !important;
}

.sfp-widget .sfp-icon-play,
dialog.sfp-dialog .sfp-icon-play {
	width: 24px !important;
	height: 24px !important;
	margin-left: 2px !important;
	display: block !important;
	flex-shrink: 0 !important;
}

/* Page Profile Header (Exact 1:1 Match with OBEN Nutrition Reference) */
.sfp-widget .sfp-header {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	gap: 20px !important;
	padding-bottom: 22px !important;
	margin-bottom: 6px !important;
	width: 100% !important;
}

@media (max-width: 600px) {
	.sfp-widget .sfp-header {
		flex-direction: column !important;
		align-items: stretch !important;
	}
}

.sfp-widget .sfp-header-profile {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 20px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.sfp-widget .sfp-avatar-link {
	flex-shrink: 0 !important;
	display: block !important;
	width: 88px !important;
	height: 88px !important;
	border-radius: 9999px !important;
	overflow: hidden !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-avatar-img,
.sfp-widget .sfp-default-avatar {
	width: 88px !important;
	height: 88px !important;
	border-radius: 9999px !important;
	object-fit: cover !important;
}

.sfp-widget .sfp-default-avatar {
	background: radial-gradient(circle at 38% 35%, #2b54d8 0%, #102a83 68%, #091855 100%) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 20px !important;
	letter-spacing: 0.06em !important;
	box-shadow: 0 3px 10px rgba(16, 42, 131, 0.25) !important;
}

.sfp-widget .sfp-profile-meta {
	min-width: 0 !important;
	flex: 1 1 auto !important;
	padding-top: 2px !important;
}

.sfp-widget .sfp-page-title {
	font-size: 19px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	margin: 0 0 2px 0 !important;
	padding: 0 !important;
	color: #0f172a !important;
}

.sfp-widget .sfp-page-title a {
	color: #0f172a !important;
	text-decoration: none !important;
	font-weight: 700 !important;
}

.sfp-widget .sfp-page-title a:hover {
	color: #0084d6 !important;
}

.sfp-widget .sfp-page-handle {
	font-size: 13px !important;
	line-height: 1.4 !important;
	color: #475569 !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
}

.sfp-widget .sfp-page-handle a {
	color: #475569 !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-page-handle a:hover {
	text-decoration: underline !important;
}

.sfp-widget .sfp-page-stats {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
	font-size: 13px !important;
	color: #475569 !important;
	margin: 0 0 8px 0 !important;
}

.sfp-widget .sfp-page-stats strong {
	font-weight: 700 !important;
	color: #0f172a !important;
}

.sfp-widget .sfp-page-bio {
	font-size: 13.5px !important;
	line-height: 1.5 !important;
	color: #334155 !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: 760px !important;
}

.sfp-widget .sfp-header-actions-col {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	gap: 6px !important;
	flex-shrink: 0 !important;
	align-self: flex-start !important;
	margin-left: auto !important;
}

.sfp-widget .sfp-header-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
}

@media (max-width: 600px) {
	.sfp-widget .sfp-header-actions-col {
		margin-left: 0 !important;
		align-items: flex-start !important;
	}
}

.sfp-widget .sfp-follow-btn,
.sfp-widget .sfp-like-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	padding: 8px 16px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease !important;
	min-height: 36px !important;
}

.sfp-widget .sfp-follow-btn {
	background-color: #0b0f19 !important;
	border: 1px solid #0b0f19 !important;
	color: #ffffff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.sfp-widget .sfp-follow-btn:hover {
	background-color: #1e293b !important;
	border-color: #1e293b !important;
	color: #ffffff !important;
}

.sfp-widget .sfp-follow-btn.is-active {
	background-color: #059669 !important;
	border-color: #059669 !important;
	color: #ffffff !important;
}

.sfp-widget .sfp-like-btn {
	background-color: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	color: #0f172a !important;
}

.sfp-widget .sfp-like-btn:hover {
	background-color: #eff6ff !important;
	border-color: #93c5fd !important;
	color: #1877f2 !important;
}

.sfp-widget .sfp-like-btn.is-active {
	background-color: #1877f2 !important;
	border-color: #1877f2 !important;
	color: #ffffff !important;
}

.sfp-widget .sfp-follow-btn:focus-visible,
.sfp-widget .sfp-like-btn:focus-visible {
	outline: 2px solid #0084d6 !important;
	outline-offset: 2px !important;
}

.sfp-widget .sfp-reaction-feedback:not(.sfp-is-hidden):not([hidden]) {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12px !important;
	color: #334155 !important;
	background-color: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 6px 10px !important;
}

.sfp-widget .sfp-reaction-feedback a {
	color: #0084d6 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-reaction-feedback a:hover {
	text-decoration: underline !important;
}

.sfp-widget .sfp-post-like-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	padding: 4px 10px !important;
	border-radius: 6px !important;
	border: 1px solid #e2e8f0 !important;
	background-color: #ffffff !important;
	color: #475569 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
}

.sfp-widget .sfp-post-like-btn:hover {
	border-color: #93c5fd !important;
	color: #1877f2 !important;
	background-color: #eff6ff !important;
}

.sfp-widget .sfp-post-like-btn.is-active {
	background-color: #1877f2 !important;
	border-color: #1877f2 !important;
	color: #ffffff !important;
}

/* Switchable Category Tabs */
.sfp-widget .sfp-tabs-bar {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	padding-bottom: 14px !important;
	margin-bottom: 18px !important;
}

.sfp-widget .sfp-tab-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	padding: 8px 16px !important;
	border-radius: 8px !important;
	border: 1px solid #e2e8f0 !important;
	background-color: #f8fafc !important;
	color: #334155 !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
	min-height: 36px !important;
}

.sfp-widget .sfp-tab-btn:hover {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
}

.sfp-widget .sfp-tab-btn.is-active,
.sfp-widget .sfp-tab-btn[aria-selected="true"] {
	background-color: #0b0f19 !important;
	border-color: #0b0f19 !important;
	color: #ffffff !important;
}

.sfp-widget .sfp-tab-btn:focus-visible {
	outline: 2px solid #0084d6 !important;
	outline-offset: 2px !important;
}

/* Carousel Layout (Chronological Newest-First Multi-Column Slider) */
.sfp-widget .sfp-carousel {
	position: relative !important;
	padding-left: 36px !important;
	padding-right: 36px !important;
}

@media (max-width: 640px) {
	.sfp-widget .sfp-carousel {
		padding-left: 28px !important;
		padding-right: 28px !important;
	}
}

.sfp-widget .sfp-carousel-track {
	display: flex !important;
	flex-direction: row !important;
	gap: 16px !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	touch-action: manipulation;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 2px 0 !important;
}

.sfp-widget .sfp-carousel-track::-webkit-scrollbar {
	display: none;
}

@media (prefers-reduced-motion: no-preference) {
	.sfp-widget .sfp-carousel-track {
		scroll-behavior: smooth;
	}
}

.sfp-widget .sfp-carousel-track > .sfp-slide {
	flex: 0 0 calc((100% - 32px) / 3) !important;
	scroll-snap-align: start;
	min-width: 0 !important;
}

.sfp-widget .sfp-carousel-track.sfp-cols-2 > .sfp-slide {
	flex: 0 0 calc((100% - 16px) / 2) !important;
}

.sfp-widget .sfp-carousel-track.sfp-cols-4 > .sfp-slide {
	flex: 0 0 calc((100% - 48px) / 4) !important;
}

@media (max-width: 900px) {
	.sfp-widget .sfp-carousel-track > .sfp-slide,
	.sfp-widget .sfp-carousel-track.sfp-cols-4 > .sfp-slide {
		flex: 0 0 calc((100% - 16px) / 2) !important;
	}
}

@media (max-width: 580px) {
	.sfp-widget .sfp-carousel-track > .sfp-slide,
	.sfp-widget .sfp-carousel-track.sfp-cols-2 > .sfp-slide,
	.sfp-widget .sfp-carousel-track.sfp-cols-4 > .sfp-slide {
		flex: 0 0 100% !important;
		scroll-snap-align: center;
	}
}

/* Carousel Previous / Next Buttons */
.sfp-widget .sfp-carousel-controls {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 36px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	pointer-events: none !important;
	z-index: 10 !important;
}

.sfp-widget .sfp-nav-btn {
	pointer-events: auto !important;
	touch-action: manipulation;
	width: 32px !important;
	height: 32px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	border-radius: 9999px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #334155 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
	padding: 0 !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

.sfp-widget .sfp-nav-btn:hover:not(:disabled) {
	color: #0f172a !important;
	background-color: #f8fafc !important;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14) !important;
}

.sfp-widget .sfp-nav-btn:focus-visible {
	outline: 2px solid #0084d6 !important;
	outline-offset: 2px !important;
}

.sfp-widget .sfp-nav-btn:disabled {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
}

/* Carousel Slide Markers */
.sfp-widget .sfp-carousel-markers {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	margin-top: 14px !important;
}

.sfp-widget .sfp-carousel-markers button {
	appearance: none !important;
	width: 24px !important;
	height: 24px !important;
	padding: 8px !important;
	border: 0 !important;
	border-radius: 9999px !important;
	background-color: #cbd5e1 !important;
	background-clip: content-box !important;
	cursor: pointer !important;
	touch-action: manipulation;
	transition: width 0.2s ease, background-color 0.2s ease !important;
	box-shadow: none !important;
}

.sfp-widget .sfp-carousel-markers button:hover {
	background-color: #64748b !important;
}

.sfp-widget .sfp-carousel-markers button[aria-current="true"] {
	width: 36px !important;
	background-color: #0f172a !important;
	outline: 2px solid transparent !important;
}

.sfp-widget .sfp-carousel-markers button:focus-visible {
	outline: 2px solid #0084d6 !important;
	outline-offset: 2px !important;
}

/* Grid Layout */
.sfp-widget .sfp-grid {
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.sfp-widget .sfp-grid.sfp-grid-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.sfp-widget .sfp-grid.sfp-grid-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
	.sfp-widget .sfp-grid,
	.sfp-widget .sfp-grid.sfp-grid-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 580px) {
	.sfp-widget .sfp-grid,
	.sfp-widget .sfp-grid.sfp-grid-cols-2,
	.sfp-widget .sfp-grid.sfp-grid-cols-4 {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* 9:16 Vertical Reel Card */
.sfp-widget .sfp-reel-card {
	position: relative !important;
	width: 100% !important;
	aspect-ratio: 9 / 16 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	background-color: #0f172a !important;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1) !important;
}

.sfp-widget .sfp-reel-trigger {
	width: 100% !important;
	height: 100% !important;
	display: block !important;
	position: relative !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	cursor: pointer !important;
	text-align: left !important;
}

.sfp-widget .sfp-reel-trigger:focus-visible {
	outline: 3px solid #0084d6 !important;
	outline-offset: -3px !important;
}

.sfp-widget .sfp-reel-thumb {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sfp-widget .sfp-reel-card:hover .sfp-reel-thumb {
	transform: scale(1.04) !important;
}

.sfp-widget .sfp-reel-fallback-bg {
	width: 100% !important;
	height: 100% !important;
	background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
}

.sfp-widget .sfp-reel-gradient {
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.72) 100%) !important;
	pointer-events: none !important;
}

.sfp-widget .sfp-reel-overlay-text {
	position: absolute !important;
	left: 12px !important;
	right: 12px !important;
	top: 24% !important;
	text-align: center !important;
	pointer-events: none !important;
	z-index: 2 !important;
}

.sfp-widget .sfp-overlay-top {
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 16px !important;
	letter-spacing: 0.02em !important;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65) !important;
	margin: 0 !important;
	line-height: 1.25 !important;
}

.sfp-widget .sfp-overlay-badge {
	display: inline-block !important;
	border-top: 2px solid #38bdf8 !important;
	border-bottom: 2px solid #38bdf8 !important;
	background: rgba(0, 0, 0, 0.45) !important;
	padding: 2px 12px !important;
	margin: 4px 0 !important;
}

.sfp-widget .sfp-overlay-badge span {
	color: #ffffff !important;
	font-weight: 900 !important;
	font-size: 20px !important;
	letter-spacing: 0.06em !important;
}

.sfp-widget .sfp-overlay-sub {
	color: rgba(255, 255, 255, 0.95) !important;
	font-weight: 600 !important;
	font-size: 12.5px !important;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
	margin: 2px 0 0 0 !important;
}

.sfp-widget .sfp-fb-corner-badge {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	width: 26px !important;
	height: 26px !important;
	border-radius: 9999px !important;
	background-color: #1877f2 !important;
	color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28) !important;
	z-index: 6 !important;
	text-decoration: none !important;
	transition: transform 0.15s ease, background-color 0.15s ease !important;
}

.sfp-widget .sfp-fb-corner-badge:hover {
	transform: scale(1.1) !important;
	background-color: #1565c0 !important;
	color: #ffffff !important;
}

.sfp-widget .sfp-reel-bottom-bar {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	padding: 14px 14px 12px !important;
	z-index: 5 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	pointer-events: none !important;
}

.sfp-widget .sfp-reel-caption-text {
	color: rgba(255, 255, 255, 0.92) !important;
	font-size: 12.5px !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.sfp-widget .sfp-reel-post-link {
	pointer-events: auto !important;
	align-self: flex-start !important;
	color: #38bdf8 !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.sfp-widget .sfp-reel-post-link:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.sfp-widget .sfp-play-circle {
	position: absolute !important;
	inset: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	pointer-events: none !important;
	z-index: 3 !important;
}

.sfp-widget .sfp-play-circle-inner {
	width: 62px !important;
	height: 62px !important;
	border-radius: 9999px !important;
	background-color: rgba(255, 255, 255, 0.96) !important;
	color: #1e293b !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
	transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.sfp-widget .sfp-reel-card:hover .sfp-play-circle-inner {
	transform: scale(1.09) !important;
	background-color: #ffffff !important;
}

/* Inline On-Card Video Player (Only visible when active and not hidden) */
.sfp-widget .sfp-inline-player:not(.sfp-is-hidden):not([hidden]) {
	position: absolute !important;
	inset: 0 !important;
	z-index: 15 !important;
	background-color: #000000 !important;
	display: flex !important;
	flex-direction: column !important;
}

.sfp-widget .sfp-inline-toolbar {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	z-index: 20 !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

.sfp-widget .sfp-inline-btn {
	width: 30px !important;
	height: 30px !important;
	border-radius: 9999px !important;
	border: 0 !important;
	background-color: rgba(15, 23, 42, 0.78) !important;
	color: #ffffff !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	padding: 0 !important;
	backdrop-filter: blur(4px) !important;
	transition: background-color 0.15s ease !important;
}

.sfp-widget .sfp-inline-btn:hover {
	background-color: #0084d6 !important;
}

.sfp-widget .sfp-inline-media {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.sfp-widget .sfp-inline-media video,
.sfp-widget .sfp-inline-media iframe {
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	object-fit: contain !important;
	background-color: #000000 !important;
	display: block !important;
}

/* Post & Event Cards */
.sfp-widget .sfp-post-card,
.sfp-widget .sfp-event-card {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	height: 100% !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background-color: #ffffff !important;
	overflow: hidden !important;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
	transition: box-shadow 0.2s ease !important;
}

.sfp-widget .sfp-post-card:hover,
.sfp-widget .sfp-event-card:hover {
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}

.sfp-widget .sfp-post-media,
.sfp-widget .sfp-event-media {
	position: relative !important;
	aspect-ratio: 16 / 10 !important;
	background-color: #f1f5f9 !important;
	overflow: hidden !important;
}

.sfp-widget .sfp-post-img-link {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.sfp-widget .sfp-post-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.sfp-widget .sfp-post-play-overlay {
	position: absolute !important;
	inset: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: rgba(0, 0, 0, 0.25) !important;
	border: 0 !important;
	cursor: pointer !important;
	padding: 0 !important;
	z-index: 4 !important;
}

.sfp-widget .sfp-card-body {
	padding: 16px !important;
}

.sfp-widget .sfp-post-meta {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	font-size: 12px !important;
	color: #64748b !important;
	margin-bottom: 8px !important;
}

.sfp-widget .sfp-post-author {
	font-weight: 700 !important;
	color: #0f172a !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-post-author:hover {
	color: #0084d6 !important;
}

.sfp-widget .sfp-post-date {
	color: #64748b !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-post-date:hover {
	text-decoration: underline !important;
}

.sfp-widget .sfp-post-text,
.sfp-widget .sfp-event-desc {
	font-size: 13.5px !important;
	line-height: 1.55 !important;
	color: #334155 !important;
	margin: 0 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 4 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.sfp-widget .sfp-card-footer {
	padding: 12px 16px !important;
	background-color: #f8fafc !important;
	border-top: 1px solid #f1f5f9 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	font-size: 12px !important;
	color: #475569 !important;
}

.sfp-widget .sfp-post-reactions {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
}

.sfp-widget .sfp-card-link,
.sfp-widget .sfp-link-btn {
	font-weight: 600 !important;
	color: #0084d6 !important;
	text-decoration: none !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	cursor: pointer !important;
}

.sfp-widget .sfp-card-link:hover,
.sfp-widget .sfp-link-btn:hover {
	text-decoration: underline !important;
}

.sfp-widget .sfp-event-date-badge {
	position: absolute !important;
	top: 11px !important;
	left: 11px !important;
	background-color: rgba(255, 255, 255, 0.96) !important;
	border-radius: 8px !important;
	padding: 4px 10px !important;
	text-align: center !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.sfp-widget .sfp-event-month {
	display: block !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	color: #0084d6 !important;
	line-height: 1.1 !important;
}

.sfp-widget .sfp-event-day {
	display: block !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	line-height: 1.2 !important;
}

.sfp-widget .sfp-event-datetime {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #0084d6 !important;
	text-transform: uppercase !important;
	margin: 0 0 4px 0 !important;
}

.sfp-widget .sfp-event-title {
	font-size: 15.5px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	margin: 0 0 6px 0 !important;
}

.sfp-widget .sfp-event-title a {
	color: #0f172a !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-event-title a:hover {
	color: #0084d6 !important;
}

.sfp-widget .sfp-event-location {
	font-size: 12px !important;
	color: #64748b !important;
	margin: 0 0 8px 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
}

.sfp-widget .sfp-event-btn {
	display: inline-flex !important;
	align-items: center !important;
	padding: 6px 12px !important;
	border-radius: 6px !important;
	background-color: #0b0f19 !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	text-decoration: none !important;
}

.sfp-widget .sfp-event-btn:hover {
	background-color: #1e293b !important;
	color: #ffffff !important;
}

.sfp-widget .sfp-empty-state {
	text-align: center !important;
	padding: 36px 16px !important;
	background-color: #f8fafc !important;
	border-radius: 12px !important;
	border: 1px dashed #cbd5e1 !important;
	color: #64748b !important;
	font-size: 14px !important;
}

/* Native HTML5 Modal Dialog (Modern Web Guidance compliant) */
dialog.sfp-dialog {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 16px !important;
	max-width: 900px !important;
	width: calc(100% - 2rem) !important;
	background-color: #090d16 !important;
	color: #ffffff !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55) !important;
	overflow: hidden !important;
}

dialog.sfp-dialog:modal {
	overscroll-behavior: contain;
}

dialog.sfp-dialog::backdrop {
	overflow: hidden;
	overscroll-behavior: contain;
	background-color: rgba(15, 23, 42, 0.72);
	backdrop-filter: blur(3px);
}

dialog.sfp-dialog[open] .sfp-dialog-inner {
	display: flex !important;
	flex-direction: column !important;
}

@media (min-width: 768px) {
	dialog.sfp-dialog[open] .sfp-dialog-inner {
		flex-direction: row !important;
	}
}

dialog.sfp-dialog .sfp-dialog-media {
	position: relative !important;
	background-color: #000000 !important;
	flex: 1 1 auto !important;
	min-height: 460px !important;
	max-height: 84vh !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

dialog.sfp-dialog .sfp-dialog-video:not(.sfp-is-hidden):not([hidden]) {
	width: 100% !important;
	height: 100% !important;
	max-height: 84vh !important;
	object-fit: contain !important;
	display: block !important;
}

dialog.sfp-dialog .sfp-dialog-iframe:not(.sfp-is-hidden):not([hidden]) {
	width: 100% !important;
	height: 540px !important;
	border: 0 !important;
	display: block !important;
}

dialog.sfp-dialog .sfp-dialog-sidebar {
	width: 100% !important;
	background-color: #ffffff !important;
	color: #0f172a !important;
	padding: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
}

@media (min-width: 768px) {
	dialog.sfp-dialog .sfp-dialog-sidebar {
		width: 320px !important;
		flex-shrink: 0 !important;
	}
}

dialog.sfp-dialog .sfp-dialog-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	padding-bottom: 12px !important;
	margin-bottom: 12px !important;
	border-bottom: 1px solid #f1f5f9 !important;
}

dialog.sfp-dialog .sfp-dialog-brand {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-width: 0 !important;
}

dialog.sfp-dialog .sfp-dialog-avatar {
	width: 32px !important;
	height: 32px !important;
	border-radius: 9999px !important;
	background-color: #1877f2 !important;
	color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	flex-shrink: 0 !important;
}

dialog.sfp-dialog .sfp-dialog-title {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

dialog.sfp-dialog .sfp-dialog-close-form {
	margin: 0 !important;
}

dialog.sfp-dialog .sfp-dialog-close {
	width: 32px !important;
	height: 32px !important;
	border-radius: 9999px !important;
	background-color: #f1f5f9 !important;
	color: #334155 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	cursor: pointer !important;
	font-size: 14px !important;
	padding: 0 !important;
}

dialog.sfp-dialog .sfp-dialog-close:hover {
	background-color: #e2e8f0 !important;
	color: #0f172a !important;
}

dialog.sfp-dialog .sfp-dialog-caption {
	font-size: 13.5px !important;
	line-height: 1.55 !important;
	color: #334155 !important;
	margin: 0 !important;
	max-height: 280px !important;
	overflow-y: auto !important;
	white-space: pre-line !important;
}

dialog.sfp-dialog .sfp-dialog-footer {
	padding-top: 14px !important;
	margin-top: 14px !important;
	border-top: 1px solid #f1f5f9 !important;
}

dialog.sfp-dialog .sfp-dialog-permalink {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 10px 14px !important;
	border-radius: 8px !important;
	background-color: #0b0f19 !important;
	color: #ffffff !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

dialog.sfp-dialog .sfp-dialog-permalink:hover {
	background-color: #1e293b !important;
	color: #ffffff !important;
}
