/* =========================================================
   ОСНОВНИ СТИЛОВЕ
   ========================================================= */

body {
    font-family: "politicaregular", Arial, sans-serif;
}

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

h1 {
    font-size: 1.5em;
}

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

a,
.field__item {
    margin-bottom: 10px;
}

/* =========================================================
   TEASER / ВЪЗЛИ
   ========================================================= */

@media only screen and (min-width: 1024px) {
    .node--view-mode-teaser {
        border: 1px solid #D6D6D6;
        border-radius: .25rem;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        overflow: hidden;
        margin: 0 0 20px 0;
        padding: 5px;
        box-shadow: 1px 1px 5px #CECECE;
        background: linear-gradient(to bottom, #f3fffe 0%, #ffffff 19%);
    }
}

.node--view-mode-teaser.node--sticky {
    padding: 0 15px 15px;
    border: 1px solid #d3d7d9;
    background: #fffce0;
}

.node--view-mode-teaser h2 a {
    color: #005BA1;
    text-transform: uppercase;
}

.node--view-mode-numbered {
    margin: 10px;
    padding: 10px;
    border: 1px dotted #dadada;
    border-radius: .25rem;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    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: 5px;
    border-style: solid;
    border-color: #D6D6D6;
    border-width: 0 1px;
    box-shadow: 1px 1px 5px #CECECE;
    background: linear-gradient(to bottom, #d9f3f7 0%, #ffffff 19%);
}

.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.5;
    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;
}

/* =========================================================
   МЕНЮТА / HEADER
   ========================================================= */

@media only screen and (min-width: 300px) {
    .region-primary-menu {
        clear: both;
        margin-top: 0;
        text-align: center;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),
                    0 3px 1px -2px rgba(0,0,0,.2),
                    0 1px 5px 0 rgba(0,0,0,.12);
        border-bottom: 1px solid #b4862e;
        background: linear-gradient(to right, #fffce0, #87CEEB, #eaf7c6);
    }
}

.region-primary-menu .menu a {
    border-radius: 0;
    background: none;
    text-shadow: none;
}

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

@media only screen and (min-width: 900px) {
    ul.sf-menu.sf-style-white li li,
    ul.sf-menu.sf-style-white.sf-navbar > li > ul {
        background: #dac376;
    }

    ul.sf-menu.sf-style-white li:hover,
    ul.sf-menu.sf-style-white li.sfHover,
    ul.sf-menu.sf-style-white a.is-active,
    ul.sf-menu.sf-style-white a:focus,
    ul.sf-menu.sf-style-white a:hover,
    ul.sf-menu.sf-style-white span.nolink:hover {
        background: #dac376;
        outline: 0;
    }
}

@media only screen and (max-width: 1280px) {
    ul.sf-menu.sf-style-white a,
    ul.sf-menu.sf-style-white a:visited,
    ul.sf-menu.sf-style-white span.nolink {
        border: 0 none;
        color: #045364;
        padding: 0.75em 1em;
        background: #ecdd9a;
    }
}

@media only screen and (min-width: 1280px) {
    ul.sf-menu.sf-style-white li:hover,
    ul.sf-menu.sf-style-white li.sfHover,
    ul.sf-menu.sf-style-white a.is-active,
    ul.sf-menu.sf-style-white a:focus,
    ul.sf-menu.sf-style-white a:hover,
    ul.sf-menu.sf-style-white span.nolink:hover {
        background: #dac376;
        outline: 0;
    }
}

ul.sf-menu.sf-style-white {
    margin-bottom: 1em;
}

/* Header */
@media only screen and (min-width: 1024px) {
    .region-header {
        clear: both;
        margin: 0;
        text-align: center;
        height: 500px;
    }
}

.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;
}

/* =========================================================
   БУТОНИ
   ========================================================= */

.button-container-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #005ba1;
    background-color: #f3f3f3;
    text-decoration: none;
    border: 1px solid #f7941e;
    border-radius: 5px;
    box-shadow: 1px 1px 5px #607D8B;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transition: transform .18s ease,
                box-shadow .18s ease,
                background-color .18s ease,
                border-color .18s ease,
                color .18s ease,
                opacity .18s ease;
}

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

.button-container-top:hover .btn {
    opacity: .78;
    transform: translateY(0) scale(.99);
}

.button-container-top:hover .btn:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.03);
}

.btn::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -60%;
    width: 50%;
    height: 140%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
}

.btn:hover::before {
    opacity: 1;
    animation: btnShine .75s ease forwards;
}

