/* Synergy Блог — публична част. Всичко е под .sblog-site, за да не пипа темата. */
.sblog-site {
	--sblog-accent: #c2a36b;
	--sblog-dark: #1a2546;
	--sblog-ink: #24304f;
	--sblog-muted: #6b7489;
	--sblog-line: #e6e8ef;
	--sblog-soft: #f5f6fa;
	--sblog-radius: 18px;
	--sblog-shadow: 0 1px 2px rgba(26, 37, 70, .05), 0 10px 30px rgba(26, 37, 70, .07);
	--sblog-font-head: inherit;
	--sblog-font-body: inherit;
	font-family: var(--sblog-font-body);
	color: var(--sblog-ink);
	line-height: 1.6;
}
.sblog-site *, .sblog-site *::before, .sblog-site *::after { box-sizing: border-box; }
.sblog-site [hidden] { display: none !important; }
.sblog-site img { max-width: 100%; height: auto; }
.sblog-site a { color: inherit; }
.sblog-ico { flex: 0 0 auto; vertical-align: middle; }
.sblog-container { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.sblog-container--wide { max-width: 1240px; }
.sblog-eyebrow { display: inline-block; color: var(--sblog-accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; margin-bottom: 10px; }
.sblog-dot { opacity: .5; }
.sblog-empty { text-align: center; color: var(--sblog-muted); padding: 40px 0; }

/* ---------- Бутони ---------- */
.sblog-site .sblog-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 28px; border-radius: 999px;
	border: 1.5px solid var(--sblog-dark); color: var(--sblog-dark); background: transparent;
	font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.sblog-site .sblog-btn:hover { background: var(--sblog-dark); color: #fff; }
.sblog-site .sblog-btn:focus-visible, .sblog-site a:focus-visible, .sblog-site input:focus-visible, .sblog-site summary:focus-visible { outline: 2px solid var(--sblog-accent); outline-offset: 3px; }
.sblog-site .sblog-btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Заглавка на блога ---------- */
.sblog-blog-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--sblog-dark); color: #fff;
	border-radius: 28px; margin: 24px 0 28px; padding: clamp(36px, 7vw, 96px) clamp(24px, 6vw, 96px);
	box-shadow: var(--sblog-shadow);
}
.sblog-blog-hero__bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.sblog-blog-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 14, 32, .88) 0%, rgba(10, 14, 32, .55) 55%, rgba(10, 14, 32, .15) 100%); }
.sblog-blog-hero__inner { max-width: 760px; }
.sblog-site .sblog-blog-hero__title { font-family: var(--sblog-font-head); font-weight: 700; font-size: clamp(38px, 6.2vw, 84px); line-height: 1.02; margin: 0 0 16px; color: #fff; letter-spacing: -.01em; }
.sblog-blog-hero__sub { font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); margin: 0 0 26px; max-width: 620px; }
.sblog-stats-row { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: baseline; color: rgba(255, 255, 255, .72); }
.sblog-stats-row strong { font-family: var(--sblog-font-head); font-size: clamp(28px, 3vw, 38px); color: var(--sblog-accent); margin-right: 6px; font-weight: 700; }

