body {
    font-family: "politicaregular", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.field--type-entity-reference .field__label,
.field--type-entity-reference .links ul {
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.071em;
}

h1,
.page-header {
    color: #01458c !important;
    font-size: 1.6em !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #f7941e !important;
    padding-bottom: 10px !important;
    margin-bottom: 25px !important;
}

h2 a,
a.link {
    text-decoration: none;
    border-bottom: 1px dotted;
}

a,
.field__item {
    margin-bottom: 10px;
    transition: color 0.2s ease-in-out;
}

@media only screen and (min-width: 1024px) {
    .node--view-mode-teaser {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        overflow: hidden;
        margin: 0 0 20px 0;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        background: #ffffff;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}

.node--view-mode-teaser.node--sticky {
    padding: 15px 20px;
    border: 1px solid #cce3f5;
    background: #f4f9fd;
    border-left: 4px solid #005BA1;
}

.node--view-mode-teaser h2 a {
    color: #005BA1;
    text-transform: none;
    font-weight: 600;
}

.node--view-mode-numbered {
    margin: 10px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #FFFFFF;
    background-clip: border-box;
}

.node--type-dokladni-zapiski-vkhodyaschi-pis .node--view-mode-fulloverflow {
    margin: 0 0 20px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-width: 1px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.node .field--name-body p,
.node .field--name-body div,
.node .field--name-body span {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.node__links {
    clear: both !important;
    float: none !important;
    display: block;
    margin-top: 10px;
}

.node__links .links.inline {
    float: none !important;
    display: block;
}

.field--name-field-galeriya {
    float: none !important;
}

.region-primary-menu a,
.region-primary-menu a:hover,
.region-primary-menu a:focus,
.region-primary-menu a:active,
.region-primary-menu a:visited,
ul.sf-menu a,
ul.sf-menu a:hover,
ul.sf-menu a:focus,
ul.sf-menu a:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

.region-secondary-menu .menu-item {
    display: inline;
    background: #07396a;
    padding: 10px;
    border-radius: 4px;
}

.region-header,
.region-header a,
.region-header li a.is-active,
.region-header .site-branding__text,
.region-header .site-branding,
.region-header .site-branding__text a,
.region-header .site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
    color: #01458c;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 26px;
    text-transform: uppercase;
}

.region-header .block li {
    color: #01458c;
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
}

.site-branding__text {
    display: inline-block;
    vertical-align: top;
    text-shadow: 2px 2px white;
    background-color: #d7ecf6a6;
    padding: 10px 20px;
    border-radius: 8px;
}

.button-container-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 !important;
    margin-top: 10px !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px !important;
    height: auto !important;
    min-height: 48px;
    padding: 8px 15px !important;
    font-size: 13px;
    font-weight: bold;
    color: #01458c !important;
    background-color: #ffffff !important;
    text-decoration: none;
    border: 1px solid #e0e0e0 !important;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transition: all 0.3s ease !important;
}

.btn img {
    vertical-align: middle;
    display: inline-block;
    width: 32px;
    height: 25px;
    transition: transform .18s ease;
}

.btn:hover {
    background-color: #fff9f0;
    border-color: #f7941e !important;
    box-shadow: 0 8px 16px rgba(247, 148, 30, 0.15) !important;
    transform: translateY(-3px) !important;
}

.btn:hover img {
    transform: translateY(-1px) scale(1.05);
}

.btn:focus-visible {
    outline: 3px solid rgba(0, 91, 161, .35);
    outline-offset: 2px;
}

.button-container-top .btn .btn-text {
    display: block;
    text-align: center;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    max-width: none !important;
}

#block-bartik-formazatrsene {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

#block-bartik-formazatrsene h2 {
    background: #ffffff !important;
    color: #01458c !important;
        border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 15px;
    margin: 0 0 15px 0;
    border-radius: 6px 6px 0 0;
}

#search-block-form {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    gap: 5px !important;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-bottom: 20px;
}

#search-block-form .form-search {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 12px;
    border: 2px solid #cce3f5 !important;
    border-radius: 4px;
    font-size: 14px;
    background: #f4f9fd !important;
    height: 46px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    color: #333 !important;
    font-weight: 500 !important;
}

#search-block-form .form-search:focus {
    background-color: #ffffff !important;
    border-color: #f7941e !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(247, 148, 30, 0.2) !important;
}

#search-block-form .form-search::placeholder {
    color: #777 !important;
    opacity: 1 !important;
}

#search-block-form .search-form__submit {
    flex: 0 0 50px !important;
    width: 50px !important;
    height: 46px !important;
    padding: 0;
    font-size: 0;
    background-color: #f7941e !important;
    border: 1px solid #f7941e !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 20px !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

