/* TheCoder Library Blog Layout v1.8.2 - Exact Luxury UI */
.tclbl-library{
	--tclbl-accent:#d6a84f;--tclbl-accent-rgb:214,168,79;--tclbl-radius:14px;--tclbl-cols:2;
	--tclbl-navy:#020817;--tclbl-navy-2:#061529;--tclbl-navy-3:#0a1a31;--tclbl-gold:#f3cc78;
	--tclbl-text:#f7ead0;--tclbl-muted:#cbbd9c;--tclbl-border:rgba(var(--tclbl-accent-rgb),.38);
	color:var(--tclbl-text);background:#020817;font-family:inherit;position:relative;isolation:isolate
}
.tclbl-library *,.tclbl-library *:before,.tclbl-library *:after{box-sizing:border-box}
.tclbl-rtl{direction:rtl;text-align:right}
.tclbl-hero-band{position:relative;overflow:hidden;min-height:610px;background:
	radial-gradient(circle at 7% 23%,rgba(var(--tclbl-accent-rgb),.26),transparent 7%),
	radial-gradient(circle at 90% 12%,rgba(var(--tclbl-accent-rgb),.14),transparent 18%),
	linear-gradient(135deg,#020817 0%,#071b33 45%,#020817 100%);background-position:center;background-size:cover}
.tclbl-hero-full .tclbl-hero-band{width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw);border-radius:0}
.tclbl-hero-band:before{content:"";position:absolute;inset:-8% auto auto -4%;width:42vw;height:42vw;border-radius:50%;border:1px solid rgba(var(--tclbl-accent-rgb),.18);box-shadow:0 0 0 18px rgba(var(--tclbl-accent-rgb),.025),0 0 0 38px rgba(var(--tclbl-accent-rgb),.018),0 0 90px rgba(var(--tclbl-accent-rgb),.18);pointer-events:none}
.tclbl-hero-band:after{content:"";position:absolute;inset:0;background:
	linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
	linear-gradient(180deg,rgba(255,255,255,.018) 1px,transparent 1px);
	background-size:98px 98px;opacity:.35;pointer-events:none}
.tclbl-hero-inner{max-width:1500px;margin:0 auto;padding:30px 40px 28px;display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:58px;align-items:start;position:relative;z-index:1}
.tclbl-hero-copy{grid-column:1;grid-row:1;text-align:center;min-width:0;padding-top:2px}.tclbl-identity-card{grid-column:2;grid-row:1}
.tclbl-identity-card{min-height:355px;border:1px solid rgba(var(--tclbl-accent-rgb),.62);border-radius:14px;background:linear-gradient(180deg,rgba(9,25,47,.82),rgba(2,8,23,.82));padding:28px 20px;text-align:center;box-shadow:inset 0 0 36px rgba(var(--tclbl-accent-rgb),.04),0 20px 55px rgba(0,0,0,.25)}
.tclbl-logo-medallion{width:150px;height:150px;margin:0 auto 22px;border-radius:50%;border:2px solid rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,rgba(255,255,255,.16),rgba(2,8,23,.28));box-shadow:0 0 34px rgba(255,255,255,.1),0 0 42px rgba(var(--tclbl-accent-rgb),.16)}
.tclbl-logo-medallion img{width:100%;height:100%;object-fit:contain;border-radius:50%}.tclbl-logo-ring{font-size:74px;font-weight:900;color:#f8e6bd;text-shadow:0 0 24px rgba(255,255,255,.28)}
.tclbl-identity-card strong{display:block;color:var(--tclbl-gold);font-size:32px;line-height:1.1;margin-bottom:6px;text-shadow:0 0 20px rgba(var(--tclbl-accent-rgb),.22)}
.tclbl-identity-card small{display:block;color:#fff;font-size:16px;margin-bottom:28px}.tclbl-curated-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 18px;border:1px solid rgba(var(--tclbl-accent-rgb),.55);border-radius:10px;color:var(--tclbl-gold);background:rgba(2,8,23,.62);font-weight:900;font-size:14px;white-space:nowrap}
.tclbl-kicker{display:inline-flex;align-items:center;justify-content:center;color:var(--tclbl-gold);font-size:17px;font-weight:900;margin-bottom:26px;padding:12px 48px;border:1px solid rgba(var(--tclbl-accent-rgb),.55);position:relative;line-height:1}
.tclbl-kicker:before,.tclbl-kicker:after{content:"";position:absolute;top:50%;width:42px;height:1px;background:rgba(var(--tclbl-accent-rgb),.75)}.tclbl-kicker:before{right:-42px}.tclbl-kicker:after{left:-42px}
.tclbl-hero-copy h2{margin:0;color:var(--tclbl-gold);font-size:clamp(46px,5.2vw,80px);line-height:1.08;font-weight:900;letter-spacing:-.03em;text-shadow:0 5px 34px rgba(var(--tclbl-accent-rgb),.22);text-align:center}
.tclbl-ornament{height:18px;margin:18px auto 16px;width:min(520px,80%);position:relative}.tclbl-ornament:before{content:"";position:absolute;inset:50% 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent)}.tclbl-ornament:after{content:"◆";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;background:#061529;padding:0 14px;font-size:13px}
.tclbl-hero-copy p{margin:0 auto;color:#e5ded0;font-size:19px;line-height:1.8;max-width:880px;text-align:center}
.tclbl-search{direction:rtl;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;max-width:760px;height:66px;margin:32px auto 0;border:1px solid rgba(var(--tclbl-accent-rgb),.78);border-radius:12px;background:rgba(2,8,23,.62);overflow:hidden;box-shadow:0 16px 32px rgba(0,0,0,.18)}
.tclbl-search button{height:66px;min-width:128px;border:0;border-inline-end:1px solid rgba(var(--tclbl-accent-rgb),.36);background:linear-gradient(135deg,#f7d789,#c99535);color:#241601;font-size:15px;font-weight:900;cursor:pointer}.tclbl-search button:hover{filter:brightness(1.05)}
.tclbl-search input[type=search]{height:66px;width:100%;border:0;background:transparent;color:#f8e6bd;outline:0;box-shadow:none;font-size:17px;padding:0 26px;text-align:right}.tclbl-search input::placeholder{color:#958972}.tclbl-search-icon{height:66px;width:68px;display:flex;align-items:center;justify-content:center;border-inline-start:1px solid rgba(255,255,255,.07);font-size:30px;color:#fff}
.tclbl-filters-hero{display:flex;align-items:center;justify-content:center;gap:14px;margin:26px auto 0;flex-wrap:wrap}
.tclbl-filters a{height:54px;min-width:126px;display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid rgba(var(--tclbl-accent-rgb),.40);border-radius:12px;background:rgba(7,20,38,.84);color:#f8e6bd;text-decoration:none;font-size:16px;font-weight:900;box-shadow:inset 0 0 18px rgba(255,255,255,.02);transition:.18s ease}
.tclbl-filters a strong{order:-1;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12);color:#fff;font-size:13px}.tclbl-chip-icon{color:var(--tclbl-accent);font-size:16px}.tclbl-filters a:hover,.tclbl-filters a.is-active{background:linear-gradient(135deg,#ffe19a,#be8530);color:#201302;border-color:#f4cf78;transform:translateY(-1px)}.tclbl-filters a:hover strong,.tclbl-filters a.is-active strong{background:rgba(0,0,0,.16);color:#201302}.tclbl-filters a:hover .tclbl-chip-icon,.tclbl-filters a.is-active .tclbl-chip-icon{color:#201302}
.tclbl-stats{height:96px;max-width:1280px;margin:34px auto 0;border:1px solid rgba(var(--tclbl-accent-rgb),.36);border-radius:14px;background:rgba(3,14,29,.72);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;box-shadow:inset 0 0 34px rgba(var(--tclbl-accent-rgb),.025)}
.tclbl-stats div{display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:14px;padding:20px 42px;border-inline-start:1px solid rgba(255,255,255,.25)}.tclbl-stats div:first-child{border-inline-start:0}
.tclbl-stats i{grid-row:1/3;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--tclbl-accent);font-size:30px;font-style:normal}.tclbl-stats span{color:#d5cab6;font-size:15px;font-weight:700}.tclbl-stats strong{color:var(--tclbl-gold);font-size:26px;line-height:1;font-weight:900}
.tclbl-main-shell{max-width:1500px;margin:0 auto;padding:20px 38px 0;background:#020817}
.tclbl-toolbar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;border:1px solid rgba(var(--tclbl-accent-rgb),.42);border-radius:8px;background:#051226;color:#d9ccb1;padding:12px 26px}
.tclbl-toolbar-left,.tclbl-toolbar-right,.tclbl-toolbar-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.tclbl-inline-sort,.tclbl-per-page{display:flex;align-items:center;gap:10px}.tclbl-inline-sort span,.tclbl-per-page span{font-weight:800;color:#d9ccb1}.tclbl-inline-sort select,.tclbl-per-page select{height:44px;min-width:115px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#07172b;color:#f8e6bd;padding:0 14px;font-weight:800;outline:0}
.tclbl-view-switch{height:44px;display:flex;gap:4px;align-items:center;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:4px;background:#07172b}.tclbl-view-switch button{width:54px;height:36px;border:0;border-radius:7px;background:transparent;color:#f8e6bd;font-size:19px;cursor:pointer}.tclbl-view-switch button.is-active{background:linear-gradient(135deg,#f7d789,#c99535);color:#1c1102}
.tclbl-content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.tclbl-no-sidebar{grid-template-columns:1fr}.tclbl-results{position:relative}.tclbl-posts{display:grid;grid-template-columns:repeat(var(--tclbl-cols),minmax(0,1fr));gap:20px}
.tclbl-card-post{min-height:190px;display:grid;grid-template-columns:42% minmax(0,1fr);overflow:hidden;background:linear-gradient(180deg,#07182e,#041225);border:1px solid rgba(var(--tclbl-accent-rgb),.50);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.20);transition:.18s ease}.tclbl-card-post:hover{transform:translateY(-2px);border-color:rgba(var(--tclbl-accent-rgb),.78);box-shadow:0 18px 36px rgba(0,0,0,.30)}
.tclbl-thumb{display:block;position:relative;overflow:hidden;min-height:190px;aspect-ratio:auto;background:#0a1a31}.tclbl-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:.35s ease;filter:saturate(.94) contrast(1.05)}.tclbl-card-post:hover .tclbl-thumb img{transform:scale(1.035)}.tclbl-thumb-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:var(--tclbl-accent);font-weight:900}
.tclbl-card-body{display:flex;flex-direction:column;gap:9px;padding:24px 26px 18px;min-width:0}.tclbl-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.tclbl-cat{position:absolute;z-index:2;top:14px;right:14px;display:inline-flex;padding:6px 12px;border-radius:7px;background:rgba(2,8,23,.78);border:1px solid rgba(var(--tclbl-accent-rgb),.55);color:var(--tclbl-gold);font-size:13px;font-weight:900}
.tclbl-meta{font-size:13px;color:#d5cab6}.tclbl-date{display:inline-flex;align-items:center;gap:6px}.tclbl-date:after{content:"▣";color:#fff;margin-inline-start:4px}
.tclbl-card-body h3{margin:0;color:#fff;font-size:23px;line-height:1.35;font-weight:900}.tclbl-card-body h3 a{color:#fff;text-decoration:none}.tclbl-card-body h3 a:hover{color:var(--tclbl-gold)}.tclbl-card-body p{margin:0;color:#c9c0b3;font-size:15px;line-height:1.75}
.tclbl-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto}.tclbl-btn{display:none}
.tclbl-icon-actions{width:100%;display:flex;align-items:center;gap:14px;color:#fff;font-size:14px}.tclbl-action-stat,.tclbl-icon-btn{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:0;background:transparent;color:#fff;padding:0;font:inherit}.tclbl-action-stat b{font-weight:400;color:#fff}.tclbl-action-stat em,.tclbl-icon-btn em{font-style:normal;color:#fff}.tclbl-icon-btn{cursor:pointer}.tclbl-icon-btn span{font-size:18px;color:#fff}.tclbl-icon-btn:hover span,.tclbl-heart-btn.is-active span{color:var(--tclbl-accent)}.tclbl-heart-btn.is-active em{color:var(--tclbl-accent)}
.tclbl-layout-list .tclbl-posts,.tclbl-library[data-layout=list] .tclbl-posts{grid-template-columns:1fr}.tclbl-layout-list .tclbl-card-post,.tclbl-library[data-layout=list] .tclbl-card-post{grid-template-columns:300px minmax(0,1fr)}
.tclbl-template-featured .tclbl-card-post:first-child{grid-column:span 2}.tclbl-template-compact .tclbl-card-body{padding:18px}.tclbl-template-catalog .tclbl-card-post{border-radius:8px}
.tclbl-sidebar{display:grid;gap:14px}.tclbl-side-note{background:#071426;border:1px solid rgba(var(--tclbl-accent-rgb),.22);border-radius:14px;padding:16px;color:#c9b88f}.tclbl-side-note strong{display:block;color:#f7d58d;margin-bottom:8px}.tclbl-side-note p{margin:0;line-height:1.7}
.tclbl-empty{grid-column:1/-1;padding:38px;border:1px dashed rgba(var(--tclbl-accent-rgb),.36);border-radius:10px;background:#071426;text-align:center;color:#d5cab6}
.tclbl-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:24px}.tclbl-pagination .page-numbers{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(var(--tclbl-accent-rgb),.25);border-radius:8px;color:#f7d58d;text-decoration:none;background:#071426}.tclbl-pagination .current{background:var(--tclbl-accent);color:#160e02}
.tclbl-loader{display:none;position:absolute;inset:0;align-items:center;justify-content:center;background:rgba(2,8,23,.70);backdrop-filter:blur(4px);z-index:6}.tclbl-loader:after{content:"";width:36px;height:36px;border-radius:50%;border:3px solid rgba(var(--tclbl-accent-rgb),.24);border-top-color:var(--tclbl-accent);animation:tclbl-spin .75s linear infinite}.tclbl-is-loading .tclbl-loader{display:flex}.tclbl-toast{position:fixed;inset-inline-end:18px;bottom:18px;padding:12px 16px;border-radius:8px;background:#071426;border:1px solid rgba(var(--tclbl-accent-rgb),.35);color:#f8e6bd;box-shadow:0 14px 34px rgba(0,0,0,.35);z-index:99999;opacity:0;transform:translateY(10px);transition:.2s ease}.tclbl-toast.is-visible{opacity:1;transform:translateY(0)}
@keyframes tclbl-spin{to{transform:rotate(360deg)}}
.tclbl-skin-blue{--tclbl-accent:#4da3ff;--tclbl-accent-rgb:77,163,255}.tclbl-skin-minimal{--tclbl-accent:#e5e7eb;--tclbl-accent-rgb:229,231,235}.tclbl-skin-book{--tclbl-accent:#b17a3a;--tclbl-accent-rgb:177,122,58}.tclbl-skin-dark{--tclbl-accent:#d6a84f;--tclbl-accent-rgb:214,168,79}
@media(max-width:1200px){.tclbl-hero-inner{grid-template-columns:1fr;gap:28px}.tclbl-identity-card{grid-column:1;grid-row:1;max-width:315px;margin:0 auto}.tclbl-hero-copy{grid-column:1;grid-row:2}.tclbl-posts{grid-template-columns:1fr}.tclbl-card-post{grid-template-columns:310px 1fr}.tclbl-stats{height:auto;grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.tclbl-hero-band{min-height:auto}.tclbl-hero-inner{padding:28px 16px}.tclbl-hero-copy h2{font-size:34px}.tclbl-kicker{padding:10px 24px}.tclbl-kicker:before,.tclbl-kicker:after{display:none}.tclbl-search{grid-template-columns:1fr;height:auto}.tclbl-search-icon{display:none}.tclbl-search input[type=search]{height:58px}.tclbl-search button{height:54px;width:100%;border-inline-end:0;border-top:1px solid rgba(var(--tclbl-accent-rgb),.3)}.tclbl-filters a{width:100%;justify-content:space-between}.tclbl-stats{grid-template-columns:1fr}.tclbl-stats div{border-inline-start:0;border-top:1px solid rgba(255,255,255,.13)}.tclbl-stats div:first-child{border-top:0}.tclbl-main-shell{padding:16px}.tclbl-toolbar{flex-direction:column;align-items:stretch;padding:14px}.tclbl-toolbar-left,.tclbl-toolbar-right{justify-content:space-between}.tclbl-posts{grid-template-columns:1fr}.tclbl-card-post,.tclbl-layout-list .tclbl-card-post,.tclbl-library[data-layout=list] .tclbl-card-post{grid-template-columns:1fr}.tclbl-thumb{min-height:210px}.tclbl-template-featured .tclbl-card-post:first-child{grid-column:auto}.tclbl-actions{align-items:flex-start}.tclbl-icon-actions{flex-wrap:wrap}}


/* v1.8.2 Elementor + mobile + RTL fixes */
.elementor-widget-thecoder_library_blog,
.elementor-widget-thecoder_library_blog .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.tclbl-library {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	line-height: 1.5;
}

.tclbl-library button,
.tclbl-library select,
.tclbl-library input {
	font-family: inherit;
}

.tclbl-library[dir="rtl"],
.tclbl-rtl {
	direction: rtl;
}

.tclbl-rtl .tclbl-hero-copy,
.tclbl-rtl .tclbl-card-body,
.tclbl-rtl .tclbl-toolbar,
.tclbl-rtl .tclbl-stats {
	direction: rtl;
}

.tclbl-rtl .tclbl-search input[type=search] {
	text-align: right;
	direction: rtl;
}

.tclbl-icon-btn,
.tclbl-share-btn,
.tclbl-heart-btn {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
}

.tclbl-icon-btn span,
.tclbl-icon-btn em,
.tclbl-action-stat b,
.tclbl-action-stat em {
	pointer-events: none;
}

.tclbl-heart-btn.is-active {
	color: var(--tclbl-accent) !important;
}

.tclbl-heart-btn.is-active span,
.tclbl-heart-btn.is-active em {
	color: var(--tclbl-accent) !important;
}

@media(max-width:1200px){
	.tclbl-hero-inner {
		grid-template-columns: 1fr;
		padding-inline: 28px;
	}

	.tclbl-identity-card {
		grid-column: 1;
		grid-row: 1;
		max-width: 330px;
		width: 100%;
		margin-inline: auto;
	}

	.tclbl-hero-copy {
		grid-column: 1;
		grid-row: 2;
	}

	.tclbl-stats {
		width: 100%;
	}

	.tclbl-posts {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.tclbl-card-post {
		grid-template-columns: 1fr;
	}

	.tclbl-thumb {
		min-height: 240px;
		aspect-ratio: 16 / 9;
	}

	.tclbl-content-wrap,
	.tclbl-no-sidebar {
		grid-template-columns: 1fr;
	}
}

@media(max-width:880px){
	.tclbl-hero-band {
		min-height: auto;
	}

	.tclbl-hero-inner {
		padding: 30px 18px;
		gap: 24px;
	}

	.tclbl-identity-card {
		min-height: auto;
		padding: 20px 16px;
	}

	.tclbl-logo-medallion {
		width: 118px;
		height: 118px;
		margin-bottom: 14px;
	}

	.tclbl-logo-ring {
		font-size: 54px;
	}

	.tclbl-identity-card strong {
		font-size: 26px;
	}

	.tclbl-identity-card small {
		font-size: 14px;
		margin-bottom: 18px;
	}

	.tclbl-curated-pill {
		min-height: 40px;
		font-size: 12px;
		white-space: normal;
		text-align: center;
	}

	.tclbl-kicker {
		margin-bottom: 18px;
		font-size: 14px;
		padding: 10px 22px;
	}

	.tclbl-kicker:before,
	.tclbl-kicker:after {
		display: none;
	}

	.tclbl-hero-copy h2 {
		font-size: clamp(32px, 9vw, 48px);
		line-height: 1.18;
		letter-spacing: 0;
	}

	.tclbl-hero-copy p {
		font-size: 15px;
		line-height: 1.8;
		max-width: 100%;
	}

	.tclbl-search {
		grid-template-columns: 1fr;
		height: auto;
		max-width: 100%;
		margin-top: 24px;
		border-radius: 12px;
	}

	.tclbl-search-icon {
		display: none;
	}

	.tclbl-search input[type=search] {
		height: 58px;
		padding-inline: 18px;
		font-size: 15px;
		text-align: right;
	}

	.tclbl-search button {
		height: 54px;
		width: 100%;
		border-inline: 0;
		border-top: 1px solid rgba(var(--tclbl-accent-rgb),.35);
	}

	.tclbl-filters-hero {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		width: 100%;
	}

	.tclbl-filters a {
		width: 100%;
		min-width: 0;
		height: 48px;
		padding-inline: 12px;
		justify-content: space-between;
		font-size: 14px;
	}

	.tclbl-stats {
		height: auto;
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.tclbl-stats div {
		padding: 16px;
		grid-template-columns: 40px 1fr;
		border-inline-start: 0;
		border-top: 1px solid rgba(255,255,255,.14);
	}

	.tclbl-stats div:nth-child(1),
	.tclbl-stats div:nth-child(2) {
		border-top: 0;
	}

	.tclbl-stats i {
		width: 36px;
		height: 36px;
		font-size: 24px;
	}

	.tclbl-stats span {
		font-size: 12px;
	}

	.tclbl-stats strong {
		font-size: 22px;
	}

	.tclbl-main-shell {
		padding: 16px;
	}

	.tclbl-toolbar {
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
		gap: 14px;
	}

	.tclbl-toolbar-left,
	.tclbl-toolbar-right {
		width: 100%;
		justify-content: space-between;
	}

	.tclbl-inline-sort,
	.tclbl-per-page {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	.tclbl-inline-sort select,
	.tclbl-per-page select {
		min-width: 110px;
	}

	.tclbl-view-switch {
		margin-inline-start: auto;
	}

	.tclbl-posts {
		grid-template-columns: 1fr;
	}

	.tclbl-card-post,
	.tclbl-layout-list .tclbl-card-post,
	.tclbl-library[data-layout=list] .tclbl-card-post {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.tclbl-thumb {
		min-height: 220px;
		aspect-ratio: 16 / 9;
	}

	.tclbl-card-body {
		padding: 18px;
	}

	.tclbl-card-body h3 {
		font-size: 20px;
	}

	.tclbl-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.tclbl-icon-actions {
		width: 100%;
		flex-wrap: wrap;
		gap: 12px;
		justify-content: flex-start;
	}

	.tclbl-template-featured .tclbl-card-post:first-child {
		grid-column: auto;
	}
}

@media(max-width:520px){
	.tclbl-hero-inner {
		padding-inline: 14px;
	}

	.tclbl-hero-copy h2 {
		font-size: 30px;
	}

	.tclbl-filters-hero {
		grid-template-columns: 1fr;
	}

	.tclbl-stats {
		grid-template-columns: 1fr;
	}

	.tclbl-stats div:nth-child(2) {
		border-top: 1px solid rgba(255,255,255,.14);
	}

	.tclbl-toolbar-left,
	.tclbl-toolbar-right {
		flex-direction: column;
		align-items: stretch;
	}

	.tclbl-view-switch {
		width: 100%;
		margin-inline-start: 0;
	}

	.tclbl-view-switch button {
		flex: 1;
	}

	.tclbl-thumb {
		min-height: 190px;
	}

	.tclbl-card-body p {
		font-size: 14px;
	}

	.tclbl-icon-actions {
		justify-content: space-between;
	}
}


/* v1.8.2 front-page interaction verification fixes */
body .tclbl-library {
	clear: both;
}

.tclbl-library .tclbl-search,
.tclbl-library .tclbl-filters,
.tclbl-library .tclbl-toolbar,
.tclbl-library .tclbl-card-post {
	max-width: 100%;
}

.tclbl-library .tclbl-icon-actions {
	white-space: nowrap;
}

.tclbl-library .tclbl-share-btn,
.tclbl-library .tclbl-heart-btn {
	position: relative;
	z-index: 2;
}

.tclbl-library .tclbl-card-post a,
.tclbl-library .tclbl-card-post button {
	pointer-events: auto;
}

.elementor-editor-active .tclbl-library .tclbl-hero-full .tclbl-hero-band,
.elementor-editor-active .tclbl-hero-full .tclbl-hero-band {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

@media(max-width:480px){
	.tclbl-library .tclbl-icon-actions {
		white-space: normal;
	}

	.tclbl-library .tclbl-action-stat,
	.tclbl-library .tclbl-icon-btn {
		min-height: 38px;
	}

	.tclbl-library .tclbl-card-body {
		text-align: right;
	}

	.tclbl-library .tclbl-card-top,
	.tclbl-library .tclbl-actions,
	.tclbl-library .tclbl-icon-actions {
		direction: rtl;
	}
}


/* v1.8.2 Hero templates */
.tclbl-hero-template-modern {
	--tclbl-accent: #4da3ff;
	--tclbl-accent-rgb: 77,163,255;
}
.tclbl-hero-template-modern .tclbl-hero-band {
	background:
		radial-gradient(circle at 20% 15%, rgba(77,163,255,.24), transparent 22%),
		linear-gradient(135deg,#071426 0%,#0b2442 48%,#04101f 100%);
}
.tclbl-hero-template-modern .tclbl-kicker,
.tclbl-hero-template-modern .tclbl-identity-card {
	border-radius: 20px;
}
.tclbl-hero-template-modern .tclbl-filters a,
.tclbl-hero-template-modern .tclbl-toolbar,
.tclbl-hero-template-modern .tclbl-card-post {
	border-radius: 18px;
}

.tclbl-hero-template-academic {
	--tclbl-accent: #b8924a;
	--tclbl-accent-rgb: 184,146,74;
}
.tclbl-hero-template-academic .tclbl-hero-band {
	background:
		linear-gradient(135deg, rgba(13,18,28,.94), rgba(20,28,42,.96)),
		radial-gradient(circle at 10% 10%, rgba(184,146,74,.22), transparent 22%);
}
.tclbl-hero-template-academic .tclbl-hero-copy h2 {
	font-size: clamp(40px,4.6vw,68px);
}
.tclbl-hero-template-academic .tclbl-card-post {
	border-style: double;
}

.tclbl-hero-template-magazine {
	--tclbl-accent: #e0b65f;
	--tclbl-accent-rgb: 224,182,95;
}
.tclbl-hero-template-magazine .tclbl-hero-inner {
	grid-template-columns: minmax(0,1fr) 340px;
}
.tclbl-hero-template-magazine .tclbl-hero-copy {
	text-align: right;
}
.tclbl-hero-template-magazine .tclbl-hero-copy h2,
.tclbl-hero-template-magazine .tclbl-hero-copy p {
	text-align: right;
	margin-inline-start: 0;
	margin-inline-end: 0;
}
.tclbl-hero-template-magazine .tclbl-search,
.tclbl-hero-template-magazine .tclbl-filters-hero,
.tclbl-hero-template-magazine .tclbl-stats {
	margin-inline-start: 0;
	margin-inline-end: 0;
}

.tclbl-hero-template-minimal {
	--tclbl-accent: #e5e7eb;
	--tclbl-accent-rgb: 229,231,235;
}
.tclbl-hero-template-minimal .tclbl-hero-band {
	background: #050b16;
}
.tclbl-hero-template-minimal .tclbl-hero-band:before,
.tclbl-hero-template-minimal .tclbl-hero-band:after,
.tclbl-hero-template-minimal .tclbl-ornament {
	display: none;
}
.tclbl-hero-template-minimal .tclbl-identity-card,
.tclbl-hero-template-minimal .tclbl-stats,
.tclbl-hero-template-minimal .tclbl-toolbar,
.tclbl-hero-template-minimal .tclbl-card-post {
	box-shadow: none;
}

.tclbl-hero-template-classic {
	--tclbl-accent: #c99a45;
	--tclbl-accent-rgb: 201,154,69;
}
.tclbl-hero-template-classic .tclbl-hero-band {
	background:
		radial-gradient(circle at 5% 12%, rgba(201,154,69,.18), transparent 18%),
		linear-gradient(135deg,#120d08 0%,#1e1710 48%,#080604 100%);
}
.tclbl-hero-template-classic .tclbl-hero-copy h2 {
	font-family: Georgia, "Times New Roman", serif;
}
@media(max-width:1200px){
	.tclbl-hero-template-magazine .tclbl-hero-inner {
		grid-template-columns: 1fr;
	}
	.tclbl-hero-template-magazine .tclbl-hero-copy,
	.tclbl-hero-template-magazine .tclbl-hero-copy h2,
	.tclbl-hero-template-magazine .tclbl-hero-copy p {
		text-align: center;
	}
	.tclbl-hero-template-magazine .tclbl-search,
	.tclbl-hero-template-magazine .tclbl-filters-hero,
	.tclbl-hero-template-magazine .tclbl-stats {
		margin-inline-start: auto;
		margin-inline-end: auto;
	}
}


/* v1.8.2 CSS correctness and compatibility polish */
.tclbl-library.tclbl-hero-template-luxury {
	--tclbl-accent: #d6a84f;
	--tclbl-accent-rgb: 214,168,79;
}

.tclbl-library .tclbl-hero-band,
.tclbl-library .tclbl-main-shell {
	box-sizing: border-box;
}

.tclbl-library .tclbl-posts {
	width: 100%;
}

.tclbl-library .tclbl-card-post {
	position: relative;
}

.tclbl-library .tclbl-thumb img {
	max-width: none;
}

.tclbl-library .tclbl-search input[type="search"]::-webkit-search-cancel-button {
	cursor: pointer;
}

.tclbl-library .tclbl-inline-sort select,
.tclbl-library .tclbl-per-page select {
	max-width: 100%;
}

.tclbl-library .tclbl-filters a,
.tclbl-library .tclbl-icon-btn,
.tclbl-library .tclbl-view-switch button {
	text-decoration: none !important;
}

.tclbl-library .tclbl-filters a:focus-visible,
.tclbl-library .tclbl-icon-btn:focus-visible,
.tclbl-library .tclbl-view-switch button:focus-visible,
.tclbl-library .tclbl-search input:focus-visible,
.tclbl-library .tclbl-search button:focus-visible {
	outline: 2px solid var(--tclbl-accent);
	outline-offset: 3px;
}

.tclbl-library .tclbl-share-btn em,
.tclbl-library .tclbl-heart-btn em,
.tclbl-library .tclbl-action-stat em {
	line-height: 1;
}

/* Elementor containers sometimes add inner max widths; keep the plugin predictable */
.elementor-widget-thecoder_library_blog .tclbl-library,
.elementor-widget-thecoder_library_blog .tclbl-main-shell {
	width: 100%;
}

/* Avoid horizontal scroll when Astra containers add padding */
.ast-container .tclbl-hero-full .tclbl-hero-band,
.site-content .tclbl-hero-full .tclbl-hero-band {
	max-width: 100vw;
}

@media(max-width:360px){
	.tclbl-library .tclbl-hero-copy h2 {
		font-size: 26px;
	}
	.tclbl-library .tclbl-toolbar {
		padding-inline: 10px;
	}
	.tclbl-library .tclbl-card-body {
		padding-inline: 14px;
	}
}


/* v1.8.2 category icon + no-image hero + responsive polish */
.tclbl-library .tclbl-filters a{gap:10px;align-items:center}.tclbl-library .tclbl-filters a .tclbl-chip-icon{flex:0 0 auto}.tclbl-library .tclbl-filters a strong{flex:0 0 auto}.tclbl-library .tclbl-filters a span:not(.tclbl-chip-icon){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tclbl-library.tclbl-no-identity .tclbl-hero-inner{grid-template-columns:minmax(0,1fr);justify-items:center}.tclbl-library.tclbl-no-identity .tclbl-hero-copy{grid-column:1;max-width:1080px;width:100%;text-align:center}.tclbl-library.tclbl-no-identity .tclbl-hero-copy h2,.tclbl-library.tclbl-no-identity .tclbl-hero-copy p{text-align:center;margin-inline:auto}.tclbl-library.tclbl-no-identity .tclbl-search,.tclbl-library.tclbl-no-identity .tclbl-filters-hero,.tclbl-library.tclbl-no-identity .tclbl-stats{margin-inline:auto}.tclbl-library.tclbl-no-identity .tclbl-filters-hero{justify-content:center}.tclbl-library.tclbl-no-identity .tclbl-kicker{display:inline-flex;align-items:center;justify-content:center}
.tclbl-library .tclbl-card-post,.tclbl-library .tclbl-toolbar,.tclbl-library .tclbl-stats,.tclbl-library .tclbl-search{max-width:100%}.tclbl-library .tclbl-toolbar-left,.tclbl-library .tclbl-toolbar-right{flex-wrap:wrap;gap:12px}.tclbl-library .tclbl-card-body,.tclbl-library .tclbl-actions{min-width:0}.tclbl-library .tclbl-actions{row-gap:12px}.tclbl-library .tclbl-icon-actions{flex-wrap:wrap}
@media (max-width: 1024px){.tclbl-library.tclbl-no-identity .tclbl-hero-inner{padding-inline:24px}.tclbl-library .tclbl-filters-hero{display:flex;flex-wrap:wrap}.tclbl-library .tclbl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 767px){.tclbl-library.tclbl-no-identity .tclbl-hero-band{border-radius:0}.tclbl-library.tclbl-no-identity .tclbl-hero-inner{padding:28px 16px}.tclbl-library.tclbl-no-identity .tclbl-hero-copy h2{font-size:clamp(28px,8vw,42px);line-height:1.25}.tclbl-library.tclbl-no-identity .tclbl-hero-copy p{font-size:15px;line-height:1.8}.tclbl-library.tclbl-no-identity .tclbl-search{width:100%}.tclbl-library .tclbl-filters-hero{display:grid;grid-template-columns:1fr;gap:10px}.tclbl-library .tclbl-filters a{width:100%;justify-content:space-between;padding-inline:14px}.tclbl-library .tclbl-stats{grid-template-columns:1fr}.tclbl-library .tclbl-toolbar,.tclbl-library .tclbl-card-body{padding:16px}.tclbl-library .tclbl-toolbar-left,.tclbl-library .tclbl-toolbar-right{width:100%;align-items:stretch}.tclbl-library .tclbl-inline-sort,.tclbl-library .tclbl-per-page{width:100%;justify-content:space-between}.tclbl-library .tclbl-inline-sort select,.tclbl-library .tclbl-per-page select{width:100%;max-width:none}.tclbl-library .tclbl-actions{flex-direction:column;align-items:flex-start}.tclbl-library .tclbl-icon-actions{width:100%;justify-content:space-between}}


/* v1.8.3 toolbar labels + Cairo + bundled logo + Elementor polish */
.tclbl-library{font-family:"Cairo",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tclbl-library .tclbl-hero-copy,.tclbl-library .tclbl-card-body,.tclbl-library .tclbl-toolbar,.tclbl-library .tclbl-stats,.tclbl-library .tclbl-filters,.tclbl-library .tclbl-search{font-family:"Cairo",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tclbl-library .tclbl-logo-medallion{overflow:hidden;padding:18px;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.12),rgba(2,8,23,.2) 55%,rgba(var(--tclbl-accent-rgb),.12) 100%)}
.tclbl-library .tclbl-logo-medallion img{width:100%;height:100%;object-fit:contain;object-position:center center;filter:drop-shadow(0 8px 18px rgba(0,0,0,.22))}
.tclbl-library .tclbl-inline-sort,.tclbl-library .tclbl-per-page{display:inline-flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:12px;min-width:0}.tclbl-library .tclbl-inline-sort span,.tclbl-library .tclbl-per-page span{white-space:nowrap;line-height:1.2}.tclbl-library .tclbl-inline-sort select,.tclbl-library .tclbl-per-page select{flex:0 0 auto;min-width:136px}.tclbl-library .tclbl-toolbar-left,.tclbl-library .tclbl-toolbar-right{align-items:center}.tclbl-library .tclbl-toolbar-left>span,.tclbl-library .tclbl-toolbar-right>span{white-space:nowrap}
.elementor-editor-active .tclbl-library,.elementor-editor-active .tclbl-library *{box-sizing:border-box}
@media (max-width: 1024px){.tclbl-library .tclbl-toolbar{gap:14px;padding:14px 18px}.tclbl-library .tclbl-inline-sort select,.tclbl-library .tclbl-per-page select{min-width:112px}}
@media (max-width: 767px){.tclbl-library .tclbl-toolbar-left,.tclbl-library .tclbl-toolbar-right{justify-content:flex-start}.tclbl-library .tclbl-inline-sort,.tclbl-library .tclbl-per-page{width:auto;max-width:100%}.tclbl-library .tclbl-inline-sort select,.tclbl-library .tclbl-per-page select{width:auto;min-width:96px}.tclbl-library .tclbl-toolbar-left>span{margin-inline-end:4px}.tclbl-library .tclbl-logo-medallion{width:132px;height:132px;padding:14px}}


/* v1.8.4 mobile toolbar + elementor compatibility + logo visibility */
.elementor-widget-thecoder_library_blog,
.elementor-widget-thecoder_library_blog .elementor-widget-container,
.tclbl-library {
	overflow: visible;
}

.tclbl-library .tclbl-logo-medallion {
	padding: 10px;
	background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.15), rgba(2,8,23,.26) 58%, rgba(var(--tclbl-accent-rgb),.16) 100%);
}

.tclbl-library .tclbl-logo-medallion img {
	width: 88%;
	height: 88%;
	max-width: 88%;
	max-height: 88%;
	object-fit: contain;
	border-radius: 0;
}

.tclbl-library .tclbl-identity-card {
	backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
	.tclbl-library .tclbl-toolbar {
		padding: 14px 12px;
		gap: 12px;
	}
	.tclbl-library .tclbl-toolbar-left,
	.tclbl-library .tclbl-toolbar-right {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		width: 100%;
	}
	.tclbl-library .tclbl-toolbar-left > span,
	.tclbl-library .tclbl-toolbar-right > span {
		font-size: 14px;
		line-height: 1.2;
	}
	.tclbl-library .tclbl-view-switch {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0,1fr));
		gap: 0;
	}
	.tclbl-library .tclbl-view-switch button {
		width: 100%;
	}
	.tclbl-library .tclbl-per-page,
	.tclbl-library .tclbl-inline-sort {
		width: 100%;
		display: grid;
		grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
		align-items: center;
		gap: 8px 10px;
	}
	.tclbl-library .tclbl-per-page span,
	.tclbl-library .tclbl-inline-sort span {
		font-size: 13px;
		font-weight: 800;
		white-space: normal;
		line-height: 1.35;
	}
	.tclbl-library .tclbl-per-page select,
	.tclbl-library .tclbl-inline-sort select {
		width: 100%;
		min-width: 0;
		height: 42px;
		padding-inline: 10px;
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	.tclbl-library .tclbl-toolbar {
		padding: 12px 10px;
	}
	.tclbl-library .tclbl-per-page,
	.tclbl-library .tclbl-inline-sort {
		grid-template-columns: 84px minmax(0,1fr);
	}
	.tclbl-library .tclbl-per-page span,
	.tclbl-library .tclbl-inline-sort span {
		font-size: 12px;
	}
	.tclbl-library .tclbl-inline-sort select option,
	.tclbl-library .tclbl-per-page select option {
		font-size: 12px;
	}
}


/* v1.8.5 final polish: mobile toolbar, Elementor safety, cards and stats */
body:not(.elementor-editor-active) .tclbl-library {
	overflow-x: clip;
}
.elementor-editor-active .tclbl-library,
.elementor-editor-active .tclbl-library * {
	overflow: visible;
}
.elementor-editor-active .tclbl-hero-full .tclbl-hero-band {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
}
.tclbl-library .tclbl-toolbar {
	direction: rtl;
}
.tclbl-library .tclbl-toolbar-left,
.tclbl-library .tclbl-toolbar-right {
	min-width: 0;
}
.tclbl-library .tclbl-inline-sort,
.tclbl-library .tclbl-per-page {
	min-width: 0;
}
.tclbl-library .tclbl-inline-sort span,
.tclbl-library .tclbl-per-page span {
	font-size: 14px;
	white-space: nowrap;
}
.tclbl-library .tclbl-inline-sort select,
.tclbl-library .tclbl-per-page select {
	max-width: 160px;
}
.tclbl-library .tclbl-logo-medallion {
	padding: 8px;
}
.tclbl-library .tclbl-logo-medallion img {
	width: 86%;
	height: 86%;
	max-width: 86%;
	max-height: 86%;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
	filter: drop-shadow(0 10px 20px rgba(0,0,0,.26));
}
.tclbl-library .tclbl-card-post {
	contain: layout paint;
}
.tclbl-library .tclbl-stats div,
.tclbl-library .tclbl-card-body,
.tclbl-library .tclbl-toolbar {
	backface-visibility: hidden;
}

@media (max-width: 900px) {
	.tclbl-library .tclbl-toolbar {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 14px;
	}
	.tclbl-library .tclbl-toolbar-left,
	.tclbl-library .tclbl-toolbar-right {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		width: 100%;
	}
	.tclbl-library .tclbl-view-switch {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tclbl-library .tclbl-view-switch button {
		width: 100%;
	}
	.tclbl-library .tclbl-per-page,
	.tclbl-library .tclbl-inline-sort {
		display: grid;
		grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
		align-items: center;
		gap: 8px;
		width: 100%;
	}
	.tclbl-library .tclbl-per-page span,
	.tclbl-library .tclbl-inline-sort span {
		font-size: 13px;
		line-height: 1.25;
		white-space: normal;
	}
	.tclbl-library .tclbl-per-page select,
	.tclbl-library .tclbl-inline-sort select {
		width: 100%;
		max-width: none;
		min-width: 0;
		height: 42px;
		font-size: 14px;
	}
	.tclbl-library .tclbl-card-post {
		grid-template-columns: 1fr !important;
	}
	.tclbl-library .tclbl-thumb {
		aspect-ratio: 16 / 9;
		min-height: 190px;
	}
}

@media (max-width: 520px) {
	.tclbl-library .tclbl-toolbar {
		padding: 12px 10px;
		border-radius: 10px;
	}
	.tclbl-library .tclbl-per-page,
	.tclbl-library .tclbl-inline-sort {
		grid-template-columns: 78px minmax(0,1fr);
	}
	.tclbl-library .tclbl-per-page span,
	.tclbl-library .tclbl-inline-sort span {
		font-size: 12px;
		font-weight: 800;
	}
	.tclbl-library .tclbl-per-page select,
	.tclbl-library .tclbl-inline-sort select {
		font-size: 13px;
		padding-inline: 8px;
	}
	.tclbl-library .tclbl-identity-card {
		padding: 18px 14px;
	}
	.tclbl-library .tclbl-logo-medallion {
		width: 118px;
		height: 118px;
	}
	.tclbl-library .tclbl-stats {
		grid-template-columns: 1fr !important;
	}
	.tclbl-library .tclbl-stats div {
		padding: 14px;
	}
	.tclbl-library .tclbl-card-body {
		padding: 16px;
	}
	.tclbl-library .tclbl-card-body h3 {
		font-size: 18px;
	}
	.tclbl-library .tclbl-icon-actions {
		gap: 10px;
		justify-content: space-between;
	}
}


/* v1.8.6 Elementor isolation hotfix.
   Keep plugin CSS scoped to the widget/site output and avoid affecting Elementor panels/menus. */
body.elementor-editor-active .elementor-panel,
body.elementor-editor-active .elementor-panel *,
body.elementor-editor-active #elementor-panel,
body.elementor-editor-active #elementor-panel *,
body.elementor-editor-active .elementor-control,
body.elementor-editor-active .elementor-control *,
body.elementor-editor-active .elementor-context-menu,
body.elementor-editor-active .elementor-context-menu *,
body.elementor-editor-active .dialog-widget,
body.elementor-editor-active .dialog-widget * {
	overflow: initial;
	font-family: inherit;
	direction: inherit;
}

body.elementor-editor-active .tclbl-library {
	overflow: visible;
}

body.elementor-editor-active .elementor-widget-thecoder_library_blog {
	overflow: visible;
}

body.elementor-editor-active .elementor-widget-thecoder_library_blog .tclbl-library,
body.elementor-editor-active .elementor-widget-thecoder_library_blog .tclbl-library * {
	box-sizing: border-box;
}

/* Keep front-end full width behavior, but disable aggressive viewport stretching inside Elementor editor canvas. */
body.elementor-editor-active .elementor-widget-thecoder_library_blog .tclbl-hero-full .tclbl-hero-band {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
}

/* Extra safety: plugin visual resets must not target global menus. */
.tclbl-library,
.tclbl-library * {
	box-sizing: border-box;
}
