/* Typography
--------------------------*/
/* ------CustomCSS------ */
.ad-area {

border:2px dashed #ccd6dd;
background-image: url(https://wordpress.kingthemes.net/main/wp-content/uploads/headafter.png);
background-repeat:repeat-y;
background-position:15%;
padding:30px;
border-radius:4px;
font-size:18px;
text-align:center;
}
.king-night .ad-area {
border-color:#303030;
}
.list-item-media .instagram-media {
    height:700px !important;
}/* ------body------ */
/* ------header------ */
/* ------footer------ */
/* ------sidebar------ */
/* ------PostPage------ */

/* Playable video embeds (YouTube iframe must fill 16:9 box) */
.post-video.embed-responsive {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	overflow: hidden;
	background: #000;
	box-sizing: border-box;
}
.post-video.embed-responsive-16by9:not(.is_stuck) {
	padding-bottom: 56.25%;
	height: 0;
}
.post-video.embed-responsive > iframe,
.post-video.embed-responsive > .king-video-iframe,
.post-video.embed-responsive > .embed-responsive-item,
.post-video.embed-responsive > video,
.post-video.embed-responsive > .video-js {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	border: 0;
	max-width: none;
}
.post-video .king-video-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111;
	color: #fff;
	text-decoration: none;
}
.post-video .king-video-fallback img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
}
.post-video .king-video-play-label {
	position: relative;
	z-index: 1;
	padding: 12px 22px;
	border-radius: 999px;
	background: rgba(230, 0, 35, 0.92);
	font-weight: 700;
}

/* Placeholder keeps layout when video is floating */
.king-float-placeholder {
	display: none;
	width: 100%;
	background: transparent;
	pointer-events: none;
}

/* Close button (hidden until floating) */
.post-video .king-float-close {
	display: none;
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 20;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.post-video .king-float-close:hover,
.post-video .king-float-close:focus {
	background: #e60023;
	outline: none;
}

/* Floating mini-player (same iframe = keeps playing) */
.post-video.floating-video.is_stuck {
	position: fixed !important;
	top: auto !important;
	left: auto !important;
	right: 16px !important;
	bottom: 16px !important;
	width: min(400px, calc(100vw - 24px)) !important;
	height: auto !important;
	padding: 0 !important;
	padding-bottom: 0 !important;
	aspect-ratio: 16 / 9;
	max-width: calc(100vw - 24px) !important;
	max-height: min(40vh, 260px) !important;
	z-index: 99999 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
	animation: king-float-in 0.28s ease;
	background: #000;
}
.post-video.floating-video.is_stuck > iframe,
.post-video.floating-video.is_stuck > .king-video-iframe,
.post-video.floating-video.is_stuck > .embed-responsive-item,
.post-video.floating-video.is_stuck > video,
.post-video.floating-video.is_stuck > .video-js {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 14px;
}
.post-video.floating-video.is_stuck .king-float-close {
	display: flex !important;
}
.post-video.floating-video.is_stuck .king-loading-ad,
.post-video.floating-video.is_stuck .king-playlist {
	display: none !important;
}
.post-video.king-float-dismissed.is_stuck {
	display: none !important;
}

@keyframes king-float-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Phones / small tablets */
@media (max-width: 767px) {
	.post-video.floating-video.is_stuck {
		right: 10px !important;
		bottom: 10px !important;
		left: auto !important;
		width: min(280px, calc(100vw - 20px)) !important;
		max-height: min(32vh, 180px) !important;
		border-radius: 12px !important;
	}
	.post-video .king-float-close {
		width: 28px;
		height: 28px;
		font-size: 18px;
		top: 6px;
		right: 6px;
	}
}

/* Very small phones */
@media (max-width: 380px) {
	.post-video.floating-video.is_stuck {
		width: calc(100vw - 16px) !important;
		right: 8px !important;
		bottom: 8px !important;
		max-height: 28vh !important;
	}
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
	.post-video.floating-video.is_stuck {
		right: max(12px, env(safe-area-inset-right)) !important;
		bottom: max(12px, env(safe-area-inset-bottom)) !important;
	}
}

/* ------KingflixPage------ */

.king-profile-badge .Unlimited_Badges {
	background-image: url();
}

.king-profile-badge .Points_Badge_lvl1 {
	background-image: url();
}
.king-profile-badge .Points_Badge_lvl2 {
	background-image: url();
}
.king-profile-badge .Points_Badge_lvl3 {
	background-image: url();
}
.king-profile-badge .Followed_Accounts {
	background-image: url();
}
.king-profile-badge .Top_Commenter_lvl1 {
	background-image: url();
}
.king-profile-badge .Top_Commenter_lvl2 {
	background-image: url();
}
.king-profile-badge .Top_Commenter_lvl3 {
	background-image: url();
}
.king-profile-badge .Post_Creator_lvl1 {
	background-image: url();
}
.king-profile-badge .Post_Creator_lvl2 {
	background-image: url();
}
.king-profile-badge .Post_Creator_lvl3 {
	background-image: url();
}


/* CLAADSS internal sidebar sponsored posts + fixed square ad — v9.9.71 */
#secondary .claadss-sidebar-sponsored {
	margin: 0 0 16px;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
	overflow: hidden;
}
#secondary .claadss-sidebar-sponsored__title {
	margin: 0 0 10px !important;
	padding: 9px 12px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: linear-gradient(105deg, #4f46e5, #a855f7 48%, #ec4899) !important;
	color: #fff !important;
	font-size: .9rem !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
}
#secondary .claadss-sidebar-sponsored__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}
#secondary a.claadss-sidebar-sponsored__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0 !important;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	color: #0f172a !important;
	text-decoration: none !important;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