#search-block-form .search-form__submit:hover {
    background-color: #e78300 !important;
}

#search-block-form .form-item-keys {
    margin: 0;
    width: 100%;
}

#edit-lang-fieldset,
#edit-language--wrapper {
    display: none !important;
}

.form-item,
.form-actions {
    margin-top: 20px;
    margin-bottom: 20px;
}

.form--inline .form-item {
    float: none;
    margin-right: 0.5em;
}

fieldset {
    min-width: 0;
    margin: 1em 0;
    background-color: #fcfaf8;
    border: 1px solid #ece6dc;
    border-radius: 6px;
    padding: 15px;
}

.fieldset-legend {
    font-weight: bold;
}

summary {
    position: relative;
    margin: 0 0 10px 0;
    padding: 12px 20px;
    border: 1px solid #f7941e;
    border-radius: 6px;
    color: #005ba1;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

summary:hover,
summary:focus,
summary:active {
    outline: none;
    background-color: #fff9f0;
}

details[open] summary {
    background-color: #005ba1;
    color: #ffffff;
    border-color: #005ba1;
}

details {
    margin-top: 1em;
    margin-bottom: 1em;
    border: none;
}

details > .details-wrapper {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
}

.horizontal-tabs {
    margin: 0 0 1em 0;
    padding: 0;
    border: 1px solid #ccc;
    position: relative;
    background: #fcfaf8;
}

.site-footer .block {
    margin: 20px 0;
    padding: 10px;
    border: none;
}

.site-footer__top h2 {
    border-color: #000;
    border-bottom: 1px solid #444;
    font-size: 1.1em;
}

.site-footer .content {
    color: #fff;
    font-size: 1em;
}

.term-grid {
    margin: 10px 0;
    padding: 15px 20px;
    min-height: 50px;
    text-transform: none;
    text-align: left;
    background: #f4f9fd;
    border: 1px solid #cfe3f5;
    border-left: 4px solid #005BA1;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    font-size: 1.1em;
    transition: all 0.2s ease-in-out;
}

.term-grid:hover {
    background: #e8f2fc;
    border-left-color: #01458c;
}

.node--view-mode-teaser:hover,
.term-grid:hover,
.card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.term-grid a {
    color: #01458c;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.zaglavie {
    font-size: 1.3em;
    font-family: "politicaregular", Arial, sans-serif;
    line-height: 1.5;
    text-transform: uppercase;
    color: #333;
    font-weight: 600;
}

.search-result__snippet strong {
    color: #FF0000;
}

h3,
.heading-c {
    margin: 1em 0 0.5em;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #222;
}

.vazhni-sobscheniya {
    text-transform: uppercase;
    text-align: center;
}

.field--name-field-ime-prezime-i-familiya a {
    color: #555;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 1.429em;
    line-height: 1.4;
}

.main-content .section {
    margin: 0 35px 15px 15px;
}

.layout-main {
    padding-top: 10px;
    background-color: white;
}

.layout-news {
    padding: 0 10px;
    background-color: white;
}

.zagl-glasuvane h1 a {
    margin-bottom: 2px;
    font-size: 2em;
    line-height: 1.4;
    font-weight: bold;
    color: #b33a3a;
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 0;
}

.video-embed-field-responsive-video {
    position: relative;
    margin: 20px;
}

.image-style-obs-savetnik {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 5px;
    display: block;
    border: 1px solid #ece6dc;
    background: #ffffff;
}

#block-bartik-views-block-rss-frontpage-vazni-saobstenia .content {
    padding: 15px;
    background-color: #fff9f0;
    border-left: 4px solid #f7941e;
    border-radius: 6px;
}

#block-bartik-views-block-content-recent-block-1 .content,
#block-bartik-views-block-content-recent-last-publicatsii .content {
    padding-left: 15px;
    padding-right: 15px;
}

.block-views-blockrss-frontpage--vazni-saobstenia a {
    display: block !important;
    position: relative !important;
    padding: 12px 0 12px 18px !important;
    color: #01458c;
    line-height: 1.6;
    border-bottom: 1px dotted #f0e6d2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.block-views-blockrss-frontpage--vazni-saobstenia a::before {
    content: "•" !important;
    color: #e74c3c !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    font-size: 14px !important;
}

.block-views-blockrss-frontpage--vazni-saobstenia a:hover {
    color: #d35400;
}

.block-views-blockrss-frontpage--vazni-saobstenia .views-field-created,
.block-views-blockrss-frontpage--vazni-saobstenia .field--name-created {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 5px;
    margin-bottom: 15px;
    display: block;
}

