/* SACAA YouTube Feed. Theme it with the custom properties on .lvf. */
.lvf {
	--lvf-accent: #082A61;
	--lvf-text: #1d2433;
	--lvf-muted: #5f6672;
	--lvf-border: #dfe3ea;
	--lvf-box-bg: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
	--lvf-radius: 14px;
	--lvf-sub-icon: #d93025;
	--lvf-cols: 3;
	margin: 1.5em 0;
	color: var(--lvf-text);
}
.lvf *, .lvf *::before, .lvf *::after { box-sizing: border-box; }
.lvf.lvf-font-poppins, .lvf.lvf-font-poppins button { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.lvf .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lvf ul { list-style: none; margin: 0; padding: 0; }
.lvf li { margin: 0; }

.lvf-heading {
	margin: 0 0 14px; color: var(--lvf-accent); font-size: 1.5rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .01em; line-height: 1.2;
}
.lvf-box {
	padding: 14px; border: 1px solid var(--lvf-border); border-radius: var(--lvf-radius);
	background: var(--lvf-box-bg);
}

/* Player / facade */
.lvf-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #0b0f17; }
.lvf-player .lvf-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lvf-facade { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none !important; }
.lvf-facade:focus-visible { outline: 3px solid var(--lvf-accent); outline-offset: 2px; }
.lvf-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.lvf-facade:hover .lvf-thumb-img { transform: scale(1.03); }
.lvf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); line-height: 0; transition: transform .15s ease; }
.lvf-play svg { width: 68px; height: 68px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.lvf-play circle { fill: rgba(8, 16, 30, .72); transition: fill .15s ease; }
.lvf-play path { fill: #fff; }
.lvf-facade:hover .lvf-play, .lvf-facade:focus-visible .lvf-play { transform: translate(-50%, -50%) scale(1.08); }
.lvf-facade:hover .lvf-play circle, .lvf-facade:focus-visible .lvf-play circle { fill: var(--lvf-accent); }
.lvf-item .lvf-play svg, .lvf-pick .lvf-play svg { width: 48px; height: 48px; }

.lvf-overlay {
	position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 12px;
	padding: 14px 16px 30px; background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%);
}
.lvf-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.lvf-overlay-text { min-width: 0; display: flex; flex-direction: column; }
.lvf-overlay-title { font-size: 1.15rem; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.lvf-overlay-channel { font-size: .9rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lvf-badge {
	position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px;
	background: rgba(0, 0, 0, .8); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.4;
}
.lvf-badge-live { background: #c62828; }

.lvf-meta { margin: 6px 0 0; color: var(--lvf-muted); font-size: .85rem; line-height: 1.4; }
.lvf-dot { margin: 0 6px; }
.lvf-live { color: #c62828; font-weight: 700; }
.lvf-upcoming { color: var(--lvf-accent); font-weight: 600; }
.lvf-desc { margin: 6px 0 0; color: var(--lvf-muted); font-size: .88rem; line-height: 1.5; }
.lvf-main-info:empty { display: none; }
.lvf-main-info { padding: 2px 2px 0; container-type: inline-size; }

/* Featured: strip of more videos */
.lvf-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px !important; }
.lvf-pick { display: block; color: var(--lvf-text); text-decoration: none !important; border-radius: 8px; }
.lvf-pick:focus-visible { outline: 3px solid var(--lvf-accent); outline-offset: 2px; }
.lvf-pick-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #0b0f17; }
.lvf-pick-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .15s; }
.lvf-pick:hover .lvf-pick-thumb img { opacity: 1; }
.lvf-pick[aria-current] .lvf-pick-thumb { outline: 3px solid var(--lvf-accent); outline-offset: -3px; }
.lvf-pick-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin-top: 6px; font-size: .85rem; font-weight: 500; line-height: 1.35;
}
.lvf-pick[aria-current] .lvf-pick-title { color: var(--lvf-accent); font-weight: 600; }

/* Grid */
.lvf-grid { display: grid; grid-template-columns: repeat(var(--lvf-cols), minmax(0, 1fr)); gap: 18px; }
.lvf-title { margin: 10px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.lvf-title a { color: var(--lvf-text); text-decoration: none; }
.lvf-title a:hover { color: var(--lvf-accent); text-decoration: underline; }

/* List */
.lvf-list { display: flex; flex-direction: column; gap: 14px; }
.lvf-list .lvf-item { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: 14px; align-items: start; }
.lvf-list .lvf-title { margin-top: 0; }

/* Subscribe */
.lvf-subscribe-wrap { display: flex; justify-content: center; margin-top: 22px; }
.lvf-subscribe {
	display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px;
	background: #fff; color: var(--lvf-accent) !important; font-weight: 600; text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(8, 42, 97, .12); transition: box-shadow .15s, transform .15s;
}
.lvf-subscribe:hover { box-shadow: 0 4px 16px rgba(8, 42, 97, .2); transform: translateY(-1px); }
.lvf-subscribe:focus-visible { outline: 3px solid var(--lvf-accent); outline-offset: 2px; }
.lvf-subscribe-icon { display: inline-flex; color: var(--lvf-sub-icon); }
.lvf-subscribe-icon img { width: 28px; height: 28px; object-fit: contain; }

/* Modal */
.lvf-modal { width: min(1000px, 94vw); padding: 0; border: 0; border-radius: 10px; background: #000; overflow: visible; }
.lvf-modal::backdrop { background: rgba(5, 10, 20, .82); }
.lvf-modal-inner { position: relative; }
.lvf-modal-player { position: relative; aspect-ratio: 16 / 9; }
.lvf-modal-player .lvf-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lvf-modal-close {
	position: absolute; right: -6px; top: -44px; width: 38px; height: 38px; border: 0; border-radius: 50%;
	background: #fff; color: #111; font-size: 26px; line-height: 1; cursor: pointer;
}
.lvf-modal-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.lvf-notice { padding: 10px 14px; margin: 1em 0; border-left: 4px solid #dba617; background: #fcf9e8; font-size: .92em; }

@media (max-width: 782px) {
	.lvf-grid { grid-template-columns: repeat(min(var(--lvf-cols), 2), minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.lvf-grid { grid-template-columns: 1fr; }
	.lvf-list .lvf-item { grid-template-columns: 120px 1fr; gap: 10px; }
	.lvf-list .lvf-play svg { width: 36px; height: 36px; }
	.lvf-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lvf-overlay-title { font-size: 1rem; }
	.lvf-logo { width: 36px; height: 36px; }
	.lvf-heading { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
	.lvf *, .lvf *::before, .lvf *::after { transition: none !important; }
}

/* Small players (phones, narrow sidebars): keep the overlay clear of the play button. */
.lvf-player-main { container-type: inline-size; }
@container (max-width: 440px) {
	.lvf-overlay { padding: 10px 12px 18px; gap: 8px; }
	.lvf-overlay-channel { display: none; }
	.lvf-overlay-title { font-size: .95rem; }
	.lvf-logo { width: 32px; height: 32px; }
	.lvf-player-main .lvf-play svg { width: 54px; height: 54px; }
}
@media (max-width: 520px) {
	.lvf-subscribe { padding: 10px 16px; font-size: .95rem; gap: 8px; }
	.lvf-box { padding: 10px; }
}

/* Carousel */
.lvf-carousel { position: relative; container-type: inline-size; }
.lvf-stage { position: relative; container-type: inline-size; }
.lvf-track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.lvf-track::-webkit-scrollbar { display: none; }
.lvf-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.lvf-slide-info { padding: 2px 2px 0; min-height: 1.6em; }
.lvf-nav {
	position: absolute; top: calc(28.125cqw - 22px); width: 44px; height: 44px; border: 0; border-radius: 50%;
	display: grid; place-items: center; padding: 0; cursor: pointer; z-index: 2;
	background: rgba(255, 255, 255, .92); color: var(--lvf-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	transition: background .15s, transform .15s;
}
.lvf-nav:hover { background: #fff; transform: scale(1.06); }
.lvf-nav:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px var(--lvf-accent); }
.lvf-prev { left: 10px; }
.lvf-next { right: 10px; }
.lvf-next svg { transform: scaleX(-1); }
.lvf-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.lvf-dots { display: flex; gap: 4px; }
.lvf-dot-btn {
	width: 26px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer;
	display: grid; place-items: center;
}
.lvf-dot-btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c5ccd8; transition: width .2s, background .2s; }
.lvf-dot-btn[aria-current]::before { width: 24px; border-radius: 6px; background: var(--lvf-accent); }
.lvf-dot-btn:focus-visible { outline: 2px solid var(--lvf-accent); border-radius: 6px; }
.lvf-pause {
	width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--lvf-border); background: #fff;
	color: var(--lvf-accent); display: grid; place-items: center; padding: 0; cursor: pointer;
}
.lvf-pause path { fill: currentColor; }
.lvf-pause .lvf-i-play, .lvf-pause[aria-pressed="true"] .lvf-i-pause { display: none; }
.lvf-pause[aria-pressed="true"] .lvf-i-play { display: inline; }
.lvf-pause:focus-visible { outline: 2px solid var(--lvf-accent); outline-offset: 2px; }
@container (max-width: 440px) {
	.lvf-nav { width: 36px; height: 36px; top: calc(28.125cqw - 18px); }
	.lvf-prev { left: 6px; }
	.lvf-next { right: 6px; }
}
.lvf-pause[hidden] { display: none; }

/* Meta line with "View our Channel" link at the far right */
.lvf-info-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px 10px; flex-wrap: wrap; padding: 0 2px; }
.lvf-info-row .lvf-dot { margin: 0 4px; }
.lvf-info-text { flex: 1 1 auto; min-width: 0; }
.lvf-info-text:empty { display: none; }
.lvf-info-row .lvf-meta { margin-top: 6px; }
.lvf-channel-link {
	display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 0 auto; white-space: nowrap;
	color: var(--lvf-accent) !important; font-size: .85rem; font-weight: 600; line-height: 1.4; text-decoration: none !important;
}
.lvf-channel-link:hover { text-decoration: underline !important; }
.lvf-channel-link:focus-visible { outline: 2px solid var(--lvf-accent); outline-offset: 2px; border-radius: 2px; }
.lvf-channel-link svg { transition: transform .15s; }
.lvf-channel-link:hover svg { transform: translateX(2px); }
.lvf-actions { flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.lvf-actions .lvf-channel-link { margin: 0; font-size: .95rem; }
.lvf-btn { display: inline-flex; align-items: center; gap: 10px; }
@container (max-width: 380px) {
	.lvf-info-row .lvf-meta, .lvf-info-row .lvf-channel-link { font-size: .78rem; }
	.lvf-info-row .lvf-dot { margin: 0 3px; }
	.lvf-info-row { gap: 4px 6px; }
}

/* Carousel: date · views | dots | View our Channel on one line, Subscribe close underneath */
.lvf-info-row-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px 10px; }
.lvf-info-row-nav .lvf-controls { margin: 0; gap: 6px; }
.lvf-info-row-nav .lvf-info-end { justify-self: end; display: flex; }
.lvf-info-row-nav .lvf-channel-link { margin: 0; }
.lvf-info-row-nav .lvf-meta { margin: 0; }
.lvf-info-row-nav .lvf-desc { grid-column: 1 / -1; }
.lvf-carousel .lvf-slide-info { padding-top: 8px; }
.lvf-dot-btn { width: 22px; height: 24px; }
.lvf-layout-carousel .lvf-subscribe-wrap { margin-top: 12px; }
@container (max-width: 480px) {
	.lvf-info-row-nav { grid-template-columns: minmax(0, 1fr) auto auto; }
	.lvf-info-row-nav .lvf-meta { line-height: 1.35; }
	.lvf-info-row-nav .lvf-meta > * { display: block; white-space: nowrap; }
	.lvf-info-row-nav .lvf-meta > .lvf-dot { display: none; }
	.lvf-info-row-nav .lvf-info-end { align-self: center; }
}
@container (max-width: 380px) {
	.lvf-info-row-nav { gap: 4px 6px; }
	.lvf-info-row-nav .lvf-dot-btn { width: 18px; }
	.lvf-info-row-nav .lvf-dot-btn::before { width: 8px; height: 8px; }
	.lvf-info-row-nav .lvf-dot-btn[aria-current]::before { width: 16px; }
}

/* Borderless feed; Subscribe shown as a plain link (no pill, no shadow). */
.lvf .lvf-box { border: 0; border-radius: 0; background: none; padding: 0; }
.lvf .lvf-subscribe-wrap { margin-top: 12px; }
.lvf .lvf-subscribe {
	padding: 4px 2px; border-radius: 4px; background: none; box-shadow: none; transform: none;
	gap: 8px; font-weight: 600; font-size: .95rem; color: var(--lvf-accent) !important;
}
.lvf .lvf-subscribe:hover { box-shadow: none; transform: none; text-decoration: underline !important; }
.lvf .lvf-subscribe-icon svg { width: 18px; height: 18px; }
.lvf .lvf-subscribe-icon img { width: 22px; height: 22px; }
@media (max-width: 520px) {
	.lvf .lvf-subscribe { padding: 4px 2px; font-size: .92rem; }
}

/* ===================== Facebook & LinkedIn ===================== */
.ssf .ssf-profile { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.ssf .ssf-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; border: 1px solid var(--lvf-border); }
.ssf .ssf-logo-initials { display: grid; place-items: center; background: var(--lvf-accent); color: #fff; font-weight: 700; border: 0; }
.ssf .ssf-profile-text { min-width: 0; }
.ssf .ssf-name { margin: 0; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--lvf-text); }
.ssf .ssf-name a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssf .ssf-name a:hover { color: var(--lvf-accent); text-decoration: underline; }
.ssf .ssf-verified { color: #1d6ef0; flex: none; }
.ssf .ssf-followers { margin: 2px 0 0; color: var(--lvf-muted); font-size: .85rem; }

.ssf .ssf-posts { display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ssf .ssf-posts[tabindex]:focus-visible { outline: 3px solid var(--lvf-accent); outline-offset: 2px; }
.ssf .ssf-post article { display: flex; flex-direction: column; gap: 8px; }
.ssf .ssf-post + .ssf-post { padding-top: 18px; border-top: 1px solid var(--lvf-border); }
.ssf .ssf-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #0b0f17; }
.ssf .ssf-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.ssf .ssf-media:hover img { transform: scale(1.03); }
.ssf .ssf-media:focus-visible { outline: 3px solid var(--lvf-accent); outline-offset: 2px; }
.ssf .ssf-media-text { display: grid; place-items: center; padding: 18px; background: linear-gradient(135deg, var(--lvf-accent), #2c5aa8); color: #fff; text-decoration: none; }
.ssf .ssf-media-text span { font-size: 1.05rem; font-weight: 600; line-height: 1.4; text-align: center; }
.ssf .ssf-text { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--lvf-text); overflow-wrap: anywhere; }
.ssf .ssf-more { color: var(--lvf-accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ssf .ssf-more:hover { text-decoration: underline; }
.ssf .ssf-post .lvf-info-row { padding: 0; }
.ssf .ssf-post .lvf-meta, .ssf .ssf-post .lvf-channel-link { margin-top: 0; }
.ssf .ssf-slide .ssf-text { margin-top: 10px; }
.ssf-carousel .lvf-slide-info { padding-top: 8px; }

/* Official embeds */
.ssf .ssf-embed-fb { display: flex; justify-content: center; }
.ssf .ssf-fb-frame { width: 100%; max-width: 500px; border: 0; overflow: hidden; display: block; background: #fff; }
.ssf .ssf-li-embeds { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overscroll-behavior: contain; }
.ssf .ssf-li-frame { width: 100%; max-width: 504px; border: 0; display: block; margin: 0 auto; background: #fff; }

/* Click-to-load */
.ssf-consent {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
	padding: 24px 18px; border-radius: 10px; background: #f3f5f9; color: var(--lvf-muted); font-size: .9rem;
}
.ssf-consent p { margin: 0; max-width: 34ch; }
.ssf-consent-btn {
	font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer;
	background: var(--lvf-accent); color: #fff;
}
.ssf-consent-btn:focus-visible { outline: 3px solid var(--lvf-accent); outline-offset: 3px; }

/* Combined tabs */
.ssf-social .ssf-tablist { display: flex; gap: 4px; margin: 0 0 14px; border-bottom: 2px solid var(--lvf-border); overflow-x: auto; scrollbar-width: none; }
.ssf-social .ssf-tab {
	font: inherit; font-weight: 600; font-size: .92rem; padding: 9px 14px; border: 0; background: none; cursor: pointer;
	color: var(--lvf-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap;
}
.ssf-social .ssf-tab:hover { color: var(--lvf-accent); }
.ssf-social .ssf-tab[aria-selected="true"] { color: var(--lvf-accent); border-bottom-color: var(--lvf-accent); }
.ssf-social .ssf-tab:focus-visible { outline: 2px solid var(--lvf-accent); outline-offset: -2px; border-radius: 6px 6px 0 0; }
.ssf-social .ssf-panel:focus-visible { outline: 2px solid var(--lvf-accent); outline-offset: 4px; border-radius: 6px; }
.ssf-social .ssf-panel > .lvf { margin: 0; }
.ssf-social .ssf-panel[hidden] { display: none; }
.ssf .ssf-slide .ssf-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 2); }
.ssf .ssf-slide .ssf-more { display: none; }
.ssf-consent { width: 100%; box-sizing: border-box; }