@keyframes btnShine {
    from { left: -60%; }
    to   { left: 120%; }
}

.btn:hover {
    background-color: #ffffff;
    border-color: #e78300;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.btn:active {
    transform: translateY(0) scale(.98);
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
}

.btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(247,148,30,.35);
    border-radius: 50%;
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.btn:active::after {
    opacity: 1;
    transform: translate(-50%,-50%) scale(18);
    transition: transform .35s ease, opacity .45s ease;
}

.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.15;
    white-space: normal;
    max-width: 110px;
}

@media (prefers-reduced-motion: reduce) {
    .btn, .btn::before, .btn::after, .btn img {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   ФОРМА ЗА ТЪРСЕНЕ
   ========================================================= */

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

#block-bartik-formazatrsene h2 {
    background: #f0ece1;
    border-bottom: 2px solid #d4a017;
    color: #000;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 10px;
    margin: 0 0 10px 0;
    border-radius: 4px 4px 0 0;
}

#search-block-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 10px 10px;
}

#search-block-form .form-search {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
    height: 38px;
    box-sizing: border-box;
}

#search-block-form .search-form__submit {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 0;
    background: #f5f5f5 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><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>') center/20px no-repeat;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

#search-block-form .search-form__submit:hover {
    background-color: #e0e0e0;
}

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

/* Скриване на филтъра за езици */
#edit-lang-fieldset,
#edit-language--wrapper {
    display: none !important;
}

/* =========================================================
   ФОРМИ / FIELDSET / DETAILS
   ========================================================= */

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

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

fieldset {
    min-width: 0;
    margin: 1em 0;
    background-color: #f0faf9;
}

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

summary {
    position: relative;
    margin: 0;
    padding: 14px 60px 14px 14px;
    border-top: 1px solid #d9d9d9;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #0071b3;
}

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

details[open] summary {
    background-color: #9c2128;
}

details {
    margin-top: 1em;
    margin-bottom: 1em;
    border: 1px solid #f0faf9;
}

details > .details-wrapper {
    padding: 0.5em 1.5em;
    border: 1px dotted;
    border-width: 1px;
}

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

/* =========================================================
   FOOTER
   ========================================================= */

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

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

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

/* =========================================================
   РАЗНИ
   ========================================================= */

.term-grid {
    margin: 10px;
    padding: 20px 10px 0 10px;
    min-height: 43px;
    text-transform: uppercase;
    text-align: center;
    background: #eff9fe;
    box-shadow: 1px 1px 5px #607D8B;
    font-size: 1.2em;
}

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

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

h3, .heading-c {
    margin: 1em 0 0.5em;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

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

.field--name-field-ime-prezime-i-familiya a {
    color: #555;
    font-weight: 900;
    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: red;
}

.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: 5%;
    box-shadow: 5px 5px 5px grey;
    padding: 5px;
    display: block;
    border: 1px solid #c19355;
    background: #e5ded4;
}

.block-views-blockrss-frontpage--vazni-saobstenia a {
    color: #9C2121;
    line-height: 1.4;
    padding: 16px 0;
}

.content .header_contacts a {
    display: inline;
    color: #ffffff;
    padding: 10px;
    background: #01458d;
    font-size: 14px;
    box-shadow: 0 3px 5px 5px rgba(0,0,0,0.12);
    border-style: outset;
    border-color: #fff700;
}

#block-bartik-views-block-rss-frontpage-vazni-saobstenia .content,
#block-bartik-views-block-content-recent-block-1 .content,
#block-bartik-views-block-content-recent-last-publicatsii .content {
    padding-left: 10px;
}

/* =========================================================
   РОЖДЕН ДЕН
   ========================================================= */

#block-block-happy-birthday {
    background-image: url(/balon.jpg);
    background-repeat: no-repeat;
    opacity: 0.9;
    background-color: #f5f5f5;
    background-position: center;
    background-size: cover;
    text-align: center;
}

#block-block-happy-birthday .overlay {
    background-color: rgba(255,255,255,0.85);
    padding: 1em;
    border-radius: 8px;
    display: inline-block;
    max-width: 90%;
    margin: auto;
    line-height: 1.6;
}

#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: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    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 5px 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.15);
    padding: 4px 20px;
    border-radius: 30px;
    backdrop-filter: blur(2px);
    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.7);
    font-style: italic;
}

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