.content .header_contacts a {
    display: inline;
    color: #ffffff;
    padding: 10px 15px;
    background: #01458d;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    border: none;
    transition: background 0.2s;
}

.content .header_contacts a:hover {
    background: #01366b;
}

#block-block-happy-birthday {
    background-image: url(/balon.jpg);
    background-repeat: no-repeat;
    opacity: 0.95;
    background-color: #f5f5f5;
    background-position: center;
    background-size: cover;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

#block-block-happy-birthday .overlay {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2em;
    border-radius: 10px;
    display: inline-block;
    max-width: 90%;
    margin: 20px auto;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#block-block-happy-birthday h2,
#block-block-happy-birthday p {
    margin-bottom: 1em;
}

.card-rd {
    margin: 10px;
    padding: 10px;
}

.card-rd h1 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    font-family: 'Pacifico', cursive;
    background: radial-gradient(circle at center, #da61ae 0%, #6bc3c3 30%, #fea255 50%, #6b56a9 90%);
    color: transparent;
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-rd p {
    font-size: 1.2em;
}

.card-rd2 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15)), url('https://burgascouncil.org/balon.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    max-width: 650px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background-color: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-rd2:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-rd2 h1 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    font-family: 'Pacifico', cursive;
    background: radial-gradient(circle at 0% 50%, #ff6b9d 0%, #ffb347 25%, #6bc3c3 50%, #a855f7 75%, #ff6b9d 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin: 0 0 10px 0;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.card-rd2 .name {
    font-size: 1.2em;
    font-weight: bolder;
    margin: 0 0 10px 0;
    color: #2C2C2C;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 25px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    display: inline-block;
}

.card-rd2 .wish {
    font-size: 1.2em;
    max-width: 480px;
    line-height: 1.6;
    color: #000000;
    margin: 0 0 10px 0;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.card-rd2 .profile-image-wrapper {
    width: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
}

.card-rd2 .profile-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

#block-bartik-views-block-rss-frontpage-news .content {
    padding: 10px;
}

.news-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #003366;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='60'%3E%3Cpath d='M5,45 C40,5 60,65 90,35 C120,5 140,60 170,40 C190,20 220,60 250,35 C270,15 295,45 300,30' stroke='%23FFD700' stroke-width='20' fill='none' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 8px;
    padding-bottom: 15px;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    margin-top: 10px;
}

.text-balance {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    padding: 15px;
}

#block-bartik-views-block-rss-frontpage-news .view-content,
#block-bartik-views-block-rss-frontpage-news .view-content * {
    box-sizing: border-box;
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-view-grid.horizontal.cols-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-row > .views-col {
    width: 100% !important;
    max-width: 100%;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

#block-bartik-views-block-rss-frontpage-news .view-content .news-title,
#block-bartik-views-block-rss-frontpage-news .view-content .text-balance,
#block-bartik-views-block-rss-frontpage-news .view-content .views-field-created {
    float: none !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both;
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-field-field-galeriya a {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-field-field-galeriya img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .4s ease;
    will-change: transform;
}

#block-bartik-views-block-rss-frontpage-news .view-content .news-title {
    position: relative;
    margin: 0;
    padding: 15px 20px 10px;
    font-size: 1.1em;
    line-height: 1.3;
    color: #111;
}

#block-bartik-views-block-rss-frontpage-news .view-content .news-title a {
    color: #1779b7;
    text-decoration: none;
    border-bottom: none;
    position: relative;
    z-index: 1;
}

#block-bartik-views-block-rss-frontpage-news .view-content .news-title a:hover {
    text-decoration: underline;
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-field-created {
    margin: 0 20px 15px;
    font-size: .85em;
    color: #777;
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-row:hover img {
    transform: scale(1.05);
}

#block-bartik-views-block-rss-frontpage-news .view-content .views-row:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.region-highlighted .block {
    max-width: 1000px !important;
    margin: 0 auto !important;
    text-align: center;
    padding: 10px 15px 20px 15px !important;
}

.region-highlighted p {
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-bottom: 15px !important;
}

.region .region-content {
    background: #ffffff;
}