#secondary a.claadss-sidebar-sponsored__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 9px 20px rgba(79, 70, 229, .12);
}
#secondary .claadss-sidebar-sponsored__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #eef2ff, #fdf2f8);
	overflow: hidden;
}
#secondary .claadss-sidebar-sponsored__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#secondary .claadss-sidebar-sponsored__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	padding: 8px 9px 10px;
	font-size: .76rem;
	font-weight: 800;
	line-height: 1.3;
}
#secondary .claadss-sidebar-fixed-ad {
	width: 100%;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
	overflow: hidden;
}
#secondary .claadss-sidebar-fixed-ad .claadss-adsense-slot,
#secondary .claadss-sidebar-fixed-ad .claadss-adsense-slot--sidebar_square {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 250px;
	text-align: center;
	overflow: hidden;
}
#secondary .claadss-sidebar-fixed-ad .adsbygoogle {
	max-width: 100%;
}
@media (max-width: 900px) {
	#secondary .claadss-sidebar-sponsored__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* CLAADSS sponsored sidebar carousel — v9.9.72 */
#secondary .claadss-sidebar-sponsored__stage {
	position: relative;
	width: 100%;
}
#secondary .claadss-sidebar-sponsored__grid {
	display: block;
}
#secondary a.claadss-sidebar-sponsored__card {
	display: none;
	width: 100%;
	min-width: 0;
	padding: 0 !important;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	color: #0f172a !important;
	text-decoration: none !important;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
#secondary a.claadss-sidebar-sponsored__card.is-active {
	display: block;
}
#secondary .claadss-sidebar-sponsored__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #eef2ff, #fdf2f8);
	overflow: hidden;
}
#secondary .claadss-sidebar-sponsored__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	padding: 12px 13px 14px;
	font-size: .96rem;
	font-weight: 850;
	line-height: 1.35;
}
#secondary .claadss-sidebar-sponsored__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 11px;
}
#secondary .claadss-sidebar-sponsored__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cbd5e1;
	cursor: pointer;
	transition: width .18s ease, background .18s ease;
}
#secondary .claadss-sidebar-sponsored__dot.is-active {
	width: 24px;
	background: linear-gradient(90deg, #4f46e5, #ec4899);
}

/* Sponsored + AdSense floating sidebar — uncropped full presentation, smooth bi-directional float */
html, body {
	overflow-x: clip !important;
}

#page, #content, #primary, #secondary {
	overflow: visible !important;
}

#secondary .claadss-sidebar-promotions {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	position: static !important;
	max-height: none !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
}

@media (min-width: 901px) {
	#primary {
		align-items: stretch !important;
		overflow: visible !important;
	}

	#secondary {
		position: relative !important;
		align-self: stretch !important;
		height: auto !important;
		min-height: 100% !important;
		overflow: visible !important;
	}

	#secondary .first-sidebar {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: 88px;
		top: var(--cl-sidebar-top, 88px) !important;
		z-index: 10 !important;
		width: 100% !important;
		box-sizing: border-box !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
		transform: none !important;
		-webkit-transform: none !important;
		transition: top 0.18s ease-out;
		-webkit-transition: top 0.18s ease-out;
		will-change: top;
	}

	body.admin-bar #secondary .first-sidebar {
		top: 120px;
		top: var(--cl-sidebar-top, 120px) !important;
	}

	#secondary .claadss-sidebar-promotions {
		position: static !important;
		top: auto !important;
		max-height: none !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}
}

@media (max-width: 900px) {
	#secondary .first-sidebar {
		position: static !important;
		transform: none !important;
		-webkit-transform: none !important;
		transition: none !important;
		-webkit-transition: none !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
	}

	#secondary .claadss-sidebar-promotions {
		position: static !important;
		max-height: none !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}
}

/* Ensure full, uncropped presentation for sponsor ads and banners */
#secondary .claadss-sidebar-fixed-ad {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 18px !important;
	padding: 10px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	background: #fff !important;
	box-shadow: 0 10px 26px rgba(15, 23, 42, .06) !important;
	overflow: visible !important;
	max-height: none !important;
	height: auto !important;
}

#secondary .claadss-sidebar-fixed-ad img,
#secondary .claadss-sidebar-fixed-ad .king-ad-image,
#secondary .claadss-sidebar-promotions img,
#secondary .sidebar-ad img,
#secondary .sidebar-adarea img,
#secondary .king-ad-unit img,
#secondary .king-ad-unit-inline img,
#secondary .king-ad-slot-box img,
#secondary .king-ad-view-root img {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	display: block !important;
}

