/* Facebook renginiai — Super sound | Sukūrė UAB "Super sound", https://supersound.lt/ */

.ssfbr {
	--ssfbr-gap: 24px;
	font-family: var(--ssfbr-font, inherit);
	color: var(--ssfbr-text, #fff);
	box-sizing: border-box;
}
.ssfbr *, .ssfbr *::before, .ssfbr *::after { box-sizing: border-box; }

/* Tinklelis */
.ssfbr-grid {
	display: grid;
	/* Ne daugiau nei --ssfbr-cols stulpelių, kortelė ne siauresnė nei 280px – prisitaiko prie konteinerio. */
	grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - (var(--ssfbr-cols, 3) - 1) * var(--ssfbr-gap)) / var(--ssfbr-cols, 3))), 1fr));
	gap: var(--ssfbr-gap);
	margin: 0 0 24px;
}
@media (max-width: 640px)  { .ssfbr-grid { grid-template-columns: 1fr; --ssfbr-gap: 18px; } }

/* Kortelė */
.ssfbr-card {
	display: flex;
	flex-direction: column;
	background: var(--ssfbr-bg, #001b3f);
	border-radius: var(--ssfbr-radius, 6px);
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 10px 30px rgba(0,0,0,.25);
	transition: transform .25s ease, box-shadow .25s ease;
}
.ssfbr-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 16px 40px rgba(0,0,0,.35); }
.ssfbr-card.is-canceled { opacity: .6; }

.ssfbr-media {
	position: relative;
	display: block;
	aspect-ratio: 1.91 / 1;
	overflow: hidden;
	background: #000;
	text-decoration: none !important;
}
.ssfbr .ssfbr-img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	transition: transform .5s ease;
}
.ssfbr-card:hover .ssfbr-img { transform: scale(1.04); }
.ssfbr-img--ph { background: linear-gradient(135deg, var(--ssfbr-accent, #0070d7), #000330); }

.ssfbr-date {
	position: absolute;
	left: 14px;
	top: 14px;
	min-width: 58px;
	padding: 8px 8px 7px;
	background: var(--ssfbr-accent, #0070d7);
	color: #fff;
	border-radius: var(--ssfbr-btn-radius, 3px);
	text-align: center;
	line-height: 1;
	box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.ssfbr-date b { display: block; font-size: 26px; font-weight: 700; font-family: var(--ssfbr-title-font, inherit); }
.ssfbr-date span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.ssfbr-badge {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 5px 10px;
	background: rgba(0,0,0,.72);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 999px;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.ssfbr-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 20px;
}
.ssfbr-when {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--ssfbr-text, #fff) 70%, transparent);
}
.ssfbr .ssfbr-title {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--ssfbr-title-font, inherit);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ssfbr-text, #fff);
	overflow-wrap: anywhere;
	hyphens: auto;
}
.ssfbr .ssfbr-title a { color: inherit !important; text-decoration: none !important; }
.ssfbr .ssfbr-title a:hover { color: var(--ssfbr-accent, #0070d7) !important; }

/* Mygtukai */
.ssfbr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ssfbr .ssfbr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: var(--ssfbr-btn-radius, 3px);
	font-family: var(--ssfbr-font, inherit);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ssfbr .ssfbr-btn--primary { background: var(--ssfbr-accent, #0070d7); color: #fff !important; }
.ssfbr .ssfbr-btn--primary:hover { background: var(--ssfbr-accent-h, #005bb0); }
.ssfbr .ssfbr-btn--ghost { background: transparent; color: var(--ssfbr-text, #fff) !important; border-color: color-mix(in srgb, var(--ssfbr-text, #fff) 35%, transparent); }
.ssfbr .ssfbr-btn--ghost:hover { border-color: var(--ssfbr-accent, #0070d7); color: #fff !important; background: var(--ssfbr-accent, #0070d7); }
@media (max-width: 640px) { .ssfbr-actions .ssfbr-btn { flex: 1 1 0; } }

.ssfbr-empty {
	padding: 28px 24px;
	background: var(--ssfbr-bg, #001b3f);
	border-radius: var(--ssfbr-radius, 6px);
	text-align: center;
}

/* Vieno renginio puslapis */
.ssfbr-single { color: inherit; }
.ssfbr-single-cover { margin: 0 0 24px; border-radius: var(--ssfbr-radius, 6px); overflow: hidden; }
.ssfbr-single-cover .ssfbr-img { width: 100%; height: auto !important; }
.ssfbr-info {
	display: grid;
	gap: 10px;
	margin: 0 0 28px;
	padding: 20px 22px;
	background: var(--ssfbr-bg, #001b3f);
	color: var(--ssfbr-text, #fff);
	border-radius: var(--ssfbr-radius, 6px);
}
.ssfbr-info-row { display: flex; gap: 14px; align-items: baseline; }
.ssfbr-info-l { min-width: 70px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.ssfbr-info .ssfbr-actions { margin-top: 8px; }
.ssfbr-canceled { color: #ff6b6b; }
.ssfbr-desc { white-space: normal; }
.ssfbr-desc a { color: var(--ssfbr-accent, #0070d7); word-break: break-word; }

/* Kiti renginiai (šoninė juosta) */
.ssfbr-other { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 14px; }
.ssfbr-other .ssfbr-other-item { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none !important; }
.ssfbr-other .ssfbr-other-item::before { display: none !important; }
.ssfbr .ssfbr-other-link {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	color: var(--ssfbr-text, #fff) !important;
	text-decoration: none !important;
}
.ssfbr-other-thumb {
	position: relative;
	display: block;
	aspect-ratio: 1.91 / 1;
	overflow: hidden;
	border-radius: var(--ssfbr-btn-radius, 3px);
	background: linear-gradient(135deg, var(--ssfbr-accent, #0070d7), #000330);
}
.ssfbr-other-thumb .ssfbr-img { transition: transform .4s ease; }
.ssfbr-other-link:hover .ssfbr-img { transform: scale(1.06); }
.ssfbr-other-date {
	position: absolute;
	left: 5px;
	top: 5px;
	padding: 3px 5px 3px;
	background: var(--ssfbr-accent, #0070d7);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	border-radius: 2px;
}
.ssfbr-other-date b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 1px; }
.ssfbr-other-text { display: block; min-width: 0; }
.ssfbr-other-when {
	display: block;
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .65;
}
.ssfbr-other-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--ssfbr-title-font, inherit);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
	transition: color .2s ease;
}
.ssfbr-other-link:hover .ssfbr-other-title { color: var(--ssfbr-accent, #0070d7); }

.ssfbr-single .ssfbr-h { margin: 0 0 14px; font-family: var(--ssfbr-title-font, inherit); }
.ssfbr-single .ssfbr-hr { margin: 22px 0; border: 0; border-top: 1px solid rgba(255,255,255,.15); }