.views-field-view-node a {
    display: inline-block;
    padding: 6px 15px !important;
    background-color: #eaf7ff !important;
    color: #005ba1 !important;
    border: 1px solid #b3d4e6 !important;
    border-radius: 20px !important;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.views-field-view-node a:hover {
    background-color: #005ba1 !important;
    color: #ffffff !important;
    border-color: #005ba1 !important;
}

.node__links a {
    display: inline-block;
    padding: 8px 16px !important;
    background-color: #f4f9fd !important;
    color: #005ba1 !important;
    border: 1px solid #cce3f5 !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    font-size: 11px !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.node__links a:hover {
    background-color: #005ba1 !important;
    color: #ffffff !important;
    border-color: #005ba1 !important;
}

.region-sidebar-first ul.menu li {
    border-bottom: 1px solid #f4f4f4 !important;
}

.region-sidebar-first ul.menu li a:hover {
    background-color: #f9fbfd !important;
    color: #005ba1 !important;
}

@media only screen and (min-width: 1024px) {
    #page-wrapper {
        background: #eaf7ff;
    }

    #page,
    #main-wrapper {
        background: #eaf7ff;
    }

    #header {
        background: url(/sites/default/files/inline-images/burgas.png) 0 0 #c3e7ff;
        background-position: center center;
        background-repeat: no-repeat;
    }

    body {
        background-color: #eaf7ff;
        background-image: none;
    }

    .region-primary-menu {
        background: #ffffff !important;
        border-bottom: 3px solid #005BA1 !important;
        padding: 0 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    }

    .region-primary-menu .menu,
    ul.sf-menu.sf-style-white {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    .region-primary-menu .menu-item,
    ul.sf-menu.sf-style-white li {
        display: inline-flex !important;
        width: auto !important;
        flex-shrink: 1 !important;
        float: none !important;
        margin: 0 !important;
    }

    .region-primary-menu .menu a,
    ul.sf-menu.sf-style-white a {
        display: block !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        color: #01458c !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        font-size: 13px !important;
        padding: 15px 20px !important;
        white-space: nowrap !important;
        border-bottom: 3px solid transparent !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        transition: all 0.2s ease;
    }

    .region-primary-menu .menu a:hover,
    .region-primary-menu .menu a.is-active {
        background: #f4f9fd !important;
        color: #005BA1 !important;
        border-bottom: 3px solid #f7941e !important;
        box-shadow: 0 4px 8px rgba(247, 148, 30, 0.15);
        transform: translateY(-2px);
    }

    .region-header {
        clear: both;
        margin: 0;
        text-align: center;
        height: 380px !important;
        background-size: cover !important;
    }
}

.font-table tr td,
.font-table tr th {
    padding: 15px 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #eaeaea;
    background: #ffffff;
}

.font-table a,
.link {
    color: #004d7a;
    text-decoration: none;
}

.font-table a:hover,
.link:hover {
    text-decoration: underline;
}

.font-zaglavie {
    text-align: center;
    padding: 15px;
    background: #ffffff;
    margin-bottom: 0;
}

tr {
    border-bottom: 1px solid #ffffff;
}

@media only screen and (max-width: 1023px) {
    .region-header {
        height: auto !important;
        min-height: 180px !important;
        padding: 20px 10px !important;
        text-align: center;
        background-size: cover !important;
        background-position: center !important;
    }

    .site-branding__text {
        display: block;
        margin: 0 auto;
        background-color: rgba(215, 236, 246, 0.85) !important;
        padding: 15px !important;
        border-radius: 10px;
    }

    .region-header .block li {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .region-primary-menu .menu,
    ul.sf-menu.sf-style-white {
        width: 100% !important;
    }

    .region-primary-menu .menu-item,
    ul.sf-menu.sf-style-white li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
        border: none !important;
        background: transparent !important;
        margin: 0 !important;
    }

    .region-primary-menu .menu a,
    ul.sf-menu.sf-style-white a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px 20px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-transform: uppercase !important;
        text-align: left !important;
        color: #005ba1 !important;
        text-decoration: none !important;
        background-color: #ffffff !important;
        border: 1px solid #f7941e !important;
        border-radius: 5px !important;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04) !important;
        transition: all 0.2s ease !important;
    }

    .region-primary-menu .menu a:hover,
    .region-primary-menu .menu a:active,
    ul.sf-menu.sf-style-white a:hover {
        background-color: #fff9f0 !important;
        border-color: #e78300 !important;
        color: #004483 !important;
        transform: translateY(-2px) !important;
    }

    .region-primary-menu .menu a.is-active,
    .region-primary-menu .menu-item--active-trail > a {
        background-color: #005ba1 !important;
        color: #ffffff !important;
        border-color: #005ba1 !important;
        box-shadow: 0 4px 10px rgba(0, 91, 161, 0.2) !important;
    }

    ul.sf-menu.sf-style-white ul {
        display: none;
        position: static;
        width: 100% !important;
        margin-top: 10px !important;
        padding-left: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    ul.sf-menu.sf-style-white li:hover > ul,
    ul.sf-menu.sf-style-white li.sfHover > ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    ul.sf-menu.sf-style-white li li a {
        background-color: #f8f9fa !important;
        border-color: #e0e0e0 !important;
        font-size: 14px !important;
        padding: 12px 15px !important;
        border-radius: 5px !important;
    }

    #search-block-form {
        flex-direction: column;
    }

    #search-block-form .form-search {
        width: auto !important;
        border-radius: 6px 0 0 6px !important;
        border-right: none !important;
    }

    #search-block-form .search-form__submit {
        width: 50px !important;
        border-radius: 0 6px 6px 0 !important;
    }

    body {
        background-image: none !important;
        background-color: #eaf7ff !important;
    }
    #header {
    outline: none !important;

    background-image: url('/sites/default/files/inline-images/burgas.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
}