/* Заглавка на автора */
.sblog-authorpage .sblog-blog-hero { margin-top: 24px; }
.sblog-authorhead { display: flex; gap: 32px; align-items: center; max-width: 900px; }
.sblog-authorhead__img img { width: 128px; height: 128px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); display: block; }
.sblog-authorpage .sblog-socials { margin-top: 18px; }
.sblog-authorpage .sblog-socials a { color: #fff; border-color: rgba(255, 255, 255, .25); }

/* ---------- Търсене и категории ---------- */
.sblog-toolbar { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin: 0 0 26px; }
.sblog-search { position: relative; flex: 0 1 360px; margin: 0; }
.sblog-search .sblog-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--sblog-muted); pointer-events: none; }
.sblog-site .sblog-search input {
	width: 100%; min-height: 48px; padding: 10px 18px 10px 46px; border-radius: 999px;
	border: 1px solid var(--sblog-line); background: #fff; font: inherit; color: var(--sblog-ink); box-shadow: none;
}
.sblog-site .sblog-search input:focus { border-color: var(--sblog-accent); outline: none; }
.sblog-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sblog-chips a { padding: 8px 16px; border-radius: 999px; background: var(--sblog-soft); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--sblog-ink); transition: background-color .2s ease, color .2s ease; }
.sblog-chips a:hover { background: var(--sblog-line); }
.sblog-chips a[aria-current="true"] { background: var(--sblog-dark); color: #fff; }

/* ---------- Решетка и карти ---------- */
.sblog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.sblog-list .sblog-grid.is-loading { opacity: .5; transition: opacity .2s ease; }
.sblog-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--sblog-radius); overflow: hidden; box-shadow: var(--sblog-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.sblog-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26, 37, 70, .06), 0 18px 40px rgba(26, 37, 70, .1); }
.sblog-card__media { display: block; aspect-ratio: 16 / 9; background: var(--sblog-soft); overflow: hidden; }
.sblog-card__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .5s ease; }
.sblog-card:hover .sblog-card__media img { transform: scale(1.04); }
.sblog-card__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sblog-dark), #3a4a7a); }
.sblog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.sblog-chip { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sblog-accent) !important; text-decoration: none; }
.sblog-site .sblog-card__title { font-family: var(--sblog-font-head); font-size: clamp(22px, 2vw, 27px); line-height: 1.15; margin: 0; font-weight: 700; color: var(--sblog-dark); }
.sblog-card__title a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease; }
.sblog-card:hover .sblog-card__title a { background-size: 100% 1px; }
.sblog-card__title a::after { content: ""; position: absolute; inset: 0; }
.sblog-card { position: relative; }
.sblog-chip { position: relative; z-index: 1; }
.sblog-card__excerpt { margin: 0; color: var(--sblog-muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sblog-meta { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--sblog-muted); }
.sblog-more { text-align: center; margin: 36px 0 12px; }

/* ---------- Статия ---------- */
.sblog-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; }
.sblog-progress span { display: block; height: 100%; width: 100%; background: var(--sblog-accent); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .sblog-progress { top: 32px; }

.sblog-hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: 28px; }
.sblog-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--sblog-muted); margin-bottom: 22px; }
.sblog-crumbs a { text-decoration: none; color: var(--sblog-muted); }
.sblog-crumbs a:hover { color: var(--sblog-dark); }
.sblog-crumbs a:last-child { color: var(--sblog-accent); font-weight: 600; }
.sblog-site .sblog-hero__title { font-family: var(--sblog-font-head); font-weight: 700; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.06; margin: 0 0 18px; color: var(--sblog-dark); letter-spacing: -.01em; }
.sblog-hero__lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--sblog-muted); margin: 0 0 26px; }
.sblog-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-size: 14px; color: var(--sblog-muted); }
.sblog-byline__author { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--sblog-dark) !important; }
.sblog-byline__author img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.sblog-byline__item { display: inline-flex; align-items: center; gap: 6px; }

.sblog-cover { margin: 8px auto 44px; }
.sblog-cover__img { width: 100%; height: auto; max-height: 720px; object-fit: cover; border-radius: 24px; display: block; }
.sblog-cover figcaption { font-size: 13px; color: var(--sblog-muted); margin-top: 10px; text-align: center; }

.sblog-layout { display: block; }
.sblog-layout.has-toc { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; }
.sblog-layout:not(.has-toc) .sblog-body { max-width: 760px; margin: 0 auto; }
.sblog-toc { position: relative; }
.sblog-toc__box { position: sticky; top: 100px; font-size: 14px; }
.sblog-toc summary { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sblog-dark); cursor: pointer; list-style: none; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.sblog-toc summary::-webkit-details-marker { display: none; }
.sblog-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sblog-line); }
.sblog-toc li { margin: 0; }
.sblog-toc li.is-h3 a { padding-left: 28px; font-size: 13px; }
.sblog-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--sblog-muted); line-height: 1.4; transition: color .2s ease, border-color .2s ease; }
.sblog-toc a:hover { color: var(--sblog-dark); }
.sblog-toc a.is-active { color: var(--sblog-dark); border-left-color: var(--sblog-accent); font-weight: 600; }

.sblog-highlights { background: var(--sblog-soft); border-radius: var(--sblog-radius); padding: 26px 30px; margin: 0 0 36px; border-left: 4px solid var(--sblog-accent); }
.sblog-site .sblog-highlights__title { font-family: var(--sblog-font-head); font-size: 24px; margin: 0 0 12px; color: var(--sblog-dark); }
.sblog-highlights ul { margin: 0; padding: 0; list-style: none; }
.sblog-highlights li { position: relative; padding-left: 28px; margin: 10px 0; font-weight: 500; }
.sblog-highlights li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--sblog-accent); }

