/*
Theme Name: Credihub
Theme URI: https://credihub.eu/
Author: Credihub
Description: Тема за credihub.eu: проверка на финансови фирми в официалните регистри. Работи с плъгина Credihub Core.
Version: 1.13.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: credihub
*/

/* Цветовете са директни стойности (без var), за да не зависят от кеширането. */

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: #1C1F23; font-family: 'Fira Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid #3D5A80; outline-offset: 2px; }
.screen-reader-text, .ch-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.ch-skip { position: absolute; left: -9999px; top: 0; background: #1C1F23; color: #FFFFFF; padding: 10px 16px; z-index: 100; }
.ch-skip:focus { left: 16px; top: 16px; }

.ch-wrap { box-sizing: border-box; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }

/* Горна част */
.ch-header { border-bottom: 1px solid #D6DADF; background: #FFFFFF; }
.ch-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.ch-brand { display: flex; align-items: baseline; gap: 14px; color: #1C1F23; text-decoration: none; }
.ch-brand:hover { color: #1C1F23; }
.ch-brand__name { font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.ch-brand__mark { display: inline-block; width: auto; height: .7em; margin-right: .28em; vertical-align: baseline; }
.ch-brand__tag { font-size: 14px; color: #59626D; }
.ch-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
.ch-nav { min-width: 0; }
.ch-nav a { white-space: nowrap; }
.ch-nav a { color: #1C1F23; text-decoration: none; font-size: 15px; font-weight: 500; }
.ch-nav a:hover, .ch-nav a[aria-current="page"] { color: #B3261E; }
.ch-nav a.ch-nav-lang, .ch-menu__panel a.ch-nav-lang { color: #59626D; font-size: 14px; letter-spacing: .04em; }
.ch-mtools { display: none; }
.ch-menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 10px; display: flex; align-items: center; gap: 8px; border: 1px solid #D6DADF; border-radius: 4px; font-size: 15px; font-weight: 600; color: #1C1F23; }
.ch-menu[open] summary { border-color: #1C1F23; }
.ch-lang-m { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #3D4650; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.ch-lang-m:hover { color: #B3261E; }
.ch-menu summary::-webkit-details-marker { display: none; }

/* Общи елементи */
.ch-kicker { margin: 0 0 14px; font-size: 15px; color: #59626D; }
.ch-kicker a { color: #59626D; }
.ch-title { margin: 0 0 20px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 60px; line-height: 1.02; letter-spacing: -0.015em; color: #1C1F23; }
.ch-title a { color: inherit; text-decoration: none; }
.ch-title a:hover { color: #1C1F23; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ch-lede { margin: 0 0 24px; font-family: Literata, Georgia, serif; font-size: 21px; line-height: 1.55; color: #2E3338; }
.ch-meta { margin: 0; font-size: 15px; color: #59626D; }
.ch-btn { display: inline-block; padding: 13px 22px; background: #1C1F23; color: #FFFFFF !important; font-weight: 500; font-size: 15px; border-radius: 3px; text-decoration: none; border: 1px solid #1C1F23; }
.ch-btn:hover { background: #000000; }
.ch-btn--ghost { background: #FFFFFF; color: #1C1F23 !important; }
.ch-btn--ghost:hover { background: #F2F4F6; }
.ch-h2 { margin: 0; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.15; }
.ch-link { font-size: 15px; font-weight: 500; color: #1C1F23; text-decoration: underline; }

/* Начална: водеща публикация */
.ch-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 48px; align-items: start; padding-top: 56px; }
.ch-hero__actions { margin-top: 28px; }

/* Графики */
.ch-figure { margin: 0 0 40px; border-top: 3px solid #1C1F23; padding-top: 16px; font-family: 'Fira Sans', system-ui, sans-serif; }
.ch-hero .ch-figure { margin: 0; padding-top: 18px; }
.ch-figure__title { display: block; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; color: #1C1F23; }
.ch-figure__sub { margin: 2px 0 18px; font-size: 14px; color: #59626D; }
.ch-figure__src { margin: 12px 0 0; font-size: 13px; color: #59626D; line-height: 1.45; }
.ch-hbar { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.ch-hbar__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ch-hbar__value { font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-hbar__track { height: 20px; background: #EEF0F3; border-radius: 2px; }
.ch-hbar__fill { height: 20px; border-radius: 2px; background: #8E9BAB; }
.ch-hbar__fill--secondary { background: #3D5A80; }
.ch-hbar__fill--accent { background: #B3261E; }
.ch-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 13px; color: #59626D; }
.ch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ch-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.ch-legend i.ch-line { height: 3px; border-radius: 0; }

/* Показатели */
.ch-section { margin-top: 80px; border-top: 1px solid #D6DADF; padding-top: 28px; }
.ch-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.ch-scroll { overflow-x: auto; }
.ch-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ch-table th { text-align: left; color: #59626D; font-size: 13px; font-weight: 500; padding: 10px 16px; border-bottom: 1px solid #1C1F23; }
.ch-table td { padding: 16px; border-bottom: 1px solid #D6DADF; vertical-align: middle; }
.ch-table th:first-child, .ch-table td:first-child { padding-left: 0; }
.ch-table th:last-child, .ch-table td:last-child { padding-right: 0; }
.ch-table .ch-num { text-align: right; }
.ch-table .ch-big { font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 24px; white-space: nowrap; }
.ch-table .ch-src { color: #59626D; }
.ch-table .ch-src a { color: #59626D; }

/* Публикации + странична колона */
.ch-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 48px; margin-top: 80px; }
.ch-posts { border-top: 1px solid #1C1F23; margin-top: 8px; }
.ch-post { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid #D6DADF; color: #1C1F23; text-decoration: none; }
.ch-post:hover .ch-post__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ch-post__date { font-size: 14px; color: #59626D; padding-top: 4px; }
.ch-post__title { display: block; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.ch-post__excerpt { display: block; font-family: Literata, Georgia, serif; font-size: 16px; line-height: 1.55; color: #2E3338; }
.ch-note { margin: 18px 0 0; font-size: 15px; color: #59626D; }
.ch-side { display: flex; flex-direction: column; gap: 28px; }
.ch-panel { background: #F2F4F6; border-radius: 4px; padding: 28px; }
.ch-panel h2, .ch-author h2, .ch-cta h2 { margin: 0 0 8px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.15; }
.ch-panel p { margin: 0 0 16px; font-size: 15px; color: #2E3338; }
.ch-form { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-form input[type="email"] { flex: 1 1 200px; min-height: 46px; padding: 0 14px; border: 1px solid #B9C0C8; border-radius: 3px; font: inherit; font-size: 15px; background: #FFFFFF; color: #1C1F23; box-sizing: border-box; }
.ch-form button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 3px; background: #1C1F23; color: #FFFFFF; font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; }
.ch-form button:hover { background: #000000; }
.ch-form__fine { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 13px !important; color: #59626D !important; }
.ch-form__fine a { color: #59626D; }
.ch-hp { position: absolute; left: -9999px; }
.ch-notice { margin: 0 0 14px !important; padding: 10px 12px; border-radius: 3px; font-size: 14px !important; background: #FFFFFF; border-left: 3px solid #3D5A80; }
.ch-notice--error { border-left-color: #B3261E; }
.ch-author { border-top: 3px solid #1C1F23; padding-top: 20px; }
.ch-author p { margin: 0 0 12px; font-family: Literata, Georgia, serif; font-size: 16px; line-height: 1.6; color: #2E3338; }

/* Статия */
.ch-article-head { max-width: 860px; padding-top: 56px; }
.ch-article-head .ch-title { font-size: 64px; margin-bottom: 22px; }
.ch-article-head .ch-lede { font-size: 22px; margin: 0; }
.ch-article-body { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 44px; border-top: 1px solid #D6DADF; padding-top: 28px; }
.ch-rail { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 26px; font-size: 14px; }
.ch-rail p { margin: 0; }
.ch-rail__name { font-weight: 600; }
.ch-rail__muted { color: #59626D; }
.ch-figures { border-top: 3px solid #1C1F23; padding-top: 14px; }
.ch-figures__head { margin: 0 0 12px !important; font-weight: 600; }
.ch-figures__list { display: flex; flex-direction: column; gap: 14px; }
.ch-figures__value { display: block; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 36px; line-height: 1; color: #1C1F23; }
.ch-figures__value--accent { color: #B3261E; }
.ch-figures__label { color: #59626D; }
.ch-tools { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #D6DADF; padding-top: 14px; }
.ch-tools a { color: #1C1F23; }
.ch-content { flex: 999 1 560px; min-width: 0; max-width: 740px; font-family: Literata, Georgia, serif; font-size: 19px; line-height: 1.7; color: #22262B; }
.ch-content > * { max-width: 740px; margin-left: 0 !important; margin-right: 0 !important; }
.ch-content > * + * { margin-top: 0; }
.ch-content p { margin: 0 0 20px; }
.ch-content h2 { margin: 36px 0 14px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.15; color: #1C1F23; }
.ch-content h2:first-child { margin-top: 0; }
.ch-content h3 { margin: 28px 0 10px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 24px; color: #1C1F23; }
.ch-content ul, .ch-content ol { margin: 0 0 24px; padding-left: 22px; }
.ch-content li { margin-bottom: 8px; }
.ch-content a { color: #1C1F23; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ch-content a:hover { color: #B3261E; }
.ch-content blockquote { margin: 0 0 24px; padding-left: 20px; border-left: 3px solid #D6DADF; color: #2E3338; }
.ch-content .ch-figure { margin-top: 8px; }
.ch-content .ch-sources { font-family: 'Fira Sans', system-ui, sans-serif; font-size: 14px; color: #59626D; border-top: 1px solid #D6DADF; padding-top: 18px; margin-top: 12px; }
.ch-content .ch-sources p { margin: 0 0 8px; }

.ch-cta { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 72px; border-top: 3px solid #1C1F23; padding-top: 28px; }
.ch-cta > div { flex: 1 1 420px; min-width: 0; }
.ch-cta p { margin: 0 0 16px; font-size: 15px; color: #2E3338; }
.ch-cta .ch-form { max-width: 480px; }

/* Страници и архиви */
.ch-page { max-width: 740px; padding-top: 56px; }
.ch-page .ch-title { font-size: 52px; }
.ch-page .ch-content { max-width: 740px; }
.ch-archive { padding-top: 56px; }
.ch-archive .wp-block-query-title { margin: 0 0 8px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 52px; line-height: 1.05; }
.ch-archive .wp-block-term-description { font-family: Literata, Georgia, serif; font-size: 18px; color: #2E3338; max-width: 740px; }
.ch-archive .wp-block-post-template { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid #1C1F23; max-width: 860px; }
.ch-archive .wp-block-post { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid #D6DADF; margin: 0; }
.ch-archive .wp-block-post-date { grid-row: span 2; font-size: 14px; color: #59626D; padding-top: 4px; }
.ch-archive .wp-block-post-title { margin: 0; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; }
.ch-archive .wp-block-post-title a { color: #1C1F23; text-decoration: none; }
.ch-archive .wp-block-post-title a:hover { text-decoration: underline; }
.ch-archive .wp-block-post-excerpt { grid-column: 2; margin: 0; }
.ch-archive .wp-block-post-excerpt__excerpt { margin: 0; font-family: Literata, Georgia, serif; font-size: 16px; color: #2E3338; }
.ch-archive .wp-block-query-pagination { margin-top: 24px; font-size: 15px; gap: 16px; }
.ch-empty { font-family: Literata, Georgia, serif; font-size: 18px; color: #2E3338; }

/* Долна част */
.ch-footer { margin-top: 96px; border-top: 1px solid #D6DADF; }
.ch-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: #59626D; }
.ch-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.ch-footer a { color: #59626D; }

/* Проверка в регистрите */
.ch-check { padding-top: 64px; }
.ch-eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: #59626D; }
.ch-check-title { max-width: 920px; margin: 0 0 18px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 60px; line-height: 1.02; letter-spacing: -0.015em; color: #1C1F23; }
.ch-check-lede { max-width: 760px; margin: 0 0 32px; font-family: Literata, Georgia, serif; font-size: 21px; line-height: 1.55; color: #2E3338; }
.ch-check.has-result { padding-top: 40px; }
.ch-check.has-result .ch-check-title { font-size: 40px; }
.ch-check.has-result .ch-check-lede, .ch-check.has-result .ch-eyebrow { display: none; }
.ch-search { display: flex; max-width: 760px; border: 2px solid #1C1F23; border-radius: 4px; background: #FFFFFF; }
.ch-search input { flex: 1 1 auto; min-width: 0; min-height: 60px; padding: 0 18px; border: 0; border-radius: 4px 0 0 4px; font: inherit; font-size: 19px; color: #1C1F23; background: transparent; }
.ch-search input:focus { outline: none; }
.ch-search:focus-within { outline: 3px solid #3D5A80; outline-offset: 2px; }
.ch-search button { flex: 0 0 auto; padding: 0 28px; border: 0; border-radius: 0 2px 2px 0; background: #1C1F23; color: #FFFFFF; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
.ch-search button:hover { background: #000000; }
.ch-search-note { margin: 14px 0 0; font-size: 15px; color: #59626D; }
.ch-result { max-width: 860px; margin-top: 36px; }
.ch-result-count { margin: 0 0 8px; font-size: 15px; color: #59626D; }
.ch-result-group { margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 1px solid #1C1F23; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.15; }
.ch-result-group span { font-family: 'Fira Sans', sans-serif; font-weight: 500; font-size: 15px; color: #59626D; margin-left: 6px; }
.ch-group-warning { color: #B3261E; border-bottom-color: #B3261E; }
.ch-group-sanction { color: #1C1F23; border-bottom-width: 3px; }
.ch-group-note { margin: -4px 0 14px; font-size: 15px; line-height: 1.5; color: #2E3338; }
.ch-hit { margin: 0 0 14px; padding: 18px 22px 16px; border: 1px solid #D6DADF; border-left: 4px solid #3D5A80; border-radius: 3px; background: #FFFFFF; }
.ch-hit-warning { border-left-color: #B3261E; background: #FDF6F5; }
.ch-hit-removed { border-left-color: #8E9BAB; }
.ch-hit-sanction { border-left-color: #1C1F23; background: #F4F5F6; }
.ch-hit-sanction .ch-hit-status { color: #1C1F23; }
.ch-hit-passport { border-left-color: #6E8FB5; }
.ch-hit-passport .ch-hit-status { color: #4A6C93; }
.ch-hit-status { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #3D5A80; }
.ch-hit-warning .ch-hit-status { color: #B3261E; }
.ch-hit-removed .ch-hit-status { color: #59626D; }
.ch-hit-name { margin: 0; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 26px; line-height: 1.15; color: #1C1F23; }
.ch-hit-alt { margin: 4px 0 0; font-size: 15px; color: #59626D; }
.ch-hit-data { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 16px; margin: 14px 0 0; font-size: 15px; line-height: 1.45; }
.ch-hit-data dt { color: #59626D; }
.ch-hit-data dd { margin: 0; color: #22262B; overflow-wrap: anywhere; }
.ch-hit-src { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #ECEFF2; font-size: 13px; color: #59626D; }
.ch-hit-src a { color: #59626D; }
.ch-hit-src { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.ch-hit-src .ch-hit-more { color: #1C1F23; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ch-hit-src .ch-hit-more:hover { color: #B3261E; text-decoration: underline; text-underline-offset: 3px; }
.ch-hit-name a { color: inherit; text-decoration: none; }
.ch-hit-name a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ch-hit-name a:focus-visible, .ch-hit-more:focus-visible { outline: 3px solid #3D5A80; outline-offset: 2px; }
.ch-verdict-none { padding: 24px; border: 1px solid #D6DADF; border-left: 4px solid #8E9BAB; border-radius: 3px; }
.ch-verdict-none h2 { margin: 0 0 10px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.15; }
.ch-verdict-none p { margin: 0; font-family: Literata, Georgia, serif; font-size: 17px; line-height: 1.6; color: #2E3338; }
.ch-result-caveat { margin: 22px 0 0; font-size: 15px; line-height: 1.55; color: #59626D; }
.ch-also { margin-top: 28px; padding: 24px 26px; background: #F2F4F6; border-radius: 4px; }
.ch-also h3 { margin: 0 0 12px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 22px; }
.ch-also ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.ch-also a { font-weight: 500; color: #1C1F23; }
.ch-also span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: #59626D; }
.ch-src-table { min-width: 0; }
.ch-src-table td:first-child a { color: #1C1F23; }
.ch-content .ch-src-table { font-family: 'Fira Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.45; margin-bottom: 24px; }
.ch-content .ch-src-table td { padding: 12px 10px; }
.ch-content .ch-src-table td:first-child { padding-left: 0; }
.ch-src-table td:last-child { white-space: nowrap; }


/* Начална страница: снимка, обхват, легенда, правила, ръководства */
.ch-check.has-image { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.ch-check.has-image .ch-check-title { font-size: 56px; }
.ch-hero-figure { margin: 0; }
.ch-hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; background: #F2F4F6; }
.ch-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 24px 40px; margin-top: 64px; padding-top: 22px; border-top: 1px solid #1C1F23; }
.ch-stats > div { display: flex; flex-direction: column; gap: 4px; }
.ch-stat-v { font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 44px; line-height: 1; color: #1C1F23; font-variant-numeric: tabular-nums; }
.ch-stat-l { font-size: 14px; line-height: 1.4; color: #59626D; }
.ch-stats-more { justify-content: flex-end; gap: 8px !important; }
.ch-block { margin-top: 80px; padding-top: 28px; border-top: 1px solid #D6DADF; }
.ch-block > .ch-h2 { margin-bottom: 28px; }
.ch-block .ch-section__head { margin-bottom: 28px; }
.ch-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.ch-legend-item { padding-top: 14px; border-top: 3px solid #3D5A80; }
.ch-lg-warning { border-top-color: #B3261E; }
.ch-lg-removed { border-top-color: #8E9BAB; }
.ch-lg-passport { border-top-color: #6E8FB5; }
.ch-lg-none { border-top-color: #D6DADF; }
.ch-lg-sanction { border-top-color: #1C1F23; }
.ch-legend-item h3 { margin: 0 0 8px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 21px; line-height: 1.2; }
.ch-legend-item p { margin: 0; font-size: 15px; line-height: 1.55; color: #2E3338; }
.ch-rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 40px; }
.ch-rules li { counter-increment: rule; }
.ch-rules li::before { content: counter(rule, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .04em; color: #B3261E; }
.ch-rules h3 { margin: 0 0 8px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 23px; line-height: 1.2; }
.ch-rules p { margin: 0; font-family: Literata, Georgia, serif; font-size: 16px; line-height: 1.6; color: #2E3338; }
.ch-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ch-guide { display: block; padding-top: 14px; border-top: 3px solid #1C1F23; color: #1C1F23; text-decoration: none; }
.ch-guide-t { display: block; margin-bottom: 8px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 23px; line-height: 1.2; }
.ch-guide:hover .ch-guide-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ch-guide-x { display: block; font-family: Literata, Georgia, serif; font-size: 16px; line-height: 1.55; color: #2E3338; }
.ch-faq h3 { margin: 28px 0 8px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; color: #1C1F23; }
.ch-faq h3:first-child { margin-top: 0; }
.ch-faq p { margin: 0 0 8px; }

/* Таблет и телефон */
/* Поле за търсене: обвивка за подсказките */
.ch-search-field { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.ch-search-field input { width: 100%; }
.ch-sug { position: absolute; top: calc(100% + 2px); left: -2px; right: -2px; z-index: 60; margin: 0; padding: 4px 0; list-style: none; background: #FFFFFF; border: 1px solid #D6DADF; border-radius: 0 0 4px 4px; box-shadow: 0 10px 24px rgba(28,31,35,.12); }
.ch-sug li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 16px; cursor: pointer; font-size: 16px; color: #1C1F23; }
.ch-sug li:hover, .ch-sug li[aria-selected="true"] { background: #F2F4F6; }
.ch-sug-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-sug-t { flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #3D5A80; }
.ch-sug-passport { color: #4A6C93; }
.ch-sug-warning { color: #B3261E; }
.ch-sug-removed { color: #59626D; }
.ch-sug-sanction { color: #1C1F23; }

/* Компактното поле в горната част на вътрешните страници */
.ch-header-search { order: 1; flex: 1 1 240px; max-width: 380px; margin-left: auto; }
.has-search .ch-nav { order: 2; }
.has-search .ch-mtools { order: 3; }
.ch-search-sm { border-width: 1px; border-color: #8E9BAB; }
.ch-search-sm input { min-height: 40px; padding: 0 12px; font-size: 15px; }
.ch-search-sm button { padding: 0 14px; font-size: 14px; }
.ch-search-sm .ch-sug li { font-size: 15px; padding: 9px 12px; }
.ch-search-sm .ch-sug { left: -1px; right: -1px; }
.has-search .ch-brand__tag { display: none; }
.has-search .ch-nav ul { gap: 22px; }
@media (max-width: 1180px) { .ch-brand__tag { display: none; } }
@media (max-width: 1180px) { .ch-header-search { order: 4; flex: 1 1 100%; max-width: none; margin: 0 0 12px; } }

/* Търговски регистър в картата */
.ch-tr { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #22262B; }
.ch-tr a { color: inherit; }
.ch-tr-k { color: #59626D; }
.ch-tr-alert { padding: 8px 10px; border-radius: 3px; background: #FFF4DE; color: #6B4100; }
.ch-tr-alert .ch-tr-k { color: #6B4100; }
.ch-tr-src { display: block; margin-top: 2px; font-size: 13px; color: #59626D; }
.ch-tr-src a { color: inherit; }
.ch-verdict .ch-tr { margin-top: 14px; }

/* Частично съвпадение */
.ch-hit-tag { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid #C9CED4; border-radius: 3px; background: #FFFFFF; font-size: 11px; font-weight: 600; line-height: 18px; letter-spacing: 0; text-transform: none; color: #3B424A; vertical-align: 1px; }

/* „Какво да направите“ */
.ch-next { margin: 0 0 18px; padding: 18px 22px 14px; border: 1px solid #D6DADF; border-radius: 3px; background: #FFFFFF; }
.ch-next-r { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ch-next-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.ch-next-head h3 { margin: 0; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 22px; color: #1C1F23; }
.ch-next-tabs { display: inline-flex; border: 1px solid #8E9BAB; border-radius: 4px; overflow: hidden; }
.ch-next-tabs label { padding: 8px 14px; font-size: 14px; font-weight: 500; color: #3B424A; cursor: pointer; }
.ch-next-tabs input:checked + label { background: #1C1F23; color: #FFFFFF; }
.ch-next-tabs input:focus-visible + label { outline: 3px solid #3D5A80; outline-offset: -3px; }
.ch-next-tabs input + label + input + label { border-left: 1px solid #8E9BAB; }
.ch-next-list { margin: 0; padding: 0; list-style: none; counter-reset: chn; }
.ch-next-cap { display: none; }
.ch-next:has(#ch-next-ne:checked) .ch-next-da, .ch-next:has(#ch-next-da:checked) .ch-next-ne { display: none; }
@supports not selector(:has(a)) {
  .ch-next-tabs { display: none; }
  .ch-next-cap { display: block; margin: 12px 0 0; font-weight: 600; color: #1C1F23; }
}
.ch-next-list li { counter-increment: chn; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-top: 1px solid #ECEFF2; }
.ch-next-list li:first-child { border-top: 0; }
.ch-next-list li::before { content: counter(chn); grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #F0C9C5; background: #FDF6F5; color: #B3261E; font-size: 13px; font-weight: 600; line-height: 22px; text-align: center; }
.ch-next-list strong { font-weight: 600; color: #1C1F23; line-height: 1.4; }
.ch-next-list span { grid-column: 2; margin-top: 2px; font-size: 15px; line-height: 1.45; color: #59626D; }
.ch-next-note { margin: 6px 0 0; font-size: 13px; color: #6B7580; }

.ch-firm .ch-lede { margin-bottom: 24px; }
/* Картите в страницата на фирмата: шрифт и отстояния на интерфейса, не на текста на статия. */
.ch-content .ch-firm > :not(.ch-lede) { font-family: 'Fira Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
.ch-content .ch-firm .ch-hit p, .ch-content .ch-firm .ch-next p { margin-bottom: 0; }
.ch-content .ch-firm .ch-hit-status { margin: 0 0 4px; }
.ch-content .ch-firm .ch-hit-alt { margin-top: 4px; }
.ch-content .ch-firm .ch-hit-src { margin-top: 14px; }
.ch-content .ch-firm .ch-tr { margin-top: 12px; }
.ch-content .ch-firm h3.ch-hit-name { margin: 0; font-size: 26px; line-height: 1.15; }
.ch-content .ch-firm .ch-next-head h3 { margin: 0; font-size: 22px; }
.ch-content .ch-firm .ch-next-list { margin: 0; padding-left: 0; }
.ch-content .ch-firm .ch-next-list li { margin-bottom: 0; }
.ch-content .ch-firm .ch-result-caveat { font-size: 15px; color: #59626D; }
.ch-content .ch-firm .ch-result-group { margin: 32px 0 8px; }
.ch-firm-note { margin: 4px 0 18px; padding: 14px 18px; border-radius: 3px; background: #F2F4F6; font-size: 15px; line-height: 1.5; color: #22262B; }
.ch-firm-search { margin-top: 44px; }
.ch-firm-search .ch-h2 { margin: 0 0 12px; }

/* Проверка на сайт */
.ch-domain { margin: 0 0 22px; padding: 16px 20px; border: 1px solid #D6DADF; border-left: 4px solid #3D5A80; border-radius: 0; background: #FFFFFF; }
.ch-domain.is-young { border-left-color: #C77700; background: #FFF8EC; }
.ch-domain p { margin: 0; }
.ch-domain-k { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #3D5A80; }
.ch-domain.is-young .ch-domain-k { color: #8A5300; }
.ch-domain-v { margin-top: 4px !important; font-size: 18px; line-height: 1.4; color: #1C1F23; }
.ch-domain-note { margin-top: 8px !important; font-size: 15px; line-height: 1.5; color: #2E3338; }
.ch-domain-src { margin-top: 10px !important; font-size: 13px; color: #59626D; }

/* Широки страници: страницата на фирмата и „Нови предупреждения“ */
.ch-wide .ch-page, .ch-wide .ch-page .ch-content, .ch-wide .ch-content > * { max-width: none; }
.ch-wide .ch-page .ch-title, .ch-wide .ch-content > .ch-lede { max-width: 860px; }

/* Нови предупреждения: таблица с филтри */
.ch-new { font-family: 'Fira Sans', system-ui, sans-serif; }
.ch-new-meta { margin: 0 0 18px; font-size: 15px; color: #59626D; }
.ch-new-note { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: #59626D; max-width: 72ch; }
.ch-new-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ch-new-filters button { padding: 7px 14px; border: 1px solid #B9C0C8; border-radius: 999px; background: #FFFFFF; color: #1C1F23; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ch-new-filters button span { margin-left: 4px; color: #59626D; font-weight: 400; }
.ch-new-filters button[aria-pressed="true"] { border-color: #1C1F23; background: #1C1F23; color: #FFFFFF; }
.ch-new-filters button[aria-pressed="true"] span { color: #D6DADF; }
.ch-new-filters button:focus-visible { outline: 3px solid #3D5A80; outline-offset: 2px; }
.ch-new-row { display: grid; grid-template-columns: 104px minmax(0, 1.4fr) minmax(0, 1.6fr) 170px; column-gap: 20px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #ECEFF2; font-size: 16px; line-height: 1.4; }
.ch-new-row[hidden] { display: none; }
.ch-new-head { padding: 8px 0; border-bottom: 2px solid #1C1F23; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #59626D; }
.ch-new-d { color: #59626D; font-variant-numeric: tabular-nums; }
.ch-content .ch-new-n a { color: #1C1F23; font-weight: 600; text-decoration: none; }
.ch-content .ch-new-n a:hover { color: #B3261E; text-decoration: underline; }
.ch-new-w { font-size: 15px; color: #2E3338; }
.ch-new-c { font-size: 15px; color: #59626D; }
.ch-nf-sanction .ch-new-w { color: #1C1F23; font-weight: 500; }
.ch-nf-kfn .ch-new-w::before, .ch-nf-esma .ch-new-w::before, .ch-nf-sanction .ch-new-w::before, .ch-nf-removed .ch-new-w::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #B3261E; vertical-align: 1px; }
.ch-nf-sanction .ch-new-w::before { background: #1C1F23; }
.ch-nf-removed .ch-new-w::before { background: #8E9BAB; }

/* Страница на фирмата: основна колона и „Накратко“ */
.ch-firm-grid { display: grid; grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; gap: 56px; align-items: start; }
.ch-firm-rail { position: sticky; top: 24px; display: grid; gap: 16px; font-family: 'Fira Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.45; }
.ch-rail-box { padding: 18px 20px; border: 1px solid #D6DADF; border-radius: 3px; background: #FFFFFF; }
.ch-content .ch-rail-box p { margin: 0; }
.ch-rail-k { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #59626D; }
.ch-content .ch-rail-status { margin-top: 8px; padding-left: 10px; border-left: 4px solid #3D5A80; font-weight: 600; color: #1C1F23; }
.ch-rs-passport { border-left-color: #6E8FB5 !important; }
.ch-rs-warning { border-left-color: #B3261E !important; color: #B3261E !important; }
.ch-rs-removed { border-left-color: #8E9BAB !important; }
.ch-rail-dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 14px 0 0; }
.ch-rail-dl dt { margin-top: 8px; font-size: 13px; color: #59626D; }
.ch-rail-dl dd { margin: 0; color: #1C1F23; overflow-wrap: anywhere; }
.ch-content .ch-rail-dl a { color: #1C1F23; }
.ch-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ch-content .ch-share-btn, .ch-share-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 1px solid #1C1F23; border-radius: 3px; background: #FFFFFF; color: #1C1F23; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ch-content .ch-share-btn:hover, .ch-share-btn:hover { background: #1C1F23; color: #FFFFFF; }
.ch-share-btn[hidden] { display: none !important; }
.ch-content .ch-share-btn svg, .ch-share-btn svg { flex: none; }
.ch-content .ch-share-icon, .ch-share-icon { width: 44px; min-height: 44px; padding: 0; border-color: #C9CED4; }
.ch-content .ch-share-icon:hover, .ch-share-icon:hover { background: #F3F4F6; border-color: #1C1F23; }
.ch-content .ch-share-native, .ch-share-native { gap: 8px; flex: 1 1 100%; min-height: 44px; background: #1C1F23; color: #FFFFFF; }
.ch-content .ch-share-native:hover, .ch-share-native:hover { background: #000000; }
.ch-content .ch-rail-hint { margin-top: 10px; font-size: 13px; color: #59626D; }
.ch-content .ch-rail-text { margin-top: 8px; color: #2E3338; }
.ch-content .ch-report { margin-top: 12px; width: 100%; box-sizing: border-box; }

@media (max-width: 1080px) {
  .ch-firm-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ch-firm-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .ch-new-head { display: none; }
  .ch-new-row { grid-template-columns: 1fr; row-gap: 2px; }
  .ch-new-d { font-size: 14px; }
}

@media (max-width: 960px) {
  .ch-hero, .ch-split { grid-template-columns: minmax(0, 1fr); }
  .ch-title, .ch-check-title, .ch-check.has-image .ch-check-title { font-size: 48px; }
  .ch-check.has-image { display: block; }
  .ch-hero-figure { display: none; }
  .ch-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ch-stats-more { grid-column: 1 / -1; flex-direction: row !important; flex-wrap: wrap; justify-content: space-between; }
  .ch-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-rules, .ch-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-article-head .ch-title { font-size: 50px; }
  .ch-rail { max-width: none; flex-basis: 100%; }
  .ch-figures__list { flex-direction: row; flex-wrap: wrap; gap: 20px 32px; }
}
@media (max-width: 700px) {
  .ch-wrap { padding-left: 18px; padding-right: 18px; }
  .ch-header__bar { min-height: 60px; flex-wrap: nowrap; }
  .has-search .ch-header__bar { flex-wrap: wrap; row-gap: 8px; padding-top: 8px; }
  .ch-brand__name { font-size: 26px; }
  .ch-brand__tag { display: none; }
  .ch-nav { display: none; }
  .ch-mtools { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
  .ch-menu { display: block; position: relative; }
  .ch-menu__panel .ch-nav-lang-li { display: none; }
  .ch-menu[open] .ch-menu__panel { position: absolute; right: 0; top: 52px; z-index: 50; background: #FFFFFF; border: 1px solid #D6DADF; border-radius: 4px; padding: 8px 0; min-width: 220px; box-shadow: 0 8px 24px rgba(28,31,35,.12); }
  .ch-menu__panel ul { list-style: none; margin: 0; padding: 0; }
  .ch-menu__panel a { display: block; padding: 12px 18px; color: #1C1F23; text-decoration: none; font-weight: 500; }
  .ch-title, .ch-article-head .ch-title { font-size: 38px; line-height: 1.04; }
  .ch-page .ch-title, .ch-archive .wp-block-query-title { font-size: 38px; }
  .ch-lede, .ch-article-head .ch-lede { font-size: 18px; }
  .ch-hero, .ch-article-head, .ch-page, .ch-archive { padding-top: 28px; }
  .ch-content { font-size: 17px; }
  .ch-content h2 { font-size: 26px; }
  .ch-post, .ch-archive .wp-block-post { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ch-archive .wp-block-post-date { grid-row: auto; }
  .ch-archive .wp-block-post-excerpt { grid-column: 1; }
  .ch-section, .ch-split, .ch-cta { margin-top: 56px; }
  .ch-figures__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ch-figures__value { font-size: 28px; }
  .ch-figures__label { font-size: 12px; display: block; line-height: 1.35; }
  .ch-panel { padding: 20px; }
  .ch-check { padding-top: 32px; }
  .ch-check-title, .ch-check.has-image .ch-check-title { font-size: 38px; line-height: 1.04; }
  .ch-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 14px; margin-top: 40px; }
  .ch-stat-v { font-size: 30px; }
  .ch-stats > div:not(.ch-stats-more) .ch-stat-l { font-size: 12px; }
  .ch-stats-more { flex-direction: column !important; align-items: flex-start; }
  .ch-block { margin-top: 56px; }
  .ch-legend, .ch-rules, .ch-guides { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ch-check.has-result .ch-check-title { font-size: 30px; }
  .ch-check-lede { font-size: 18px; margin-bottom: 24px; }
  .ch-search { flex-direction: column; }
  .ch-search-sm { flex-direction: row; }
  .ch-search-sm button { min-height: 0; }
  .ch-search-sm input { min-height: 44px; font-size: 16px; }
  .ch-next { padding: 16px; }
  .ch-next-tabs { width: 100%; }
  .ch-next-tabs label { flex: 1 1 50%; text-align: center; padding: 10px 8px; }
  .ch-search input { min-height: 54px; font-size: 17px; }
  .ch-search button { min-height: 50px; border-radius: 0; }
  .ch-hit { padding: 16px; }
  .ch-hit-name { font-size: 22px; }
  .ch-hit-data { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ch-hit-data dt { margin-top: 8px; font-size: 13px; }
  .ch-also ul { grid-template-columns: minmax(0, 1fr); }
  .ch-src-table th:nth-child(2), .ch-src-table td:nth-child(2) { display: none; }
}

/* Печат (бутонът „Изтеглете като PDF“) */
@media print {
  .ch-header, .ch-footer, .ch-cta, .ch-tools, .ch-side, .ch-skip { display: none !important; }
  .ch-wrap { max-width: none; padding: 0; }
  .ch-article-body { display: block; border: 0; }
  .ch-rail { max-width: none; margin-bottom: 16px; }
  .ch-content { max-width: none; font-size: 11pt; }
  .ch-figure { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* Решение на регулатора, което още не е в регистъра (напр. отнет лиценз). */
.ch-measure { margin: 12px 0 16px; padding: 12px 16px; border-left: 3px solid #B3261E; background: #FDF6F5; }
.ch-content .ch-measure p, .ch-measure p { margin: 0; font-size: 15px; line-height: 1.55; color: #2E3338; }
.ch-content .ch-measure p + p, .ch-measure p + p { margin-top: 6px; }
.ch-content .ch-measure .ch-measure-k, .ch-measure .ch-measure-k { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #B3261E; }
.ch-content .ch-measure .ch-measure-note, .ch-measure .ch-measure-note { font-size: 13px; color: #59626D; }
.ch-content .ch-measure a, .ch-measure a { color: #1C1F23; }

/* Друг запис в същия списък с почти същото име. */
.ch-content .ch-twin-note, .ch-twin-note { margin: 8px 0 12px; padding: 8px 12px; border-left: 3px solid #C9CFD6; background: #F6F7F9; font-size: 14px; line-height: 1.5; color: #3F464D; }
.ch-content .ch-twin-note a, .ch-twin-note a { color: #1C1F23; }

/* Пояснение в картата за предупреждение (напр. имитатор на истинска фирма). */
.ch-content .ch-hit-note, .ch-hit-note { margin: 6px 0 10px; font-size: 14px; line-height: 1.5; color: #2E3338; }

.ch-content .ch-src-note, .ch-src-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #59626D; }

/* Английска версия: оригиналното име на кирилица и бележката под търсенето. */
.ch-content .ch-firm-orig, .ch-firm-orig { margin: -4px 0 16px; font-size: 14px; color: #59626D; }
.ch-content .ch-en-note, .ch-en-note { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #E3E6EA; font-size: 14px; color: #59626D; max-width: 760px; }
/* /en/: същият вид като началната страница, макар да е в шаблона за страница. */
.ch-en-home .ch-page .ch-title { display: none; }
.ch-en-home .ch-content { font-family: 'Fira Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
.ch-en-home .ch-content .ch-check { padding-top: 24px; }
.ch-en-home .ch-content .ch-legend-item p { font-size: 15px; line-height: 1.5; }
.ch-en-home .ch-content .ch-legend-item h3 { margin-top: 0; }

/* Текстови страници с колона „На тази страница“ вдясно. */
.ch-has-toc .ch-page, .ch-has-toc .ch-page .ch-content, .ch-has-toc .ch-content > .ch-page-grid { max-width: none; }
.ch-has-toc .ch-page .ch-title { max-width: 860px; }
.ch-page-grid { display: grid; grid-template-columns: minmax(0, 740px) minmax(220px, 280px); gap: 72px; align-items: start; }
.ch-page-main > *:first-child { margin-top: 0; }
.ch-toc { position: sticky; top: 24px; padding-left: 20px; border-left: 1px solid #D6DADF; font-family: 'Fira Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.4; }
.ch-content .ch-toc .ch-toc-k, .ch-toc-k { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #59626D; }
.ch-content .ch-toc ol, .ch-toc ol { list-style: none; margin: 0; padding: 0; }
.ch-content .ch-toc li, .ch-toc li { margin: 0 0 10px; }
.ch-content .ch-toc a, .ch-toc a { color: #2E3338; text-decoration: none; }
.ch-content .ch-toc a:hover, .ch-toc a:hover { color: #B3261E; text-decoration: underline; }
.ch-content h2[id] { scroll-margin-top: 24px; }
@media (max-width: 960px) {
  .ch-page-grid { display: block; }
  .ch-toc { display: none; }
}

/* Ръководства: карти в мрежа на цялата ширина. */
.ch-archive .wp-block-post-template { max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; border-top: 1px solid #1C1F23; }
.ch-archive .wp-block-post { display: flex; flex-direction: column; gap: 8px; padding: 24px 0 28px; }
.ch-archive .wp-block-post-date { grid-row: auto; padding-top: 0; }
.ch-archive .wp-block-post-excerpt { grid-column: auto; }
.ch-archive .wp-block-term-description { max-width: 860px; }

/* Бележка на Credihub: източникът ѝ; промени в дружеството (вливане, преименуване) – неутрално. */
.ch-content .ch-measure .ch-measure-who, .ch-measure .ch-measure-who { font-size: 13px; color: #59626D; }
.ch-measure.is-neutral { border-left-color: #8A6D3B; background: #FAF7F0; }
.ch-content .ch-measure.is-neutral .ch-measure-k, .ch-measure.is-neutral .ch-measure-k { color: #6B5427; }
.ch-hit.ch-hit-changed { border-left-color: #A88B4F; }

/* Обобщение над резултатите и сигнали най-отгоре. */
.ch-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.ch-summary a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid #D6DADF; border-radius: 20px; background: #FFFFFF; color: #1C1F23; font-size: 15px; text-decoration: none; }
.ch-summary a:hover { border-color: #1C1F23; }
.ch-summary a strong { font-weight: 600; }
.ch-summary .ch-sum-warning, .ch-summary .ch-sum-similar { border-color: #E3B3AE; }
.ch-summary .ch-sum-warning strong, .ch-summary .ch-sum-similar strong { color: #B3261E; }
.ch-summary .ch-sum-sanction strong { color: #1C1F23; }
.ch-alert { margin: 0 0 12px; padding: 12px 16px; border-left: 4px solid #B3261E; background: #FDF6F5; font-size: 16px; line-height: 1.5; color: #2E3338; }
.ch-alert a { color: #1C1F23; font-weight: 600; }
.ch-alert-revoked strong { color: #B3261E; }
.ch-content .ch-alert { margin: 16px 0; }
.ch-dym { font-size: 17px; }
.ch-dym a { font-weight: 600; color: #1C1F23; }
.ch-result-group[id] { scroll-margin-top: 16px; }

/* Отнет лиценз: червена черта, както при предупрежденията. */
.ch-hit.ch-hit-revoked { border-left-color: #B3261E; }
.ch-hit-revoked .ch-hit-status { color: #B3261E; }

/* „Вписано и в“: другите регистри на същата фирма. */
.ch-hit-lic { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #E3E6EA; }
.ch-content .ch-hit-lic-k, .ch-hit-lic-k { margin: 0 0 6px; font-size: 13px; color: #59626D; }
.ch-content .ch-hit-lic ul, .ch-hit-lic ul { list-style: none; margin: 0; padding: 0; }
.ch-content .ch-hit-lic li, .ch-hit-lic li { margin: 0 0 4px; padding: 0; font-size: 15px; line-height: 1.45; }
.ch-hit-lic li strong { font-weight: 600; color: #1C1F23; margin-right: 6px; }
.ch-hit-lic li a { color: #3D4650; }
.ch-measure-next { font-weight: 600; }

/* Телефон: по-големи цели за докосване и по-четим дребен текст. */
@media (max-width: 640px) {
  .ch-hit-src { font-size: 14px; line-height: 1.6; }
  .ch-hit-src a { display: inline-block; padding: 6px 0; }
  .ch-hit-src .ch-hit-more { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; border: 1px solid #1C1F23; border-radius: 3px; width: 100%; box-sizing: border-box; }
  .ch-tr { font-size: 14px; }
  .ch-tr-src { font-size: 13px; color: #59626D; }
  .ch-summary a { font-size: 14px; }
}

/* „Ново“: имената изглеждат като връзки; бележка, когато от КФН няма нови записи. */
.ch-new-n a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ch-new-none { font-size: 15px; color: #59626D; }
.ch-new-filters[hidden] { display: none; }

/* Страници по регистри. */
.ch-reglist-src { font-size: 15px; color: #59626D; max-width: 860px; }
.ch-reglist-filter input { width: 100%; max-width: 480px; min-height: 48px; padding: 0 14px; border: 1px solid #8E9BAB; border-radius: 3px; font: inherit; font-size: 17px; box-sizing: border-box; }
.ch-letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 8px; }
.ch-letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border: 1px solid #D6DADF; border-radius: 3px; color: #1C1F23; text-decoration: none; font-weight: 600; font-size: 15px; }
.ch-letters a:hover { border-color: #1C1F23; }
.ch-reglist-group[hidden] { display: none; }
.ch-content .ch-reglist-group h2, .ch-reglist-group h2 { margin: 28px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #D6DADF; font-size: 26px; scroll-margin-top: 16px; }
.ch-content .ch-reglist, .ch-reglist { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 40px; }
.ch-content .ch-reglist li, .ch-reglist li { break-inside: avoid; margin: 0; padding: 5px 0; font-family: 'Fira Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.4; }
.ch-reglist li span { color: #59626D; font-size: 13px; }
.ch-reglist li[hidden] { display: none; }
.ch-reg-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px 40px; margin-top: 8px; }
.ch-content .ch-reg-col h3, .ch-reg-col h3 { margin: 0 0 10px; font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 600; font-size: 21px; color: #1C1F23; }
.ch-content .ch-reg-col ul, .ch-reg-col ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #1C1F23; }
.ch-content .ch-reg-col li, .ch-reg-col li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid #D6DADF; font-family: 'Fira Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.4; }
.ch-reg-col li a { color: #1C1F23; }
.ch-reg-col li span { color: #59626D; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-src-ext { font-size: 13px; color: #59626D !important; }
.ch-en-page h2 { margin-top: 32px; }
.ch-letters a, .ch-reglist-src, .ch-reglist-filter input { font-family: 'Fira Sans', system-ui, sans-serif; }
.ch-reglist-page .ch-result-caveat { margin-top: 32px; }

/* Регистрите на началната страница: три плочки вместо пълния списък */
.ch-reg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.ch-reg-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border: 1px solid #D6DADF; border-top: 3px solid #3D5A80; border-radius: 3px; color: #1C1F23; text-decoration: none; background: #FFFFFF; }
.ch-reg-tile:hover { border-color: #1C1F23; color: #1C1F23; }
.ch-reg-tile strong { font-family: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; }
.ch-reg-tile-n { font-size: 14px; color: #59626D; }
.ch-reg-tile-d { font-size: 15px; line-height: 1.45; color: #2E3338; }
.ch-reg-col { scroll-margin-top: 20px; }
@media (max-width: 700px) {
  .ch-reg-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ch-reg-tile { padding: 14px 16px; gap: 3px; }
  .ch-reg-tile strong { font-size: 22px; }
  .ch-reg-tile-d { display: none; }
}