/* =====================================
   ПОПРАВКА НА ТЪРСЕНЕТО - МОБИЛНА ВЕРСИЯ
   ===================================== */

@media (max-width: 1023px) {

    /* Поле и лупичка на един ред */
    #search-block-form {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;

        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 0 20px !important;
        box-sizing: border-box !important;
    }

    /* Контейнер на текстовото поле */
    #search-block-form .form-item-keys {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Самото поле */
    #search-block-form .form-search {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;

        padding: 8px 12px !important;
        margin: 0 !important;

        border: 2px solid #cce3f5 !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
    }

    /* Контейнер на бутона */
    #search-block-form .form-actions {
        flex: 0 0 46px !important;
        width: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Оранжева лупичка */
    #search-block-form .search-form__submit {
        display: block !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: none !important;
        border-radius: 8px !important;
        background-color: #f7941e !important;
        box-sizing: border-box !important;
    }

    /* Предпазване от излизане извън екрана */
    #block-bartik-formazatrsene {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Всички линкове без подчертаване */
html body a,
html body a:link,
html body a:visited,
html body a:hover,
html body a:focus,
html body a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Запазване на фокуса от клавиатура */
html body a:focus-visible {
    outline: 2px solid #f7941e !important;
    outline-offset: 3px;
}
/* HERO СНИМКА КАТО НА МАКЕТА */
.front-hero,
#header {
    position: relative !important;
    overflow: hidden !important;

    background-image: url('/sites/default/files/inline-images/burgas.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    min-height: 330px !important;
}

/* тъмен син overlay за по-добра четимост */
.front-hero::before,
#header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 55, 110, 0.55) 0%,
        rgba(0, 55, 110, 0.28) 35%,
        rgba(0, 55, 110, 0.08) 70%,
        rgba(0, 55, 110, 0.00) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ВЪЛНИЧКИТЕ ОТДОЛУ */
.front-hero::after,
#header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    z-index: 2;
    pointer-events: none;

    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23dfeffc' d='M0,64 C120,22 260,18 390,48 C520,78 660,108 790,86 C920,64 1050,8 1170,18 C1290,28 1370,62 1440,78 L1440,120 L0,120 Z'/%3E%3Cpath fill='%23cfe4f7' d='M0,82 C120,52 240,40 360,58 C500,80 650,118 820,100 C980,83 1090,32 1210,34 C1320,36 1390,58 1440,70 L1440,120 L0,120 Z' opacity='0.95'/%3E%3Cpath fill='%23bdd9f1' d='M0,96 C130,72 270,64 420,78 C560,90 710,116 870,108 C1030,100 1170,72 1300,72 C1365,72 1410,78 1440,84 L1440,120 L0,120 Z' opacity='0.98'/%3E%3C/svg%3E")
      center bottom / 100% 100% no-repeat;
}

/* съдържанието да стои над overlay */
.front-hero > *,
#header > * {
    position: relative;
    z-index: 3;
}

/* мобилно */
@media (max-width: 767px) {
    .front-hero,
    #header {
        min-height: 220px !important;
        background-position: center center !important;
    }

    .front-hero::after,
    #header::after {
        height: 70px;
    }
}

/* ==========================================
   НОВ HEADER - БРАНДИНГ НАД СНИМКАТА
   ========================================== */

/* Хедърът вече не носи снимката */
#header {
    position: relative !important;
    background: #eaf5ff !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Премахване на старите вълни от хедъра */
#header::before,
#header::after {
    content: none !important;
}

/* Лента с герб и заглавие */
#header .region-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;

    width: 100% !important;
    max-width: 1440px !important;
    min-height: 90px !important;
    height: auto !important;

    margin: 0 auto !important;
    padding: 12px 24px !important;
    box-sizing: border-box !important;

    background: transparent !important;
    text-align: left !important;
}

/* Герб и надписи */
#header .site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    min-width: 0 !important;
}

