.enc-single{padding:40px 20px 64px}
.enc-article{--enc-w:752px;--enc-accent:var(--enc-g-accent,#2f6fed);--enc-border:#d8dde5;max-width:var(--enc-w);margin:0 auto;box-sizing:border-box;color:#1a1a1a}

/* Заглавие */
.enc-post-title{margin:0 0 20px;font-size:clamp(28px,4.4vw,38px);line-height:1.18;font-weight:800;letter-spacing:-.015em;color:#111}

/* Мета + бутони */
.enc-post-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:28px}
.enc-post-meta__info{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:14px;line-height:1.55;color:#6b7280}
.enc-post-author{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#111}
.enc-post-author a{color:inherit;text-decoration:none}
.enc-post-author a:hover{text-decoration:underline}
.enc-post-author img{width:28px;height:28px;border-radius:50%}
.enc-post-actions{display:flex;gap:10px;flex-shrink:0}
.enc-iconbtn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;
	border:1px solid var(--enc-border);border-radius:50%;background:#fff;color:#111;cursor:pointer;text-decoration:none;
	transition:background .2s,border-color .2s}
.enc-iconbtn:hover,.enc-iconbtn:focus-visible{background:#f3f5f8;border-color:#c4cbd6;color:#111}
.enc-iconbtn svg{width:18px;height:18px}
.enc-count{position:absolute;top:-6px;right:-6px;box-sizing:border-box;min-width:18px;height:18px;padding:0 5px;border-radius:9px;
	background:var(--enc-accent);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.enc-iconbtn[data-tip]::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);right:0;z-index:5;white-space:nowrap;
	padding:6px 10px;border-radius:6px;background:#111;color:#fff;font-size:12px;line-height:1.2}

/* Снимка */
.enc-post-figure{margin:0 0 28px}
.enc-post-img{display:block;width:100%;height:auto;border-radius:12px}
.enc-post-figure figcaption{margin-top:10px;font-size:14px;line-height:1.5;color:#4b5563}

/* Текст на статията (леко отстъпен, като в образеца) */
.enc-article__content{padding:0 48px 0 56px;font-size:18px;line-height:1.8;color:#1a1a1a;overflow-wrap:break-word}
.enc-article__content>*:first-child{margin-top:0}
.enc-article__content p{margin:0 0 1.4em}
.enc-article__content a{color:var(--enc-accent);text-decoration:none}
.enc-article__content a:hover{text-decoration:underline}
.enc-article__content h2,.enc-article__content h3,.enc-article__content h4{margin:1.8em 0 .6em;line-height:1.3;font-weight:800;color:#111}
.enc-article__content h2{font-size:1.5em}
.enc-article__content h3{font-size:1.25em}
.enc-article__content ul,.enc-article__content ol{margin:0 0 1.4em;padding-left:1.4em}
.enc-article__content li{margin-bottom:.4em}
.enc-article__content blockquote{margin:1.6em 0;padding:.2em 0 .2em 1.2em;border-left:3px solid var(--enc-accent);color:#374151;font-style:italic}
.enc-article__content img{max-width:100%;height:auto;border-radius:12px}
.enc-article__content figure{margin:1.6em 0}
.enc-article__content figcaption,.enc-article__content .wp-caption-text{margin-top:8px;font-size:14px;line-height:1.5;color:#4b5563}

/* Тагове */
.enc-post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px;padding:0 48px 0 56px}
.enc-post-tags a{padding:5px 14px;border:1px solid var(--enc-border);border-radius:999px;font-size:14px;color:#374151;text-decoration:none}
.enc-post-tags a:hover{background:#f3f5f8}

.enc-article--comments{margin-top:48px}

@media (max-width:767px){
	.enc-single{padding:24px 16px 48px}
	.enc-article__content,.enc-post-tags{padding-left:0;padding-right:0}
	.enc-article__content{font-size:17px}
}

/* ---------- Оформление със sidebar ---------- */
.enc-layout{max-width:752px;margin:0 auto}
.enc-main{min-width:0}
.enc-single--sidebar .enc-layout{display:grid;grid-template-columns:minmax(0,752px) minmax(260px,340px);gap:48px;max-width:1200px;justify-content:center;align-items:start}
.enc-single--sidebar.enc-single--left .enc-layout{grid-template-columns:minmax(260px,340px) minmax(0,752px)}
.enc-single--sidebar.enc-single--left .enc-sidebar{order:-1}
.enc-single--sidebar .enc-article{margin-left:0;margin-right:0}
.enc-sidebar{min-width:0}
.enc-sidebar .widget{margin:0 0 32px}
.enc-sidebar .widget-title,.enc-sidebar .widgettitle{margin:0 0 14px;font-size:18px;font-weight:800;line-height:1.3;color:#111}
.enc-sidebar img{max-width:100%;height:auto}

@media (max-width:1100px){
	.enc-single--sidebar .enc-layout,
	.enc-single--sidebar.enc-single--left .enc-layout{display:block;max-width:752px}
	.enc-sidebar{margin-top:48px}
}

/* ---------- The7: колоната се определя от темата ---------- */
.enc-the7 .enc-article{max-width:752px;margin-left:auto;margin-right:auto}
.enc-the7 .enc-article--comments{margin-top:48px}

/* ---------- Astra и други теми с flex контейнер ---------- */
.enc-single{width:100%;flex:1 1 100%;box-sizing:border-box}
.enc-astra .enc-article{max-width:752px;margin-left:auto;margin-right:auto}
.enc-astra .enc-article--comments{margin-top:48px}
.enc-astra .enc-post-title{margin-top:0}

/* ---------- Прегледи в заглавната част ---------- */
.enc-post-stats{display:flex;flex-wrap:wrap;align-items:center;gap:2px 14px}
.enc-post-views{display:inline-flex;align-items:center;gap:5px}
.enc-post-views svg{display:block;width:16px;height:16px}

/* ---------- Формати на публикациите ---------- */
.enc-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.enc-media{margin:0 0 28px}
.enc-media iframe,.enc-media video{display:block;width:100%;height:auto;aspect-ratio:16 / 9;border:0;border-radius:12px;background:#000}
.enc-media--audio iframe{aspect-ratio:auto;border-radius:12px}
.enc-audio{display:block;width:100%}
.enc-post-figure + .enc-media--audio{margin-top:-8px}

/* Галерия */
.enc-gal{position:relative}
.enc-gal__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:12px;aspect-ratio:3 / 2;background:#e9edf3}
.enc-gal__track::-webkit-scrollbar{display:none}
.enc-gal__slide{position:relative;flex:0 0 100%;margin:0;scroll-snap-align:center}
.enc-gal__slide .enc-post-img{width:100%;height:100%;object-fit:cover;border-radius:0}
.enc-gal__cap{position:absolute;left:0;right:0;bottom:0;padding:28px 16px 12px;color:#fff;font-size:14px;line-height:1.4;background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,0))}
.enc-gal__btn{position:absolute;top:50%;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-top:-20px;padding:0;
	border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.enc-gal__btn:hover{background:#fff}
.enc-gal__btn svg{width:20px;height:20px}
.enc-gal__prev{left:12px}
.enc-gal__next{right:12px}
.enc-gal__count{position:absolute;top:12px;right:12px;padding:3px 10px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;line-height:1.5}

/* Връзка */
.enc-linkcard{display:flex;align-items:center;gap:14px;margin:0 0 28px;padding:16px 18px;border:1px solid var(--enc-border);border-radius:12px;
	background:#f8fafd;color:#111;text-decoration:none;transition:background .2s,border-color .2s}
.enc-linkcard:hover{background:#eef3fb;border-color:#c4d3ea;color:#111}
.enc-linkcard svg{flex:none;width:20px;height:20px;color:var(--enc-accent)}
.enc-linkcard__text{display:flex;flex-direction:column;flex:1;min-width:0}
.enc-linkcard__text small{font-size:12px;line-height:1.4;color:#6b7280}
.enc-linkcard__text strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}

/* Цитат */
.enc-fmt-quote::before{content:"\201E";display:block;height:44px;font-size:72px;font-weight:800;line-height:1;color:var(--enc-accent)}
.enc-fmt-quote p,.enc-fmt-quote blockquote{font-size:1.3em;font-style:italic;line-height:1.6;color:#111}
.enc-fmt-quote blockquote{margin:0;padding:0;border:0}
.enc-quote-source{margin:-.6em 0 0;padding:0 48px 0 56px;font-size:15px;font-weight:700;color:#374151}
.enc-quote-source a{color:var(--enc-accent);text-decoration:none}
.enc-quote-source a:hover{text-decoration:underline}

/* Статус и Бележка */
.enc-article.format-status .enc-article__content{font-size:1.5em;line-height:1.5;font-weight:600;color:#111}
.enc-article.format-aside .enc-article__content{margin:0 0 0 56px;padding:20px 24px;border-left:4px solid var(--enc-accent);border-radius:0 12px 12px 0;background:#f5f7fb}
.enc-article.format-aside .enc-article__content p:last-child{margin-bottom:0}

@media (max-width:767px){
	.enc-quote-source{padding:0}
	.enc-article.format-aside .enc-article__content{margin-left:0}
	.enc-gal__track{aspect-ratio:4 / 3}
}

/* ---------- Свързани новини под статията (настройки: Newsroom → Свързани новини) ---------- */
.enc-article--rel{margin-top:48px}
.enc-relnews__heading{margin:0 0 18px;font-size:var(--rel-h-size,22px);line-height:1.3;font-weight:var(--rel-h-weight,800);color:var(--rel-h-color,#111)}
.enc-relnews__grid{display:grid;grid-template-columns:repeat(var(--rel-cols,3),minmax(0,1fr));gap:var(--rel-gap,20px)}
@media (max-width:1024px){.enc-relnews__grid{grid-template-columns:repeat(var(--rel-cols-t,3),minmax(0,1fr))}}
@media (max-width:680px){.enc-relnews__grid{grid-template-columns:repeat(var(--rel-cols-m,1),minmax(0,1fr))}}
.enc-relnews__card{display:flex;flex-direction:column;overflow:hidden;border:var(--rel-border,0);border-radius:var(--rel-radius,12px);
	background:var(--rel-bg,#fff);box-shadow:var(--rel-shadow,0 1px 4px rgba(16,40,90,.12));transition:transform .25s ease,box-shadow .25s ease}
.enc-relnews__card:hover{transform:translateY(-3px)}
.enc-relnews__media{position:relative;display:block;aspect-ratio:var(--rel-ratio,16 / 10);overflow:hidden;background:#dfe5ee}
.enc-relnews__media img{display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .4s ease}
.enc-relnews--zoom .enc-relnews__card:hover .enc-relnews__media img{transform:scale(1.04)}
.enc-relnews__body{display:flex;flex-direction:column;flex:1;padding:var(--rel-pad,16px)}
.enc-relnews__title{margin:0;font-size:var(--rel-title-size,16px);line-height:1.35;font-weight:var(--rel-title-weight,700);color:var(--rel-title-color,#111);
	display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--rel-title-lines,3);overflow:hidden}
.enc-relnews__title a{color:inherit;text-decoration:none;transition:color .2s}
.enc-relnews__title a:hover{color:var(--rel-title-hover,var(--enc-accent))}
.enc-relnews__excerpt{margin:8px 0 0;font-size:calc(var(--rel-meta-size,13px) + 1px);line-height:1.5;color:var(--rel-meta-color,#5b6577)}
.enc-relnews__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:auto;padding-top:10px;
	font-size:var(--rel-meta-size,13px);line-height:1.4;color:var(--rel-meta-color,#8a94a6)}
.enc-relnews__badge{padding:2px 10px;border-radius:999px;color:var(--rel-badge-color,#fff);font-size:12px;font-weight:600;line-height:1.6;text-decoration:none}
.enc-relnews__badge:hover{color:var(--rel-badge-color,#fff);opacity:.9}
.enc-relnews__views{display:inline-flex;align-items:center;gap:5px}
.enc-relnews__views svg{display:block;width:14px;height:14px}
.enc-relnews__more{margin-top:10px;font-size:14px;font-weight:600;color:var(--enc-accent);text-decoration:none}
.enc-relnews__more:hover{text-decoration:underline}

/* Икона на формата */
.enc-fmt{display:inline-flex;align-items:center;justify-content:center;line-height:0;color:inherit}
.enc-fmt svg{display:block;width:16px;height:16px}
.enc-fmt--ov{position:absolute;z-index:4;width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;pointer-events:none}
.enc-fmt--tr{top:10px;right:10px}

/* ---------- Категория над заглавието ---------- */
.enc-post-cat{display:inline-block;margin:0 0 14px;padding:4px 16px;border:1.5px solid var(--enc-cat,#7a4fd1);border-radius:999px;
	background:#fff;color:#111;font-size:14px;font-weight:500;line-height:1.5;text-decoration:none;transition:background .2s,color .2s}
.enc-post-cat:hover,.enc-post-cat:focus-visible{background:var(--enc-cat,#7a4fd1);color:#fff;text-decoration:none}

/* ---------- Меню „Сподели“ ---------- */
.enc-share-wrap{position:relative}
.enc-sharepop[hidden]{display:none}
.enc-sharepop{position:absolute;top:calc(100% + 12px);right:-4px;z-index:30;display:flex;flex-wrap:wrap;gap:8px;max-width:min(92vw,340px);
	padding:10px;border-radius:14px;background:#fff;box-shadow:0 8px 30px rgba(16,24,40,.18),0 0 0 1px rgba(16,24,40,.05)}
.enc-sharepop::before{content:"";position:absolute;top:-6px;right:18px;width:12px;height:12px;border-radius:2px;background:#fff;
	transform:rotate(45deg);box-shadow:-1px -1px 0 rgba(16,24,40,.05)}
.enc-sharepop__item{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;padding:0;
	border:1px solid var(--enc-border);border-radius:50%;background:#fff;color:#111;cursor:pointer;text-decoration:none;transition:background .2s,border-color .2s}
.enc-sharepop__item:hover,.enc-sharepop__item:focus-visible{background:#f3f5f8;border-color:#c4cbd6;color:#111}
.enc-sharepop__item svg{display:block;width:20px;height:20px}
.enc-sharepop__item--copy{border-color:#111;background:#111;color:#fff}
.enc-sharepop__item--copy:hover,.enc-sharepop__item--copy:focus-visible{border-color:#000;background:#000;color:#fff}
.enc-sharepop__item[data-tip]::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);right:0;z-index:5;white-space:nowrap;
	padding:6px 10px;border-radius:6px;background:#111;color:#fff;font-size:12px;line-height:1.2}

/* ---------- Категория + „На живо“ над заглавието ---------- */
.enc-post-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.enc-post-kicker .enc-post-cat{margin:0}
.enc-live-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 12px;border-radius:999px;background:var(--enc-g-red,#e11d2e);color:#fff;
	font-size:13px;font-weight:700;letter-spacing:.04em;line-height:1.5;text-transform:uppercase}
.enc-live-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;animation:enc-pulse 1.4s ease-in-out infinite}
@keyframes enc-pulse{0%,100%{opacity:1}50%{opacity:.25}}

/* ---------- „Обновена“ и бележка за корекция ---------- */
.enc-post-updated{display:block}
.enc-post-note{margin:0 0 24px;padding:12px 16px;border-left:4px solid #d6a000;border-radius:0 8px 8px 0;
	background:#fff8e1;color:#4a3b00;font-size:15px;line-height:1.5}

/* ---------- „На живо“: хронология ---------- */
.enc-live{margin:8px 0 32px;padding:0 48px 0 56px}
.enc-live__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:18px}
.enc-live__upd{font-size:13px;color:#6b7280}
.enc-live__list{margin:0;padding:0;list-style:none;border-left:2px solid #e3e7ee}
.enc-live__item{position:relative;display:flex;gap:16px;margin:0;padding:0 0 28px 22px}
.enc-live__item::before{content:"";position:absolute;left:-8px;top:4px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;
	background:var(--enc-g-red,#e11d2e);box-shadow:0 0 0 1px #e3e7ee}
.enc-live__time{flex:none;min-width:64px;font-size:14px;font-weight:700;line-height:1.6;color:var(--enc-g-red,#e11d2e)}
.enc-live__body{min-width:0;flex:1}
.enc-live__title{margin:0 0 6px;font-size:18px;line-height:1.35;font-weight:700;color:#111}
.enc-live__text{font-size:17px;line-height:1.7;color:#1a1a1a;overflow-wrap:break-word}
.enc-live__text p{margin:0 0 .9em}
.enc-live__text img{max-width:100%;height:auto;border-radius:10px}
.enc-live__empty{margin:0;color:#6b7280}
.enc-live:not(.is-live) .enc-live__item::before{background:#9aa3af}
.enc-live:not(.is-live) .enc-live__time{color:#6b7280}
.enc-live__item.is-new{animation:enc-new 3s ease-out}
@keyframes enc-new{0%{background:#fff1f1}100%{background:transparent}}
@media (max-width:767px){
	.enc-live{padding:0}
	.enc-live__item{flex-direction:column;gap:4px}
}
@media (prefers-reduced-motion:reduce){
	.enc-live-badge::before,.enc-live__item.is-new{animation:none}
}

/* „На живо“: пулсираща червена точка */
.enc-livedot{position:absolute;top:12px;left:12px;z-index:5;width:14px;height:14px;border-radius:50%;background:var(--enc-g-red,#e11d2e);
	box-shadow:0 0 0 3px rgba(255,255,255,.92);pointer-events:none}
.enc-livedot::after{content:"";position:absolute;inset:-7px;border:2px solid var(--enc-g-red,#e11d2e);border-radius:50%;animation:enc-ping 1.6s ease-out infinite}
@keyframes enc-ping{0%{transform:scale(.55);opacity:.9}100%{transform:scale(1.4);opacity:0}}
.enc-livedot-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--enc-g-red,#e11d2e)}
.enc-livedot-label .enc-livedot{position:relative;top:auto;left:auto;display:inline-block;width:8px;height:8px;box-shadow:none}
.enc-livedot-label .enc-livedot::after{inset:-4px;border-width:1.5px}
@media (prefers-reduced-motion:reduce){.enc-livedot::after{animation:none;opacity:.45}}

/* „Извънредно“: червен етикет върху снимката / в реда с датата */
.enc-breaking-tag{position:absolute;left:0;bottom:0;z-index:5;padding:4px 10px;background:var(--enc-g-red,#e11d2e);color:#fff;
	font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.07em;text-transform:uppercase;pointer-events:none}
.enc-breaking-label{display:inline-block;padding:1px 8px;border-radius:3px;background:var(--enc-g-red,#e11d2e);color:#fff;
	font-size:11px;font-weight:800;line-height:1.5;letter-spacing:.07em;text-transform:uppercase}

/* „Извънредно“ над заглавието */
.enc-breaking-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:var(--enc-g-red,#e11d2e);color:#fff;
	font-size:13px;font-weight:800;letter-spacing:.05em;line-height:1.5;text-transform:uppercase}

/* Подзаглавие */
.enc-post-sub{margin:-6px 0 22px;font-size:20px;line-height:1.45;font-weight:400;color:#4b5563}

/* Тема над заглавието */
.enc-post-topic{display:inline-flex;align-items:center;gap:8px;padding:4px 14px;border-radius:999px;background:var(--enc-cat,#d6455d);
	color:#fff;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none}
.enc-post-topic::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff}
.enc-post-topic:hover,.enc-post-topic:focus-visible{color:#fff;opacity:.92;text-decoration:none}

/* „На живо“ върху снимка: бяла капсула с пулсираща червена точка и текст */
.enc-livetag{position:absolute;top:12px;left:12px;z-index:5;display:inline-flex;align-items:center;gap:8px;padding:7px 15px 7px 12px;border-radius:999px;
	background:#fff;color:var(--enc-g-red,#e11d2e);font-size:12px;font-weight:800;line-height:1;letter-spacing:.07em;text-transform:uppercase;
	box-shadow:0 2px 8px rgba(0,0,0,.28);pointer-events:none}
.enc-livetag__dot{position:relative;flex:none;width:10px;height:10px;border-radius:50%;background:var(--enc-g-red,#e11d2e)}
.enc-livetag__dot::after{content:"";position:absolute;inset:-5px;border:2px solid var(--enc-g-red,#e11d2e);border-radius:50%;animation:enc-ping 1.6s ease-out infinite}
.enc-top-item__media .enc-livetag,.enc-list-item__media .enc-livetag,.enc-ft-item__media .enc-livetag,.enc-sl-item__media .enc-livetag,
.enc-lead-item__media .enc-livetag,.enc-tp-item__media .enc-livetag,.enc-mt__thumb .enc-livetag{top:6px;left:6px;gap:5px;padding:4px 9px 4px 7px;font-size:10px}
.enc-top-item__media .enc-livetag__dot,.enc-list-item__media .enc-livetag__dot,.enc-ft-item__media .enc-livetag__dot,.enc-sl-item__media .enc-livetag__dot,
.enc-lead-item__media .enc-livetag__dot,.enc-tp-item__media .enc-livetag__dot,.enc-mt__thumb .enc-livetag__dot{width:7px;height:7px}
@keyframes enc-livefade{0%,100%{opacity:1}50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){
	.enc-livetag__dot::after{animation:none;opacity:0}
	.enc-livetag__dot,.enc-livedot-label .enc-livedot{animation:enc-livefade 2s ease-in-out infinite}
}

/* Източник на новината */
.enc-post-source{margin:26px 0 14px;font-size:15px;line-height:1.5;color:#6b7280}
.enc-post-source__label{font-weight:700;color:#111}
.enc-post-source a{color:var(--enc-accent);font-weight:600;text-decoration:none}
.enc-post-source a:hover{text-decoration:underline}

/* Автор на снимката */
.enc-post-figure figcaption .enc-post-credit{display:block;margin-top:2px;font-size:.92em;opacity:.8}
.enc-post-figure figcaption .enc-post-caption+.enc-post-credit{margin-top:4px}