/* Текстът */
.sblog-content { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.8; overflow-wrap: break-word; }
.sblog-content > * { margin-top: 0; margin-bottom: 1.4em; }
.sblog-content h2, .sblog-content h3 { font-family: var(--sblog-font-head); color: var(--sblog-dark); line-height: 1.2; scroll-margin-top: 100px; font-weight: 700; }
.sblog-content h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 1.8em; margin-bottom: .6em; }
.sblog-content h3 { font-size: clamp(22px, 2.2vw, 27px); margin-top: 1.5em; margin-bottom: .5em; }
.sblog-content a { color: var(--sblog-dark); text-decoration: underline; text-decoration-color: var(--sblog-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sblog-content mark { background: linear-gradient(transparent 55%, rgba(194, 163, 107, .38) 55%); color: inherit; padding: 0 2px; }
.sblog-content ul, .sblog-content ol { padding-left: 1.4em; }
.sblog-content li { margin: .4em 0; }
.sblog-content li::marker { color: var(--sblog-accent); font-weight: 700; }
.sblog-content blockquote, .sblog-quote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--sblog-accent); font-family: var(--sblog-font-head); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.35; color: var(--sblog-dark); }
.sblog-content blockquote p { margin: 0; }
.sblog-content blockquote cite { display: block; margin-top: 12px; font-family: var(--sblog-font-body); font-size: 15px; font-style: normal; color: var(--sblog-muted); }
.sblog-content blockquote cite::before { content: "— "; }
.sblog-callout { background: #fbf6ec; border-radius: 14px; padding: 22px 26px; border: 1px solid rgba(194, 163, 107, .35); }
.sblog-callout p { margin: 0; }
.sblog-content figure { margin: 2em 0; }
.sblog-content figure img { border-radius: 16px; display: block; width: 100%; }
.sblog-content figcaption { font-size: 14px; color: var(--sblog-muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.sblog-content hr, .sblog-divider { border: 0; height: 1px; background: var(--sblog-line); margin: 3em auto; width: 40%; }
.sblog-btn-wrap { text-align: center; }
.sblog-content .sblog-btn { background: var(--sblog-accent); border-color: var(--sblog-accent); color: #fff !important; text-decoration: none; }
.sblog-content .sblog-btn:hover { background: var(--sblog-dark); border-color: var(--sblog-dark); }

/* Галерия */
.sblog-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 2em 0; }
.sblog-gallery[data-count="2"], .sblog-gallery[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.sblog-gallery__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.sblog-gallery__item img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.sblog-gallery__item:hover img { transform: scale(1.05); }

/* Видео (зарежда се чак при клик) */
.sblog-video__link { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0d1226; text-decoration: none !important; }
.sblog-video__link img { width: 100%; height: 100% !important; object-fit: cover; opacity: .82; transition: opacity .3s ease; border-radius: 0 !important; }
.sblog-video__link:hover img { opacity: 1; }
.sblog-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px 14px 20px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--sblog-dark); font-family: var(--sblog-font-body); font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(10, 14, 32, .3); }
.sblog-video__play::before { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--sblog-accent); }
.sblog-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; display: block; }

/* След текста */
.sblog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.sblog-tags a { padding: 6px 14px; background: var(--sblog-soft); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--sblog-muted); }
.sblog-tags a:hover { color: var(--sblog-dark); }
.sblog-updated { font-size: 14px; color: var(--sblog-muted); margin: 20px 0 0; }
.sblog-author { display: flex; gap: 22px; align-items: flex-start; margin: 44px 0 0; padding: 28px; border-radius: var(--sblog-radius); background: #fff; box-shadow: var(--sblog-shadow); }
.sblog-author__img img { width: 88px; height: 88px; border-radius: 50%; display: block; }
.sblog-author__body { flex: 1; min-width: 0; }
.sblog-author .sblog-eyebrow { margin-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.sblog-author__name { display: block; font-family: var(--sblog-font-head); font-size: 26px; font-weight: 700; color: var(--sblog-dark) !important; text-decoration: none; margin-bottom: 6px; }
.sblog-author p { margin: 0 0 12px; color: var(--sblog-muted); font-size: 15px; }
.sblog-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.sblog-socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sblog-line); color: var(--sblog-dark); transition: background-color .2s ease, color .2s ease; }
.sblog-socials a:hover { background: var(--sblog-dark); color: #fff; }

.sblog-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 0; }
.sblog-prevnext a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--sblog-line); border-radius: 16px; text-decoration: none; transition: border-color .2s ease; }
.sblog-prevnext a:hover { border-color: var(--sblog-accent); }
.sblog-prevnext span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--sblog-muted); font-weight: 600; }
.sblog-prevnext strong { font-family: var(--sblog-font-head); font-size: 19px; line-height: 1.25; color: var(--sblog-dark); }
.sblog-prevnext__next { grid-column: 2; text-align: right; align-items: flex-end; }
.sblog-comments { margin-top: 48px; }