/* Размер на герба */
#header .site-branding__logo img {
    display: block !important;
    max-height: 75px !important;
    width: auto !important;
}

/* Премахване на старата рамка */
#header .site-branding__text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Заглавие */
#header .site-branding__name,
#header .site-branding__name a {
    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #073b70 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 !important;
}

/* Мандат */
#header .site-branding__slogan {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    color: #073b70 !important;
    text-transform: uppercase !important;
    margin-top: 5px !important;
}

/* Контакти в десния край */
#header .region-header
.block:has(.header_contacts) {
    position: static !important;
    display: block !important;
    width: auto !important;
    margin: 0 0 0 auto !important;
    flex-shrink: 0 !important;
}

#header .header_contacts a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: #ffffff !important;
    color: #073b70 !important;
    border: 1px solid #dce9f5 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
}

/* Мобилна версия */
@media (max-width: 767px) {

    #header .region-header {
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 15px !important;
        gap: 12px !important;
    }

    #header .site-branding {
        width: 100% !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    #header .site-branding__logo img {
        max-height: 55px !important;
    }

    #header .site-branding__name,
    #header .site-branding__name a {
        font-size: 19px !important;
    }

    #header .site-branding__slogan {
        font-size: 12px !important;
    }

    #header .region-header
    .block:has(.header_contacts) {
        margin: 0 auto !important;
    }
}

/* ==========================================
   НОВ HEADER - БРАНДИНГ НАД СНИМКАТА
   ========================================== */

/* Хедърът вече не носи снимката */
#header {
    position: relative !important;
    background: #eaf5ff !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Премахване на старите вълни от хедъра */
#header::before,
#header::after {
    content: none !important;
}

/* Лента с герб и заглавие */
#header .region-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;

    width: 100% !important;
    max-width: 1440px !important;
    min-height: 90px !important;
    height: auto !important;

    margin: 0 auto !important;
    padding: 12px 24px !important;
    box-sizing: border-box !important;

    background: transparent !important;
    text-align: left !important;
}

/* Герб и надписи */
#header .site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    min-width: 0 !important;
}

/* Размер на герба */
#header .site-branding__logo img {
    display: block !important;
    max-height: 75px !important;
    width: auto !important;
}

/* Премахване на старата рамка */
#header .site-branding__text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Заглавие */
#header .site-branding__name,
#header .site-branding__name a {
    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #073b70 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 !important;
}

/* Мандат */
#header .site-branding__slogan {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    color: #073b70 !important;
    text-transform: uppercase !important;
    margin-top: 5px !important;
}

/* Контакти в десния край */
#header .region-header
.block:has(.header_contacts) {
    position: static !important;
    display: block !important;
    width: auto !important;
    margin: 0 0 0 auto !important;
    flex-shrink: 0 !important;
}

#header .header_contacts a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: #ffffff !important;
    color: #073b70 !important;
    border: 1px solid #dce9f5 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
}

/* Мобилна версия */
@media (max-width: 767px) {

    #header .region-header {
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 15px !important;
        gap: 12px !important;
    }

    #header .site-branding {
        width: 100% !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    #header .site-branding__logo img {
        max-height: 55px !important;
    }

    #header .site-branding__name,
    #header .site-branding__name a {
        font-size: 19px !important;
    }

    #header .site-branding__slogan {
        font-size: 12px !important;
    }

    #header .region-header
    .block:has(.header_contacts) {
        margin: 0 auto !important;
    }
}

/* ВРЪЩАНЕ НА СНИМКАТА ПОД ГОРНАТА ЛЕНТА */

#header {
    background-color: #eaf5ff !important;
    background-image:
        url('/sites/default/files/inline-images/burgas.png') !important;
    background-repeat: no-repeat !important;
    background-position: bottombottom !important;
    background-size: 100% auto !important;
    min-height: 370px !important;
    position: relative !important;
}

/* Горна лента с герб и заглавие */
#header .region-header {
    background: rgba(234, 245, 255, 0.96) !important;
    min-height: 90px !important;
}

/* Мобилна версия */
@media (max-width: 767px) {
    #header {
        background-size: cover !important;
        background-position: center bottom !important;
        min-height: 260px !important;
    }
}

/* =====================================
   ГЛАВНО МЕНЮ - ТЪМНОСИНЬО
   ===================================== */

/* Фон на главното меню */
.region-primary-menu {
    background: #073b70 !important;
    border-bottom: 3px solid #005ba1 !important;
    box-shadow: 0 4px 12px rgba(0, 35, 75, 0.15);
}

/* Фон на контейнера */
.region-primary-menu .menu,
.region-primary-menu ul.sf-menu {
    background: #073b70 !important;
}