.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: 1em;
    font-weight: bold;
    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% 10px;
    padding-bottom: 20px;
    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: 16px;
    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 rgba(0,0,0,.08);
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .12s ease, box-shadow .25s ease, background-color .25s 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 .45s ease, filter .45s ease;
    will-change: transform;
}

#block-bartik-views-block-rss-frontpage-news .view-content .news-title {
    position: relative;
    margin: 0;
    padding: 16px 16px 14px;
    font-size: 1em;
    line-height: 1.25;
    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 16px 16px;
    font-size: .875em;
    color: #666;
}

#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 16px 36px rgba(0,0,0,.12);
    background-color: #f6faff;
}

/* =========================================================
   ФОН И РЕГИОНИ
   ========================================================= */

.region-highlighted {
    font-family: "politicaregular", Arial, sans-serif;
    margin-top: -10px;
    background: url(/sites/default/files/inline-images/body-bg.jpg) 0 0 #ece6dc;
    padding: 20px 20px 0 20px;
}

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

@media only screen and (min-width: 1024px) {
    #page-wrapper {
        background: linear-gradient(to right, #00464a, #015382, #8cb3dc, #107077, #014658);
    }

    #page,
    .region-primary-menu .menu-item--active-trail a {
        background-color: #eaf7ff;
    }

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

    body {
        background-color: #eaf7ff;
        background-image: url("https://burgascouncil.org/sites/default/files/gallery/nikulden.png"),
                          url("https://burgascouncil.org/sites/default/files/gallery/nikulden.png");
        background-repeat: no-repeat, no-repeat;
        background-position: top left, top right;
        background-size: 360px auto, 360px auto;
    }
}

#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a:hover {
    background: #eaf7ff;
    background-color: #eaf7ff;
}

/* =========================================================
   ТАБЛИЦИ
   ========================================================= */

.font-table tr td,
.font-table tr th {
    padding: 24px 9px;
    text-align: left;
    border: none;
    background: #ffffff;
}

.font-table a,
.link {
    color: #3a302e;
}

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

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

/* =========================================================
   МОБИЛНИ КОРЕКЦИИ
   ========================================================= */

@media only screen and (max-width: 1023px) {

    .region-primary-menu {
        clear: both;
        margin-top: 0;
        text-align: center;
        box-shadow: none;
        border-bottom: 1px solid #b4862e;
        background: linear-gradient(to right, #fffce0, #87CEEB, #eaf7c6);
        padding: 5px 0;
    }

    .region-primary-menu .menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .region-primary-menu .menu-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    .region-primary-menu .menu a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        line-height: 1.3;
        text-transform: uppercase;
        color: #01458c;
        background: none;
        border-radius: 0;
        text-shadow: none;
        text-decoration: none;
    }

    .region-primary-menu .menu a:hover,
    .region-primary-menu .menu a.is-active {
        background: #dac376;
        color: #000;
    }

    ul.sf-menu.sf-style-white,
    ul.sf-menu.sf-style-white ul {
        display: block;
        width: 100%;
    }

    ul.sf-menu.sf-style-white li {
        float: none;
        width: 100%;
        background: #ecdd9a;
        border-bottom: 1px solid #d4c47a;
    }

    ul.sf-menu.sf-style-white a,
    ul.sf-menu.sf-style-white span.nolink {
        display: block;
        padding: 12px 15px;
        color: #045364;
        background: transparent;
        font-size: 14px;
        text-align: left;
    }

    ul.sf-menu.sf-style-white li:hover,
    ul.sf-menu.sf-style-white li.sfHover,
    ul.sf-menu.sf-style-white a:hover,
    ul.sf-menu.sf-style-white a:focus {
        background: #dac376;
        color: #000;
    }

    ul.sf-menu.sf-style-white ul {
        display: none;
        position: static;
        width: 100%;
    }

    ul.sf-menu.sf-style-white li:hover > ul,
    ul.sf-menu.sf-style-white li.sfHover > ul {
        display: block;
    }

    .region-header {
        height: auto !important;
        min-height: auto !important;
        padding: 10px 0;
        text-align: center;
    }

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

    .site-branding__text {
        display: block;
        text-align: center;
        margin: 10px auto;
        background-color: transparent;
    }

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

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

    #search-block-form .form-search {
        width: 100%;
    }

    #search-block-form .search-form__submit {
        width: 100%;
        border-radius: 4px;
    }
}

@media only screen and (max-width: 600px) {

    .region-primary-menu .menu a {
        font-size: 13px;
        padding: 10px 12px;
    }

    .region-header .block li {
        font-size: 16px;
    }

    .button-container-top {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}