.sblog-related { margin: 72px auto 24px; }
.sblog-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.sblog-site .sblog-related__head h2 { font-family: var(--sblog-font-head); font-size: clamp(30px, 3.4vw, 42px); margin: 0; color: var(--sblog-dark); }
.sblog-related__head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; color: var(--sblog-dark); }
.sblog-listing { margin-bottom: 48px; }
.sblog-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 36px 0 0; }
.sblog-pagination a, .sblog-pagination span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--sblog-line); text-decoration: none; }
.sblog-pagination .current { background: var(--sblog-dark); color: #fff; border-color: var(--sblog-dark); }

/* Лайтбокс */
.sblog-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 11, 24, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.sblog-lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.sblog-lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sblog-lb button:hover { background: rgba(255, 255, 255, .25); }
.sblog-lb__close { top: 16px; right: 16px; }
.sblog-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.sblog-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.sblog-lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 14px; }

/* ---------- Адаптивност ---------- */
@media (max-width: 1100px) {
	.sblog-layout.has-toc { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
	.sblog-grid { gap: 22px; }
}
@media (max-width: 960px) {
	.sblog-layout.has-toc { display: block; }
	.sblog-layout.has-toc .sblog-body { max-width: 760px; margin: 0 auto; }
	.sblog-toc { max-width: 760px; margin: 0 auto 28px; }
	.sblog-toc__box { position: static; background: var(--sblog-soft); border-radius: 14px; padding: 16px 18px; }
	.sblog-toc summary { margin-bottom: 0; }
	.sblog-toc__box[open] summary { margin-bottom: 12px; }
}
@media (max-width: 782px) {
	.admin-bar .sblog-progress { top: 46px; }
}
@media (max-width: 720px) {
	.sblog-blog-hero { border-radius: 20px; margin-top: 12px; }
	.sblog-toolbar { flex-direction: column; align-items: stretch; }
	.sblog-search { flex: 1 1 auto; }
	.sblog-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
	.sblog-chips::-webkit-scrollbar { display: none; }
	.sblog-chips a { white-space: nowrap; }
	.sblog-cover { padding: 0; margin-bottom: 30px; }
	.sblog-cover__img { border-radius: 0; }
	.sblog-highlights { padding: 20px 20px; }
	.sblog-author { flex-direction: column; padding: 22px; }
	.sblog-prevnext { grid-template-columns: 1fr; }
	.sblog-prevnext__next { grid-column: 1; }
	.sblog-authorhead { flex-direction: column; align-items: flex-start; gap: 18px; }
	.sblog-authorhead__img img { width: 96px; height: 96px; }
	.sblog-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.sblog-container { padding-left: 16px; padding-right: 16px; }
	.sblog-chips { margin: 0 -16px; padding: 0 16px 4px; }
	.sblog-card__body { padding: 18px 18px 20px; }
	.sblog-blog-hero { padding: 32px 22px; }
	.sblog-byline { gap: 10px 16px; }
	.sblog-content blockquote { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.sblog-site *, .sblog-site *::before, .sblog-site *::after { transition: none !important; animation: none !important; }
	.sblog-card:hover, .sblog-card:hover .sblog-card__media img { transform: none; }
	html:has(.sblog-site) { scroll-behavior: auto; }
}
@media print {
	.sblog-progress, .sblog-toc, .sblog-related, .sblog-prevnext, .sblog-comments, .sblog-crumbs { display: none !important; }
}

/* Flex/grid елементите не бива да се разпъват от съдържанието си (лентата с категории). */
.sblog-list, .sblog-toolbar > *, .sblog-layout > *, .sblog-body { min-width: 0; }
.sblog-list { max-width: min(1240px, 100%); margin-left: auto; margin-right: auto; }
.sblog-chips { max-width: 100%; }

/* Коментари в блокови теми */
.sblog-comments .wp-block-comments textarea, .sblog-comments textarea, .sblog-comments input[type="text"], .sblog-comments input[type="email"], .sblog-comments input[type="url"] { width: 100%; max-width: 100%; box-sizing: border-box; }

/* Широк блок в блокови теми (Twenty Twenty-Five и др.) */
.is-layout-constrained > .sblog-list.alignwide { max-width: min(1240px, var(--wp--style--global--wide-size, 1240px)); }

/* v1.2 — броячи на прочитанията */
.sblog-views { display: inline-flex; align-items: center; gap: 6px; color: var(--sblog-muted); font-variant-numeric: tabular-nums; }
.sblog-views .sblog-ico { color: var(--sblog-accent); width: 17px; height: 17px; }
.sblog-views__n { font-weight: 700; color: var(--sblog-dark); }
.sblog-views__today { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #e7f4ec; color: #1f7a4f; font-weight: 700; font-size: .85em; white-space: nowrap; }
.sblog-byline .sblog-views__n { font-size: 15px; }
.sblog-meta .sblog-views__today { font-size: 11px; padding: 1px 7px; }
.sblog-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* v1.3 — споделяне */
.sblog-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sblog-site .sblog-share__btn {
	--net: #1a2546;
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px;
	border-radius: 999px; border: 1px solid var(--sblog-line); background: #fff; color: var(--sblog-ink);
	font: 600 13px/1 var(--sblog-font-body); text-decoration: none; cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.sblog-share__btn .sblog-ico { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--net); color: #fff; box-sizing: border-box; }
.sblog-site .sblog-share__btn:hover { border-color: var(--net); transform: translateY(-1px); }
.sblog-site .sblog-share__btn:focus-visible { outline: 2px solid var(--net); outline-offset: 2px; }
.sblog-share__btn.is-done .sblog-ico { background: #1f7a4f; }

/* Под заглавието — само кръгчета */
.sblog-share--top { margin-top: 22px; }
.sblog-share--top .sblog-share__btn { padding: 0; width: 40px; justify-content: center; border: 0; background: transparent; }
.sblog-share--top .sblog-share__btn .sblog-ico { width: 38px; height: 38px; padding: 9px; }
.sblog-share--top .sblog-share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* След текста */
.sblog-share--bottom { display: block; margin: 40px 0 0; padding: 26px 28px; border-radius: var(--sblog-radius); background: var(--sblog-soft); }
.sblog-share__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 16px; }
.sblog-site .sblog-share__title { font-family: var(--sblog-font-head); font-size: 24px; line-height: 1.2; margin: 0; color: var(--sblog-dark); }
.sblog-share__count { font-size: 14px; color: var(--sblog-muted); font-weight: 600; }
.sblog-share__row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Лепкава лента на телефон */
.sblog-share--sticky { display: none; }
.sblog-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 100001; background: var(--sblog-dark, #1a2546); color: #fff; padding: 10px 18px; border-radius: 999px; font: 600 14px/1.2 var(--sblog-font-body, sans-serif); box-shadow: 0 8px 24px rgba(10, 14, 32, .3); }
.sblog-toast[hidden] { display: none; }

@media (max-width: 720px) {
	.sblog-share--bottom { padding: 20px 18px; }
	.sblog-share__row .sblog-share__btn { flex: 1 1 calc(50% - 10px); }
	.sblog-share--sticky:not([hidden]) {
		display: flex; flex-wrap: nowrap; justify-content: space-around; gap: 4px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--sblog-line); box-shadow: 0 -6px 20px rgba(26, 37, 70, .08);
		animation: sblog-up .25s ease;
	}
	.sblog-share--sticky .sblog-share__btn { flex-direction: column; gap: 3px; padding: 0; border: 0; background: transparent; min-height: 0; font-size: 10px; font-weight: 600; color: var(--sblog-muted); }
	.sblog-share--sticky .sblog-share__btn .sblog-ico { width: 38px; height: 38px; padding: 9px; }
	body:has(.sblog-share--sticky:not([hidden])) { padding-bottom: 72px; }
}
@keyframes sblog-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sblog-share--sticky { animation: none !important; } }
@media print { .sblog-share, .sblog-toast { display: none !important; } }