/* Всички основни линкове */
.region-primary-menu .menu-item > a,
.region-primary-menu ul.sf-menu > li > a {
    background: #073b70 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    box-shadow: none !important;
}

/* При посочване с мишката */
.region-primary-menu .menu-item > a:hover,
.region-primary-menu ul.sf-menu > li > a:hover {
    background: #0c528e !important;
    color: #ffffff !important;
    border-bottom-color: #ff8800 !important;
}

/* Активна страница */
.region-primary-menu .menu-item > a.is-active,
.region-primary-menu .menu-item--active-trail > a,
.region-primary-menu ul.sf-menu > li.sfHover > a {
    background: #0c528e !important;
    color: #ffffff !important;
    border-bottom-color: #ff8800 !important;
}

/* Падащи подменюта */
.region-primary-menu ul.sf-menu ul {
    background: #073b70 !important;
}

.region-primary-menu ul.sf-menu ul a {
    background: #073b70 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.region-primary-menu ul.sf-menu ul a:hover {
    background: #0c528e !important;
}

/* Видим фокус с клавиатура */
.region-primary-menu a:focus-visible {
    outline: 2px solid #ffb347 !important;
    outline-offset: -2px;
}

/* ПО-ДОБРА ВИДИМОСТ НА СНИМКАТА В HEADER */

@media (min-width: 1024px) {

    #header {
        background-image:
            url('/sites/default/files/inline-images/burgas.png') !important;
        background-size: 100% auto !important;
        background-position: top 35% !important;
        background-repeat: no-repeat !important;
        min-height: 420px !important;
    }

    /* Запазване на светлосинята горна лента */
    #header .region-header {
        background: rgba(234, 245, 255, 0.96) !important;
    }
}

/* МОБИЛНА ВЕРСИЯ */
@media (max-width: 1023px) {

    #header {
        background-size: cover !important;
        background-position: 58% top!important;
        min-height: 300px !important;
    }
}

/* Къщичка пред "Начало" в главното меню */

.region-primary-menu .menu > li:first-child > a,
.region-primary-menu ul.sf-menu > li:first-child > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 9px !important;
}

/* Бяла икона на къщичка */
.region-primary-menu .menu > li:first-child > a::before,
.region-primary-menu ul.sf-menu > li:first-child > a::before {
    content: "" !important;
    display: inline-block !important;
    width: 19px !important;
    height: 19px !important;
    flex-shrink: 0;

    background-color: #ffffff !important;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 2 12h3v9h6v-6h2v6h6v-9h3L12 3zm0 3.2 5 4.5V19h-2v-6H9v6H7v-8.3l5-4.5z'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 2 12h3v9h6v-6h2v6h6v-9h3L12 3zm0 3.2 5 4.5V19h-2v-6H9v6H7v-8.3l5-4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Мобилна версия */
@media (max-width: 767px) {
    .region-primary-menu .menu > li:first-child > a,
    .region-primary-menu ul.sf-menu > li:first-child > a {
        justify-content: flex-start !important;
    }
}


/* =========================================
   ВЪЗСТАНОВЯВАНЕ НА ВЪЛНИЧКИТЕ
   ========================================= */

#header {
    position: relative !important;
}

/* Плавни светлосини вълни */
#header::after {
    content: "" !important;

    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 85px !important;

    z-index: 1 !important;
    pointer-events: none !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 55 C250 20 420 115 690 80 C950 40 1150 12 1440 65 L1440 120 L0 120 Z' fill='%23c8e4f8' opacity='0.75'/%3E%3Cpath d='M0 80 C230 45 470 125 720 95 C1010 65 1190 50 1440 90 L1440 120 L0 120 Z' fill='%23eaf7ff'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: 100% 100% !important;
}

/* Менюто остава над вълните */
#header .region-primary-menu {
    position: relative !important;
    z-index: 3 !important;
}

/* По-ниски вълни на телефон */
@media (max-width: 767px) {
    #header::after {
        height: 45px !important;
    }
}

/* ========================================
   КОНТАКТИ - ГОРЕ ВДЯСНО
   ======================================== */

/* Контейнерите на хедъра */
#header .region-header,
#header .region-header-top,
#header .region-top-header {
    position: relative !important;
}

/* Блокът с контактите */
#header .block:has(.header-contact) {
    position: absolute !important;
    top: 50% !important;
    right: 30px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;

    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 50 !important;
}

/* Самият бутон */
#header .header-contact {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
}

#header .header-contact__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    padding: 12px 22px !important;

    color: #073b70 !important;
    background: #ffffff !important;

    border: 1px solid #dce9f5 !important;
    border-radius: 12px !important;

    box-shadow:
      0 4px 14px rgba(0, 45, 90, 0.10) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: Arial, sans-serif !important;

    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Телефонче */
