/* ============================================================
   Social Publications – Front-end styles v1.5.0
   ============================================================ */

.sp-container {
	max-width: 680px;
	margin: 40px auto;
	padding: 0 16px;
}

/* ================================================================
   FACEBOOK – EMBEDDED PAGE
   ================================================================ */

.sp-fb-profile {
	max-width: 680px;
	margin: 40px auto;
	padding: 0 16px;
	color: #1c1e21;
}

.sp-fb-embed {
	border: 1px solid #dddfe2;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.12);
	background: #fff;
}

/* ---- Cover ---- */
.sp-fb-embed__cover {
	position: relative;
	height: 180px;
	background: #18191a;
	overflow: hidden;
}

.sp-fb-embed__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.sp-fb-embed__cover-gradient {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #1877f2 0%, #166fe5 40%, #0a4ab5 100%);
}

/* ---- Profile row ---- */
.sp-fb-embed__profile-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 16px 14px;
	border-bottom: 1px solid #e4e6eb;
	position: relative;
}

.sp-fb-embed__avatar-wrap {
	flex-shrink: 0;
	margin-top: -44px;
}

.sp-fb-embed__avatar,
.sp-fb-embed__avatar--photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}

.sp-fb-embed__avatar {
	background: #1877f2;
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.sp-fb-embed__avatar--photo {
	object-fit: cover;
	display: block;
}

.sp-fb-embed__page-info {
	flex: 1;
	min-width: 0;
}

.sp-fb-embed__page-name {
	font-size: 16px;
	font-weight: 700;
	color: #050505;
	text-decoration: none;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}
.sp-fb-embed__page-name:hover { text-decoration: underline; }
h1.sp-fb-embed__page-name { margin: 0; }

.sp-fb-embed__category {
	font-size: 12px;
	color: #65676b;
	margin: 1px 0 0;
}

.sp-fb-embed__stats {
	font-size: 12px;
	color: #65676b;
	margin: 2px 0 0;
}

.sp-fb-embed__like-btn {
	background: #1877f2 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	text-decoration: none !important;
	outline: none;
	box-shadow: none !important;
	transition: background .15s !important;
	line-height: 1.2;
	white-space: nowrap;
}
.sp-fb-embed__like-btn:hover,
.sp-fb-embed__like-btn:focus,
.sp-fb-embed__like-btn:active {
	background: #166fe5 !important;
	color: #fff !important;
	border: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
}

/* ---- Nav tabs ---- */
.sp-fb-embed__tabs {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid #e4e6eb;
	background: #fff;
}
.sp-fb-embed__tabs::-webkit-scrollbar { display: none; }

.sp-fb-embed__tab {
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #65676b;
	cursor: default;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	flex-shrink: 0;
}

.sp-fb-embed__tab--active {
	color: #1877f2;
	border-bottom-color: #1877f2;
}

/* ---- Body ---- */
.sp-fb-embed__body {
	background: #f0f2f5;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ---- About strip ---- */
.sp-fb-embed__about {
	background: #fff;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13px;
	color: #65676b;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sp-fb-embed__about-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sp-fb-embed__about-item a {
	color: #050505;
	text-decoration: none;
}
.sp-fb-embed__about-item a:hover { text-decoration: underline; }

/* ---- Post card ---- */
.sp-fb-embed__post {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.sp-fb-embed__post-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px 8px;
}

.sp-fb-embed__post-avatar,
.sp-fb-embed__post-avatar--photo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
}

.sp-fb-embed__post-avatar {
	background: #1877f2;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.sp-fb-embed__post-avatar--photo {
	object-fit: cover;
	display: block;
}

.sp-fb-embed__post-meta { flex: 1; }

.sp-fb-embed__post-name {
	font-size: 14px;
	font-weight: 600;
	color: #050505;
	text-decoration: none;
	display: block;
	line-height: 1.2;
}
.sp-fb-embed__post-name:hover { text-decoration: underline; }

.sp-fb-embed__post-date {
	font-size: 12px;
	color: #65676b;
}

.sp-fb-embed__post-dots {
	color: #65676b;
	font-size: 18px;
	cursor: default;
	letter-spacing: 1px;
}

.sp-fb-embed__post-text {
	padding: 0 14px 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #1c1e21;
	word-break: break-word;
}
.sp-fb-embed__post-text p { margin: 0 0 6px; }
.sp-fb-embed__post-text p:last-child { margin-bottom: 0; }

.sp-fb-embed__post-image img {
	width: 100%;
	display: block;
	max-height: 400px;
	object-fit: cover;
}


/* ---- Reaction bubbles ---- */
.sp-fb-r {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #fff;
	margin-right: -5px;
	vertical-align: middle;
}
.sp-fb-r--like  { background: #1877f2; }
.sp-fb-r--love  { background: #f33e58; }
.sp-fb-r--wow   { background: #f7b928; }
.sp-fb-embed__post-react-count { vertical-align: middle; margin-right: 6px; }

.sp-fb-embed__post-reactions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 14px;
	font-size: 12px;
	color: #65676b;
	border-bottom: 1px solid #dddfe2;
}

.sp-fb-embed__post-actions {
	display: flex;
	padding: 2px 6px;
}

.sp-fb-embed__action-btn {
	flex: 1;
	background: none !important;
	border: none !important;
	padding: 7px 4px;
	font-size: 13px;
	font-weight: 600;
	color: #65676b !important;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none;
	transition: background .15s, color .15s !important;
	line-height: 1.2;
}
.sp-fb-embed__action-btn:hover,
.sp-fb-embed__action-btn:focus {
	background: rgba(0,0,0,.05) !important;
	color: #050505 !important;
	border: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	border-radius: 4px;
}

/* ---- Footer link ---- */
.sp-fb-embed__footer {
	background: #fff;
	border-top: 1px solid #e4e6eb;
	text-align: center;
	padding: 10px;
	font-size: 13px;
}

.sp-fb-embed__footer a {
	color: #1877f2;
	text-decoration: none;
	font-weight: 600;
}
.sp-fb-embed__footer a:hover { text-decoration: underline; }

/* ================================================================
   LINKEDIN
   ================================================================ */
.sp-post--linkedin .sp-li {
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.06);
	color: rgba(0,0,0,.9);
	font-size: 14px;
	max-width: 680px;
	margin: 0 auto;
}

/* ---- Cover photo ---- */
.sp-li__cover {
	position: relative;
	height: 160px;
	background: #18191a;
	overflow: hidden;
}
.sp-li__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.sp-li__cover-gradient {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #0a66c2 0%, #0073b1 50%, #00a0dc 100%);
}

/* ---- Profile section ---- */
.sp-li__profile-section {
	padding: 0 16px 16px;
	background: #fff;
	position: relative;
	z-index: 1;
}
.sp-li__profile-row1 {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 44px;
}
.sp-li__avatar-wrap {
	flex-shrink: 0;
	margin-top: -36px;
}
.sp-li__avatar {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	border: 3px solid #fff;
	box-shadow: 0 0 0 1px rgba(0,0,0,.1);
	background: #0a66c2;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}
.sp-li__avatar--photo {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	border: 3px solid #fff;
	box-shadow: 0 0 0 1px rgba(0,0,0,.1);
	object-fit: cover;
	display: block;
}
.sp-li__profile-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 12px;
}
.sp-post--linkedin .sp-li .sp-li__btn-primary,
.sp-post--linkedin .sp-li .sp-li__btn-secondary,
.sp-post--linkedin .sp-li .sp-li__btn-dots,
.sp-post--linkedin .sp-li .sp-li__follow-btn,
.sp-post--linkedin .sp-li .sp-li__menu-btn,
.sp-post--linkedin .sp-li .sp-li__action-btn {
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	box-sizing: border-box;
	line-height: 1.3;
	text-align: right;
	vertical-align: middle;
}
/* Profile: + עקוב */
.sp-post--linkedin .sp-li .sp-li__btn-primary {
	background: #0a66c2;
	color: #fff;
	border: none;
	border-radius: 16px;
	padding: 5px 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}
/* Profile: הודעה */
.sp-post--linkedin .sp-li .sp-li__btn-secondary {
	background: #fff;
	color: rgba(0,0,0,.9);
	border: 1px solid rgba(0,0,0,.4);
	border-radius: 16px;
	padding: 4px 14px;
	font-size: 16px;
	font-weight: 600;
	cursor: default;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
/* Profile: ··· circle */
.sp-post--linkedin .sp-li .sp-li__btn-dots {
	background: #fff;
	color: rgba(0,0,0,.6);
	border: 1px solid rgba(0,0,0,.4);
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: default;
	padding: 0;
	flex-shrink: 0;
}
/* Post header: + עקוב text-link style */
.sp-post--linkedin .sp-li .sp-li__follow-btn {
	background: transparent;
	color: #0a66c2;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: default;
	padding: 0 4px;
	border-radius: 0;
	flex-shrink: 0;
	text-decoration: none;
	cursor: pointer;
}
/* Post header: ··· icon */
.sp-post--linkedin .sp-li .sp-li__menu-btn {
	background: transparent;
	color: rgba(0,0,0,.6);
	border: none;
	cursor: default;
	padding: 4px;
	display: inline-flex;
	align-items: center;
	border-radius: 50%;
	flex-shrink: 0;
}

.sp-li__profile-info {
	margin-top: 10px;
}
.sp-li__profile-name {
	font-size: 20px;
	font-weight: 700;
	color: rgba(0,0,0,.9);
	display: block;
	text-decoration: none;
	line-height: 1.3;
}
.sp-li__profile-name:hover { text-decoration: underline; }
.sp-li__profile-headline {
	font-size: 14px;
	color: rgba(0,0,0,.75);
	margin: 3px 0;
}
.sp-li__profile-meta {
	font-size: 13px;
	color: #0a66c2;
	margin: 4px 0 0;
}

/* ---- Post card ---- */
.sp-li__post-card {
	border-top: 8px solid #f3f2ef;
}
.sp-li__post-header {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 12px 16px 0;
}
.sp-li__post-avatar-wrap { flex-shrink: 0; }
.sp-li__post-avatar {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #0a66c2;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}
.sp-li__post-avatar--photo {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}
.sp-li__post-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.sp-li__post-name {
	font-size: 14px;
	font-weight: 700;
	color: rgba(0,0,0,.9);
	text-decoration: none;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sp-li__post-name:hover { text-decoration: underline; color: #0a66c2; }
.sp-li__post-timestamp {
	font-size: 12px;
	color: rgba(0,0,0,.6);
}
.sp-li__follow-btn {
	background: transparent;
	color: #0a66c2;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: default;
	padding: 4px 8px;
	border-radius: 4px;
	flex-shrink: 0;
}
.sp-li__menu-btn {
	background: transparent;
	border: none;
	cursor: default;
	color: rgba(0,0,0,.6);
	padding: 4px;
	display: flex;
	align-items: center;
	border-radius: 50%;
	flex-shrink: 0;
}

.sp-li__body { padding: 6px 16px 4px; }
.sp-li__text {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(0,0,0,.9);
	word-break: break-word;
}
.sp-li__text p { margin: 0 0 6px; }
.sp-li__text p:last-child { margin-bottom: 0; }

/* ---- Image ---- */
.sp-li__image { line-height: 0; }
.sp-li__image img {
	width: 100%;
	display: block;
	max-height: 510px;
	object-fit: cover;
}

/* ---- Social counts ---- */
.sp-li__social-counts {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 16px;
	font-size: 12px;
	color: rgba(0,0,0,.6);
}
.sp-li__reaction-summary {
	display: flex;
	align-items: center;
	gap: 4px;
}
/* Stacked reaction bubbles */
.sp-li__ri {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #fff;
	margin-inline-end: -5px;
	flex-shrink: 0;
}
.sp-li__ri--like       { background: #0a66c2; }
.sp-li__ri--love       { background: #df704d; }
.sp-li__ri--insightful { background: #f5a623; }
.sp-li__ri svg { display: block; }

.sp-li__reaction-count {
	margin-inline-start: 9px;
	font-size: 12px;
	color: rgba(0,0,0,.6);
}
.sp-li__comment-repost-count {
	font-size: 12px;
	color: rgba(0,0,0,.6);
}

/* ---- Action buttons ---- */
.sp-li__actions {
	display: flex;
	padding: 0 8px 4px;
	border-top: 1px solid rgba(0,0,0,.08);
}
.sp-li__action-btn {
	flex: 1;
	background: none !important;
	border: none !important;
	padding: 10px 4px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(0,0,0,.6) !important;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
	transition: background .15s, color .15s !important;
	line-height: 1;
}
.sp-li__action-btn svg { flex-shrink: 0; }
.sp-li__action-btn:hover,
.sp-li__action-btn:focus {
	background: rgba(0,0,0,.06) !important;
	color: rgba(0,0,0,.9) !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
	border-radius: 4px;
}

/* ================================================================
   INSTAGRAM
   ================================================================ */
.sp-post--instagram .sp-ig {
	background: #fff;
	border: 1px solid #dbdbdb;
	border-radius: 3px;
	overflow: hidden;
	color: #262626;
	margin: 0 -16px;
	font-size: 14px;
}

/* Header */
.sp-ig__header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-bottom: 1px solid #efefef;
}

/* Avatar ring – mimics the story gradient ring */
.sp-ig__avatar-ring {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	padding: 2px;
	background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
	flex-shrink: 0;
}
.sp-ig__avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #833ab4;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	text-transform: uppercase;
	box-sizing: border-box;
}
.sp-ig__avatar--photo {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	box-sizing: border-box;
	display: block;
}

.sp-ig__meta { flex: 1; min-width: 0; }
.sp-ig__username {
	font-size: 14px;
	font-weight: 600;
	color: #262626;
	text-decoration: none;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sp-ig__username:hover { text-decoration: underline; }

/* Follow button */
.sp-ig__follow-btn {
	background: none !important;
	border: none !important;
	color: #0095f6 !important;
	font-size: 14px;
	font-weight: 600;
	padding: 0 8px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	line-height: 1;
	box-shadow: none !important;
	outline: none;
	text-decoration: none !important;
	transition: opacity .15s !important;
}
.sp-ig__follow-btn:hover,
.sp-ig__follow-btn:focus {
	background: none !important;
	color: #0095f6 !important;
	border: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	opacity: .75;
}

/* Three-dot menu button */
.sp-ig__menu-btn {
	background: none !important;
	border: none !important;
	color: #262626 !important;
	padding: 6px 8px;
	cursor: default;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: none !important;
	outline: none !important;
	transition: none !important;
	text-decoration: none !important;
}
.sp-ig__menu-btn:hover,
.sp-ig__menu-btn:focus,
.sp-ig__menu-btn:active {
	background: none !important;
	color: #262626 !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
}

/* Image */
.sp-ig__image { line-height: 0; }
.sp-ig__image img {
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.sp-ig__image--placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Action bar */
.sp-ig__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 4px 0;
}
.sp-ig__actions-left { display: flex; gap: 0; }
.sp-ig__actions-right { display: flex; }

.sp-ig__action-btn {
	background: none !important;
	border: none !important;
	color: #262626 !important;
	padding: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	outline: none !important;
	transition: color .15s, transform .15s !important;
	text-decoration: none !important;
	line-height: 1;
}
.sp-ig__action-btn svg { display: block; color: inherit; }
.sp-ig__action-btn:hover,
.sp-ig__action-btn:focus {
	background: none !important;
	color: rgba(0,0,0,.5) !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
	transform: scale(1.1);
}

/* Likes */
.sp-ig__likes {
	padding: 6px 12px 4px;
	font-size: 14px;
	color: #262626;
}
.sp-ig__likes strong { font-weight: 600; }

/* Caption */
.sp-ig__caption {
	padding: 2px 12px 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #262626;
	word-break: break-word;
}
.sp-ig__caption p { margin: 0 0 4px; }
.sp-ig__caption p:last-child { margin-bottom: 0; }
.sp-ig__caption-user {
	font-weight: 600;
	margin-inline-end: 4px;
	color: #262626;
	text-decoration: none;
}
.sp-ig__caption-user:hover { text-decoration: underline; }

/* Date */
.sp-ig__date {
	padding: 0 12px 12px;
	font-size: 10px;
	color: #8e8e8e;
	letter-spacing: .5px;
	text-transform: uppercase;
}

/* ================================================================
   YOUTUBE SHORTS
   ================================================================ */
@keyframes sp-yt-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.sp-post--youtube .sp-yt {
	max-width: 380px;
	margin: 0 auto;
}

.sp-yt__frame {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
	box-shadow: 0 8px 32px rgba(0,0,0,.55);
}

/* Background */
.sp-yt__bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
	object-fit: cover;
}

.sp-yt__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sp-yt__bg--empty {
	position: absolute;
	inset: 0;
	background: linear-gradient(170deg, #0f0f0f 0%, #1a1a1a 50%, #212121 100%);
}

.sp-yt__video-cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: transparent;
}

/* Gradient overlay */
.sp-yt__gradient {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(0,0,0,.90) 0%, transparent 25%),
		linear-gradient(to top,    rgba(0,0,0,.80) 0%, transparent 50%);
	pointer-events: none;
}

/* ---- Top bar ---- */
.sp-yt__topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px;
}

.sp-yt__topbar-icon { flex-shrink: 0; }

.sp-yt__topbar-brand {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sp-yt__topbar-shorts-text {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.3px;
}

/* ---- Right sidebar ---- */
.sp-yt__sidebar {
	position: absolute;
	right: 8px;
	bottom: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

/* Avatar + subscribe dot */
.sp-yt__avatar-wrap { position: relative; flex-shrink: 0; }

.sp-yt__avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #ff0000;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.sp-yt__avatar--photo {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid #fff;
	object-fit: cover;
	display: block;
}

.sp-yt__sub-dot {
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ff0000;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border: 1.5px solid #000;
}

/* Side action buttons */
.sp-yt__side-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.sp-yt__side-btn svg { display: block; }

.sp-yt__side-count {
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* Spinning music disc */
.sp-yt__disc {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #2a2a2a;
	border: 8px solid #3d3d3d;
	animation: sp-yt-spin 4s linear infinite;
	overflow: hidden;
	position: relative;
	flex-shrink: 0;
}

.sp-yt__disc::after {
	content: '';
	position: absolute;
	inset: 50%;
	transform: translate(-50%, -50%);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #666;
	z-index: 2;
}

.sp-yt__disc-inner {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	overflow: hidden;
}

.sp-yt__disc-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: .7;
}

/* ---- Bottom info ---- */
.sp-yt__info {
	position: absolute;
	bottom: 12px;
	left: 12px;
	right: 70px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.sp-yt__ch-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sp-yt__ch-name {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
	white-space: nowrap;
}

.sp-yt__ch-name:hover { text-decoration: underline; }

.sp-yt__subscribe-btn {
	background: #fff !important;
	color: #0f0f0f !important;
	border: none !important;
	border-radius: 18px;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	box-shadow: none !important;
	outline: none !important;
	transition: opacity .15s !important;
	white-space: nowrap;
}

.sp-yt__subscribe-btn:hover,
.sp-yt__subscribe-btn:focus {
	background: rgba(255,255,255,.85) !important;
	color: #0f0f0f !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.sp-yt__caption {
	text-align: right;
	direction: rtl;
	font-size: 13px;
	color: #fff;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.sp-yt__caption p { margin: 0 0 2px; }
.sp-yt__caption p:last-child { margin: 0; }

.sp-yt__audio-row {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: rgba(255,255,255,.9);
	text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.sp-yt__audio-row svg { flex-shrink: 0; }

/* ---- Bottom navigation ---- */
.sp-yt__bottomnav {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: rgba(15,15,15,.95);
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 0 4px 4px;
	border-top: 1px solid rgba(255,255,255,.08);
}

.sp-yt__nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: rgba(255,255,255,.6);
	font-size: 9px;
	font-weight: 500;
	cursor: default;
	flex: 1;
}

.sp-yt__nav-item--active { color: #fff; }
.sp-yt__nav-item svg { display: block; }

.sp-yt__nav-item--shorts { flex: 1; }
.sp-yt__shorts-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ================================================================
   PLACEHOLDER
   ================================================================ */
.sp-platform-placeholder { background: #f0f2f5; border-radius: 8px; padding: 32px; text-align: right; color: #65676b; font-size: 15px; }

/* ================================================================
   ARCHIVE – Publication Grid
   ================================================================ */

.sp-archive {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	direction: rtl;
}

/* ---- Header ---- */
.sp-archive__header {
	padding: 56px 0 40px;
	text-align: center;
	margin-bottom: 40px;
}

.sp-archive__title {
	font-size: 40px;
	font-weight: 900;
	color: #1a2540;
	margin: 0 0 28px;
	line-height: 1.2;
}

/* ---- Filter tabs ---- */
.sp-archive__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.sp-archive__filter-btn {
	display: inline-flex;
	align-items: center;
	padding: 7px 20px;
	border-radius: 50px;
	border: 1.5px solid #d0d3da;
	background: #fff;
	color: #555;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: border-color .15s, background .15s, color .15s;
	cursor: pointer;
	white-space: nowrap;
}

.sp-archive__filter-btn:hover {
	border-color: var(--sp-platform-color, #1a6fa8);
	color: var(--sp-platform-color, #1a6fa8);
}

.sp-archive__filter-btn--active {
	background: var(--sp-platform-color, #1a6fa8);
	border-color: var(--sp-platform-color, #1a6fa8);
	color: #fff;
}

.sp-archive__filter-btn:first-child {
	border-color: #1a2540;
	color: #1a2540;
}

.sp-archive__filter-btn:first-child.sp-archive__filter-btn--active {
	background: #1a2540;
	border-color: #1a2540;
	color: #fff;
}

/* ---- Grid ---- */
.sp-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
}

/* ---- Card ---- */
.sp-archive__card {
	background: #F5F9FD;
	border: none;
	border-radius: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.sp-archive__card::before {
	display: none;
}

.sp-archive__card:nth-child(3n+1) { border-radius: 0 0 0 7rem; }
.sp-archive__card:nth-child(3n+2) { border-radius: 0 0 7rem 0; }
.sp-archive__card:nth-child(3n+3) { border-radius: 0 7rem 0 0; }


/* ---- Thumbnail ---- */
.sp-archive__card-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f0f2f5;
	text-decoration: none;
}

.sp-archive__card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: transform .4s ease;
}

.sp-archive__card:hover .sp-archive__card-thumb img {
	transform: scale(1.04);
}

.sp-archive__card-thumb-placeholder {
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #e8eaf0 0%, #d0d4de 100%);
}

/* ---- Card body ---- */
.sp-archive__card-body {
	padding: 2.4rem 3.2rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* ---- Platform tag ---- */
.sp-archive__card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.sp-archive__card-tag {
	font-size: 12px;
	color: var(--sp-platform-color, #1a6fa8);
	border: 1px solid var(--sp-platform-color, #1a6fa8);
	border-radius: 10rem;
	padding: 0.4rem 1.6rem;
	font-weight: 600;
	line-height: 1.5;
	background: #fff;
}

/* ---- Title ---- */
.sp-archive__card-title {
	font-size: 21px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.35;
}

.sp-archive__card-title a {
	color: #1a2540;
	text-decoration: none;
	transition: color .15s;
}

.sp-archive__card:hover .sp-archive__card-title a {
	color: var(--sp-platform-color, #1a6fa8);
}

/* ---- Excerpt ---- */
.sp-archive__card-excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

/* ---- Divider ---- */
.sp-archive__card-divider {
	border: none;
	border-top: 1px solid #e8eaed;
	margin: 16px 0;
}

/* ---- Meta row (bottom) ---- */
.sp-archive__card-meta {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sp-archive__card-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #e0e2e8;
	border: none;
}

.sp-archive__card-avatar--letter {
	background: #d0d4de;
	color: #888;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sp-archive__card-meta-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sp-archive__card-profile {
	font-size: 13px;
	font-weight: 600;
	color: #1a2540;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sp-archive__card-date {
	font-size: 12px;
	color: #999;
	margin-top: 1px;
}

/* ---- Empty state ---- */
.sp-archive__empty {
	text-align: right;
	padding: 80px 20px;
	color: #65676b;
	font-size: 16px;
}

/* ---- Pagination ---- */
.sp-archive__pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 64px;
	flex-wrap: wrap;
}

.sp-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1.5px solid #d0d3da;
	background: #fff;
	color: #555;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}

.sp-archive__pagination .page-numbers:hover,
.sp-archive__pagination .page-numbers.current {
	background: #1a2540;
	border-color: #1a2540;
	color: #fff;
}

.sp-archive__pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	pointer-events: none;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.sp-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.sp-archive__grid {
		grid-template-columns: 1fr;
	}
	.sp-archive__title {
		font-size: 28px;
	}
}

/* Platform label above each post */
.sp-platform-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 36px;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 20px;
	padding: 0;
	direction: rtl;
}

.sp-platform-label span{
	font-family: 'Almoni Tzar ML v5 AAA', sans-serif !important;
}

.sp-platform-label span:first-child {
	color: #888;
}

.sp-platform-label span:last-child {
	color: #aaa;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 0.04em;
	direction: ltr;
}

.sp-fb-profile .sp-platform-label {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}