#header .header-contact__button svg {
    width: 21px !important;
    height: 21px !important;
    flex-shrink: 0 !important;
}

/* При посочване */
#header .header-contact__button:hover {
    background: #f3f8ff !important;
    color: #073b70 !important;
}

/* Да не застъпва заглавието */
@media (min-width: 1024px) {
    #header .site-branding {
        padding-right: 170px !important;
        box-sizing: border-box !important;
    }
}

/* Мобилна версия */
@media (max-width: 767px) {
    #header .block:has(.header-contact) {
        position: static !important;
        transform: none !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    #header .site-branding {
        padding-right: 0 !important;
    }

    #header .header-contact__button {
        padding: 9px 16px !important;
        font-size: 13px !important;
    }
}

/* Декоративен мост в горната лента */
#header .region-header {
    background-image:
        url('/sites/default/files/site-illustration.png') !important;
    background-repeat: no-repeat !important;
    background-position: 65% bottom !important;
    background-size: 420px auto !important;
}

/* Гербът, заглавието и контактите остават отпред */
#header .site-branding,
#header .header-contact {
    position: relative;
    z-index: 2;
}

/* На по-малки екрани скриваме декорацията */
@media (max-width: 1023px) {
    #header .region-header {
        background-image: none !important;
    }
}


/* Заглавие на формата за търсене */
#block-bartik-formazatrsene h2 {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    position: relative !important;

    text-align: left !important;
    text-transform: none !important;
    font-family: 'Nunito Sans', Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #073b70 !important;

    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #dce9f5 !important;

    border-radius: 0 !important;
    padding: 8px 12px 24px !important;
    margin: 0 0 20px !important;
}

/* Синя лупичка пред заглавието */
#block-bartik-formazatrsene h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;

    background-color: #07518d !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8' fill='none' stroke='black' stroke-width='2.3'/%3E%3Cpath d='m16 16 5.5 5.5' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8' fill='none' stroke='black' stroke-width='2.3'/%3E%3Cpath d='m16 16 5.5 5.5' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Къса оранжева линия вляво */
#block-bartik-formazatrsene h2::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;

    width: 140px !important;
    height: 4px !important;
    background: #ff8800 !important;
    border-radius: 4px !important;
}

/* По-компактно заглавие на телефон */
@media (max-width: 767px) {
    #block-bartik-formazatrsene h2 {
        font-size: 18px !important;
        gap: 10px !important;
    }

    #block-bartik-formazatrsene h2::before {
        width: 26px !important;
        height: 26px !important;
    }

    #block-bartik-formazatrsene h2::after {
        width: 95px !important;
    }
}

/* ЛЯВО МЕНЮ - ЕДНАКВИ ЛИНКОВЕ С ДЯСНОТО */

.region-sidebar-first ul.menu li a,
.region-sidebar-first ul.menu li a:link,
.region-sidebar-first ul.menu li a:visited {
    display: block;
    font-family: 'Nunito Sans', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #005ba1 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    padding: 6px 10px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Посочване с мишката */
.region-sidebar-first ul.menu li a:hover,
.region-sidebar-first ul.menu li a:focus {
    color: #ff8800 !important;
    background: #f4f9fd !important;
}

/* Разделители между линковете */
.region-sidebar-first ul.menu li {
    border-bottom: 1px solid #e4edf7 !important;
}

/* АКТИВНА СТРАНИЦА - ЛЯВО И ДЯСНО МЕНЮ */

/* Текуща страница */
.region-sidebar-first ul.menu li > a.is-active,
.region-sidebar-first ul.menu li > a[aria-current="page"],
.region-sidebar-second ul.menu li > a.is-active,
.region-sidebar-second ul.menu li > a[aria-current="page"],
.region-sidebar-first ul.menu li.menu-item--active-trail > a,
.region-sidebar-second ul.menu li.menu-item--active-trail > a {
    color: #073b70 !important;
    background: #e4f1fc !important;
    font-weight: 800 !important;

    border-left: 4px solid #ff8800 !important;
    border-radius: 0 7px 7px 0 !important;

    padding: 9px 12px !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Активният линк остава оцветен при посочване */
.region-sidebar-first ul.menu li > a.is-active:hover,
.region-sidebar-second ul.menu li > a.is-active:hover,
.region-sidebar-first ul.menu li.menu-item--active-trail > a:hover,
.region-sidebar-second ul.menu li.menu-item--active-trail > a:hover {
    color: #073b70 !important;
    background: #d5eafa !important;
}
